| Business Application Development with: SQL Server, C#, VB, VB.Net, ASP, ASP.Net, and XML |
| N | S |
Novick Software Management • Design • Programming • Training • Consulting |
|
|
News Links Schedule Site Map Contact |
|
Tips and Tricks for: Visual Studio.Net, VB.Net, C#
The Problem: Visual Studio.Net doesn't have an easy way to find all occurrences of a class or method.Sometimes searching the text of your program for a string match, particularly for method names, isn't very valuable because there are several methods that match the string. Solution: Change the name by adding an X at the end. Then use the "Task List" to locate all references.That's right. Just screw up the name by adding X (or something else) at the end and the automatic compilation feature of Visual Studio will show all the places where there are compiler errors, which will be at every reference to the class or method. Don't forget to go back and fix the name once you're done. Thanks to John Giudice of Grove Network for this tip. John is interested in collaborative software. His site is http://www.teaminfocenter.com BTW, Visual Studio 2005 (a.k.a. Whidbey) will have a way to change a class name or method based on the object definition. Let's hope they use this technology as a way to find where the class or method is used. ......
|
|
|
Copyright © 2003-2008 Novick Software, Inc. | Terms of Use | Privacy Policy | Nice Things People Say| |