VB BUGS & WORK-AROUNDS
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.

  Bug Description:   Work Around / Fix:   VB Ver:   Reported By:
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 This is 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 Kevin Wilson
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. 5.0 Kevin Wilson
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. 5.0 Kevin Wilson
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 Kevin Wilson
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. 5.0 Kevin Wilson
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. 6.0 Kevin Wilson
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. This is 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:
  - Click the START button
  - Select "Shut Down..."
  - Select "Restart"
  - Hold the right or left <SHIFT> key
  - Click the OK button
  - Release the <SHIFT> key

5.0 / 6.0 Kevin Wilson

    

I'll be adding more bugs as I find them.   Stay tooned...

    


MAIN   |  DOWNLOADS  |  SAMPLE CODE  |  STEP BY STEP  |   DISCUSSION BOARD  |  LINKS  |  AUTHOR
E-MAIL