|
Thanx
You have mentioned that network stream could also be acting asychronously.
But i m not using it asynchronously then how?
|
|
|
|
|
I want to clean up my projects C# source code by removing things (unused functions, variables, parameters etc) which are no longer being used. I could find a tool for VB [^] but not for C# yet.
Can anybody recommend me a good one?
|
|
|
|
|
Visual Studio 2005 includes a static analysis tool that may do the trick. This was previously known as FxCop (well, still is) and is available on http://gotdotnet.com[^].
The important thing to keep in mind, however, is if other assemblies are using that functionality. If you've exposed such entities publicly and you're assemblies are used by third-parties you should go a version or two using the ObsoleteAttribute on those entities and eventually removing them. This will help third-parties maintaining their code to know that soon that functionality will be non-existant in future versions.
If this code is being used by COM clients do not change interfaces that have already been published. This violates certain rules of COM that make allow for newer implementations to implement older interfaces that older clients know about and can use without breaking.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
What about NCover, its primarily used to check for test coverage but can be used for your purposes too I think
|
|
|
|
|
ReSharper[^] is a good really tool.
'A programmer is just a tool which converts caffeine into code'
|
|
|
|
|
I would like to make the font of the selected tab page on my tab control bold. How do I do this?
|
|
|
|
|
You would have to custom draw the tab itself. See http://www.codeproject.com/cs/miscctrl/#Tabs+and+Property+Pages[^] for some potentially helpful articles.
Basically you want to set TabControl.DrawMode to TabDrawMode.OwnerDrawFixed and draw the tabs yourself. If the tab is selected use a Font with Font.Bold set to true .
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
|
You're about 7 weeks to late for Talk like a Pirate Day! It's September 19th.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
|
hello friends
actually i am using picturebox control in my window application and have set there property to transparent.but when i minimise the application and maximise it back,it shows flickering.
|
|
|
|
|
You probably won't be able to stop flickering on the default windows PictureBox. But, you could create your own custom control that is derived from it, and use Control.SetStyle() to enable double buffering, which should eliminate the flicker.
|
|
|
|
|
Hi,
I m having problem in hiding node in treeview..
help pls..
Thanks
|
|
|
|
|
I think you cant actually make a node not visible (as in dissapear it). What you can do, is remove it from the tree. If you need to reference this node later, you can store it in an ArrayList for later use.
Best Regards,
azazel
|
|
|
|
|
removing a node will not help me..
Actually i m loading XML in a treeview and i want to change the value of elements from textboxes....
so, i will be needing childnodes while clicking parentnode but i don't want to display them(childnodes) in treeview
|
|
|
|
|
Do'nt draw the childelements to the treeview, you can store them as XmlElements in the tag property of the parent node and retrieve it when you need
|
|
|
|
|
|
Hai all,
I have created a Dll which i want to place it in GAC so that I can use it in another projects.
I am new to dotnet.
Please show me the way the assemblies are placed in GAC.
SukanyaVarma
|
|
|
|
|
Hello
You need to use gacutil.exe for it.
gacutil.exe /i <assembly_path>
With best regards,
Andrew Kirillov, MCP x 3
Prize winner, August 2005
|
|
|
|
|
The assembly must also be strong named (signed) and you must be an administrator to add strong named assemblies to the GAC because it is a trusted store (and is not subjected to stack walks when checking code-access security).
For information about strong name assemblies, read http://msdn.microsoft.com/library/en-us/cpguide/html/cpconStrong-NamedAssemblies.asp[^] and be sure to follow the "See also" links at the bottom of the page as well.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Thank you Andrew Kirillov,
Thank You Heath Stewart
Thanks for your responses.
With Regards
SukanyaVarma
sukanyavarma
|
|
|
|
|
I am having exception on the line where i am instantiating a TextBox in InitializeComponent() method. The exception is ArithmaticException. This problem is only with TextBox. The application is a WindowsApplication. The additonal information that it gives is of Underflow/overflow. Any help...
|
|
|
|
|
A code sample would help.
Is this code generated by VS.NET? Or is it programmer generated code?
Also, you may want to catch the exception and post the output.
Hope we can be of help,
azazel
|
|
|
|
|
Are there any easily accessible Collision Detection (for 2D and 3d) resources that I could be provided?? I made a 2D game, but the collision detection isn't 100% and I wanted to transfer the game to 3D.
I love to program!
|
|
|
|
|
I think gamedev.net is probably the place to look. Pixel perfect 2D collision detection is easy enough, but I have no idea about 3D, beyond a vague idea of the maths involved.
Christian Graus - Microsoft MVP - C++
|
|
|
|