Browsing Visual Basic 6
Get number of days from month (one Line)
Get number of days from any date.
Find FULL App Path + App Extension!
This simple 10 lines of code (including 1 API call) will return the FULL application path INCLUDING the application extension.
Print Layout
This piece of code loops through the controls on a form and sends the contents to the default printer in a layout similar to the screen.
Image Resize / Aspect Ratio
If you want to load an image and resize it maintaining the original aspect ratio, this is simple, short and works.
How to make VB EXEs under 5K
This article will give you some tips and tools to squeeze those big 16/20/32K executables that VB makes when you only use one or two functions and get them to sizes as low as 1.
Get Outlook 2002 Contact Info
I wrote a program that gets contacts from Outlook, although it worked in Outlook 2000, it did not work in 2002.
a - Navigate And Wait
Navigate a web browser and wait for it to finish loading before going on to the next line of code!Original Author: Brogan Scott Houston McIntyreAssumptionsYou need to have a web browser called WebBrowser1.