|
-
Nov 16th, 2011, 05:10 AM
#1
Thread Starter
New Member
VB6 Not Working On Windows 7

I've have developed a program in visual basic 6 (Which uses user contols which call API functions such as user32.dll and other standard dlls) as part of my computing A Level but i'm now having problems getting it functioning in my colleges new Windows 7 Computers. It works fine on the old windows XP computers but they are planning to upgrade all computers to Windows 7. The sytem administrator is adamant that it should work but I have attempted on my Windows Server 2008 R2 computer at home and it doesn't work there either (Visual Studio.Net works fine) I think it is because vb6 is a 32 bit program and the new computers have 64 bit processers and there is some incompatiblity isssue between WOW64 and VB6 but I do not know what the cause of the probelm is. Plese can someone tell me how to resolve this issue.
-
Nov 16th, 2011, 10:22 AM
#2
Re: VB6 Not Working On Windows 7
People are running and even compiling VB6 programs under WOW64 with no problems. Since almost no software comes in 64-bit versions (including Visual Studio) Windows wouldn't be very useful otherwise.
-
Nov 16th, 2011, 11:18 AM
#3
Re: VB6 Not Working On Windows 7
Could you provide more details than "having problems getting it functioning in my colleges new Windows 7 Computers"?
Are there specific issues, errors, etc.?
-
Nov 16th, 2011, 12:20 PM
#4
Re: VB6 Not Working On Windows 7
Its working fine on my computer with Windows 7 Pro 64 bit. At first I had the same issues. I just had to look it up and I found the solution here:
How to get VB6 working on Windows 7
Also for DirectX stuff since I always code with that, I had to manually register the dx7vb.dll and dx8vb.dll's through regsvr32.exe in the C:\Windows\SysWOW64 folder.
Last edited by Jacob Roman; Nov 16th, 2011 at 12:25 PM.
-
Nov 17th, 2011, 09:28 AM
#5
Thread Starter
New Member
Re: VB6 Not Working On Windows 7

Sorry for not being specific:-
The controls phase in and out and flicker lots, some dissappear,
Form freezes and some controls only appear on mouseover (No event handler)
-
Nov 17th, 2011, 09:58 AM
#6
Re: VB6 Not Working On Windows 7
Well if you would have read the bottom of that link you would have seen this:
Code:
You might notice after successfully installing VB6 on Windows 7 that working in the IDE is a bit,
well, sluggish. For example, resizing objects on a form is a real pain.
After installing VB6, you'll want to change the compatibility settings for the IDE executable.
Using Windows Explorer, browse the location where you installed VB6. By default,
the path is C:\Program Files\Microsoft Visual Studio\VB98\
Read more: http://www.fortypoundhead.com/showcontent.asp?artid=20502#ixzz1dyVIc9al
Right click the VB6.exe program file, and select properties from the context menu.
Click on the Compatibility tab.
Place a check in each of these checkboxes:
Run this program in compatibility mode for Windows XP (Service Pack 3)
Disable Visual Themes
Disable Desktop Composition
Disable display scaling on high DPI settings
-
Nov 17th, 2011, 12:35 PM
#7
Re: VB6 Not Working On Windows 7
I find that disabling desktop composition and running elevated takes care of all IDE woes myself.
Don't use a Common Controls 6.0 manifest ("XP styles" as people still want to call it) with the IDE. It isn't worth the gain in appearance at design time because of the well-known blacked-out option/check boxes issue.
-
Nov 21st, 2011, 05:44 AM
#8
Thread Starter
New Member
Re: VB6 Not Working On Windows 7
 Originally Posted by Jacob Roman
Well if you would have read the bottom of that link you would have seen this:
Code:
You might notice after successfully installing VB6 on Windows 7 that working in the IDE is a bit,
well, sluggish. For example, resizing objects on a form is a real pain.
After installing VB6, you'll want to change the compatibility settings for the IDE executable.
Using Windows Explorer, browse the location where you installed VB6. By default,
the path is C:\Program Files\Microsoft Visual Studio\VB98\
Read more: http://www.fortypoundhead.com/showcontent.asp?artid=20502#ixzz1dyVIc9al
Right click the VB6.exe program file, and select properties from the context menu.
Click on the Compatibility tab.
Place a check in each of these checkboxes:
Run this program in compatibility mode for Windows XP (Service Pack 3)
Disable Visual Themes
Disable Desktop Composition
Disable display scaling on high DPI settings
I'm at college, I can't access that stuff
-
Nov 21st, 2011, 09:05 AM
#9
Re: VB6 Not Working On Windows 7
Have a professor with administrator privileges do it for you
-
Nov 23rd, 2011, 05:38 AM
#10
Lively Member
Last edited by yasrab; Nov 23rd, 2011 at 05:48 AM.
-
Nov 24th, 2011, 02:19 AM
#11
Lively Member
Re: VB6 Not Working On Windows 7
i also have the problem during installation of vb 6 program in windows 7 and found a error "Visual basic 6.0 setup toolkit has stopped working."
also i added some mentioned files in the setup from the link which i got in this forum:
http://support.microsoft.com/default...;EN-US;q248055
however setup still gives the above mentioned error .
thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|