Help contents
Find
The Find window offers an extended code search capability. You can search for code, comments or the name of a program object.
Press Ctrl+F to open the Find window. You can also use F3 to Find again.
Find options
- Procedure
- Find procedure name. You can also search in binaries (DLL, COM procedures).
- Variable
- Find variable name.
- Constant
- Find constant name.
- Type or Enum
- Find Type (UDT) or Enum name.
- Code
- Find text in code, but not in comments or string literals. Note on string literals: You cannot search for quoted "abc" with this option, use Any text instead.
- Comment
- Find text in comments only.
- Any text
- Find text in any of code, comments and string literals.
You can use the following wildcards in the search:
* matches any string.
? matches any single character.
# matches any single digit [0-9].
[ax-z] matches a single character in the character list.
You can use VB6's Like operator syntax.
Double-click a search result to view it. Press the Report button to create a report of the search results.
Suggested uses
- Search for code that was commented out
- When you need to find certain code that has been commented out earlier, use the Comment search option.
- Search for code that was not commented out
- Use the Code search option to ignore comments (and any code in them).
- List API callback functions
- Find AddressOf in code. This works mainly with classic VB, which doens't use
AddressOf for any other purpose.
- List Operators or Custom Events
- Find Operator or Custom in code.
- Locate all compound operators used (
+= etc.)
- Find [-+\/*^&]= in code. This does not find
<<= or >>= though.
See also
Listings windows and the Constants and Enums window let you search for procedures, constants, enums, variables, parameters and modules in a more detailed way.
©Aivosto Oy - Project Analyzer Help Contents