VB BUGS &
Last Updated : September 29, 2000
Do you have a bug that you've found with VB 5 or 6? If so, Email it to me along with any fixes or work arounds you've found for it and I'll post it. Make sure to describe the bug and fix... and include the version of VB the bug is in.
|Work Around / Fix:
|If you copy anything to the clipboard... text, a picture, etc. then open Visual Basic, the contents of the clipboard are erased and replaced with a small picture. If you open up MS Paintbrush and press <CTRL>+V, you can see the picture
caused by the VB 5/6 Resource Editor Plug-In. It copies the icon to the clipboard to
insert it into the VB toolbar, but fails to restore the clipboard to its previous state
after doing so.
To get around this, simply load the RES Editor only when you need it, and unload it after you're done.
|5.0 / 6.0
|Once in a while when you start Visual Basic, you can not use hot keys like <CTRL>+C, <CTRL>+V, <CTRL>+<SPACE>, etc.
|Go into the code section behind any form, module, etc. and click the "Find" icon in the toolbar, or go to the Edit menu and select "Find". I have no idea why this fixes it, but it does.
|Once in a while when you start Visual Basic, if you try to access the code behind an object on a form by double clicking it... nothing happens!
|Go into the code section behind the form and click the "Find" icon in the toolbar, or go to the Edit menu and select "Find". I have no idea why this fixes it, but it does.
|Once in a while if you minimize VB, then maximize it... you can't see anything except the titlebar of VB.
|Double click on the titlebar to "restore" the window, then double click on the titlebar again to "maximize" it back. VB will not be visible.
|5.0 / 6.0
|Sometimes after programming for a while, VB will start to freak out and give odd errors like "Requires constant expression" when a constant is being used... errors that don't make sense.
|The only way I've seen to fix this is try to save what you have, shut down VB, wait a second, then restart it and reopen your project. If that doesn't work, restart your computer and get back into VB.
|In debug mode, if you click on a object property that has a drop-down available to select properties from, then scroll up or down using a MS Intellimouse wheel movement... that property seems to "FLOAT" up and down to follow your scrolling until you click on another property - at which time the floating property value goes away.
|This is obviously a BUG on Microsoft's part and the only work around I have found for this is manually scroll the properties by grabbing the ScrollBar.
|If you play a game that uses DirectX, then shut down that game, then start up Visual Basic, all the Forms, UserControls, and Property Pages in design-time come up all BLACK regardless of what the .BackColor property is set to.
obviously a BUG on Microsoft's part and the only work around I have found for this is to
restart your computer.
You don't need a
full restart, a soft restart works just fine too. To do this:
|5.0 / 6.0
I'll be adding more bugs as I find them. Stay tooned...
MAIN | DOWNLOADS | SAMPLE CODE | STEP BY STEP | DISCUSSION BOARD | LINKS | AUTHOR