This week's Visual Basic e-newsletter describes how to save time with the API Text Viewer in VB6. Do you plan to use the API Viewer utility, as described in this tip? What time-saving VB hints would you like to share with your peers?
I use the win.tlb for the Api definitions. Just include it in the project references and then access virtually any function or constant as you require. I say virtually because it doesn't contain all the functions defined. But according to http://www.mvps.org/vb/hardcore/html/whatistypelibrary.htm, the win.tlb file contains "over 700 function entries focused specifically on those functions Visual Basic programmers are most likely to need".
Mind you the Api text viewer still has its uses for determining values of defined constants!
I did not know about win.tlb and it does look useful. Unfortunately it is not part of Visual Basic but rather is provided on the CD that comes with a specific VB book. I did not find a place to download it. This means it is not usable except by people who bought that book. If you know of a public download source can you please post it?
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Save time with the API Text Viewer
If you aren't subscribed to the free Visual Basic e-newsletter, you can automatically subscribe to it by pasting the following URL into your browser:
http://nl.com.com/MiniFormHandler?brand=builder&subs_channel=bldr_front_door&list_id=e065&tag=fb
* Please delete any extra spaces that appear when you paste this URL into your browser.