Solved

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

Posted on 2014-10-09
5
433 Views
Last Modified: 2014-10-10
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?
0
Comment
Question by:npaun
5 Comments
 
LVL 4

Accepted Solution

by:
Chris Watson earned 500 total points
ID: 40370462
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
 
LVL 1

Expert Comment

by:Andrea Antonangeli
ID: 40370933
When i have to uso VB6 I prefer to use a virtual machine with Windows XP on it.
0
 
LVL 12

Expert Comment

by:jkaios
ID: 40371910
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
 
LVL 12

Expert Comment

by:jkaios
ID: 40371913
Woops, sorry I overlooked Chris' comments.
0
 

Author Comment

by:npaun
ID: 40372783
@Chris Watson
Problem solved!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now