Sluggish VB6 IDE (controls drawwing, resizing…) on Windows 7

When VB6 IDE is used on Windows 7, it seems it is rather sluggish when controls are drown or moved on forms: the drawing/moving “preview” rectangle is slow to redraw and somehow “jerky”, which is annoying. Why, and is there a way to improve this behavior?
npaunAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Chris WatsonConnect With a Mentor Software DeveloperCommented:
I get this too. The majority of the IDE is fine, the code editor especially has no performance issues; it's only the form designer that I've noticed to be "jerky". We have found that using the compatibility options resolves the issue. In the properties for the VB6.EXE file, click on the Compatibility tab and check "Disable desktop composition". Other settings may also help, but this is what has worked for us.
0
 
Andrea AntonangeliCommented:
When i have to uso VB6 I prefer to use a virtual machine with Windows XP on it.
0
 
jkaiosIT DirectorCommented:
Please try these steps on your Windows 7 machine:

1. right click on Microsoft Visual Basic 6.0 shortcut (or the actual VB6.exe in ["C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE"])

2. select Properties

3. click on the Compatibility tab

4. click (to place a checkmark) on "Disable desktop composition" under Settings

5. click Apply/OK

6. launch Visual Basic again and you should be able to move controls freely on a form

The only side effect is that it will change your desktop/Windows theme (if using Aero) to classic, but once all instances of Visual Basic are closed, the original Windows theme will return to normal.
0
 
jkaiosIT DirectorCommented:
Woops, sorry I overlooked Chris' comments.
0
 
npaunAuthor Commented:
@Chris Watson
Problem solved!
0
All Courses

From novice to tech pro — start learning today.