Solved

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

Posted on 2014-10-09
5
522 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

617 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