









Copy the contents of the screen or the active window
The standard way to copy the contents of the screen or a window to a picture box requires you to use a lot of API functions, such as BitBlt. A
The standard way to copy the contents of the screen or a window to a picture box requires you to use a lot of API functions, such as BitBlt. A
Many VB developers know that they should specify a DLL Base Address value – in the Compile tab of the Project Properties dialog box – that is different from the
Here’s a little programming tip that will save you hours of headacheslater.Most of us already indent our Ifs, Selects, Do…Loops, etc., and that is good. But suppose you have some
The Microsoft manuals preach that all the compiler options in the Advanced Optimization dialog box are to be considered unsafe, in that they might lead to incorrect results (or just
If you aren’t satisfied with the standard Beep command (who is?) you can use the Beep API function instead, that lets you control both the frequency (in Hertz) and the
VB5 and VB6 environments include a pair hidden commands that let you remark and unremark a group of statements. These commands are hidden in the sense that they can be
If you load a VB6 project file in the VB5 environment you get a warning, even though the project is correctly loaded. The cause of the warning is a VB6
At times you’d like to save all the current settings of the Visual Basic environment and restore them afterwards. For example, you may want to alternate between the MDI environment
When you close a VB IDE session, VB saves the code but doesn’t save the current set of breakpoints. If you need (non-conditional) breakpoints to persist among sessions, don’t use