Solved

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

Posted on 2014-10-09
5
411 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Woops, sorry I overlooked Chris' comments.
0
 

Author Comment

by:npaun
Comment Utility
@Chris Watson
Problem solved!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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

10 Experts available now in Live!

Get 1:1 Help Now