 |
 |

04-07-2008, 12:33 PM
|
|
Newcomer
|
|
Join Date: Aug 2007
Posts: 14
|
|
VB6 and Vista
|
Hi there,
I want to install vb6 under vista but it doesnt work. I know that vb6 and vista are not compatible but I still hope there is a solution. Can anyone help me?
Thanks in advance!
Valeri
|
|

04-07-2008, 03:08 PM
|
|
Contributor
|
|
Join Date: Oct 2004
Posts: 629
|
|
|
VB6 and Vista are "compatible", if you follow these steps:
1) Install VB6 by exploring the CD and then right-click the setup file and select "Run as Administrator".
2) Install the latest Service Pack using "Run as Administrator"
3) After VB6 is installed, right-click on the VB6 icon and click Properties. On the Compatibility tab select "Run this program as an administrator", "Disable Desktop Composition" and "Run this program in compatibility mode for Windows XP (Service Pack 2)". Then click OK.
Once you've completed those steps, VB6 should work under Vista (I am using it on my computer using these settings).
|
|

04-07-2008, 03:49 PM
|
 |
Underclocked lifestyle
Forum Leader * Guru *
|
|
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,184
|
|
Indeed. See Support Statement for Visual Basic 6.0 on Windows®Vista™and Windows®Server 2008™ in regard to the status of VB6.
In particular note that Microsoft has made no promises of IDE support after April 8, 2008 though. This means future patches and service packs might break IDE functionality.
The fallback position is to be sure one has a retail copy of Windows XP Pro that could be installed for VB6 development. Either a hardware machine or a virtual machine might be used for this purpose. Windows 2000 is not an entirely viable alternative for Vista development for a number of reasons.
|
|

04-08-2008, 06:38 AM
|
|
Newcomer
|
|
Join Date: Aug 2007
Posts: 14
|
|
Quote:
Originally Posted by JPB
VB6 and Vista are "compatible", if you follow these steps:
1) Install VB6 by exploring the CD and then right-click the setup file and select "Run as Administrator".
2) Install the latest Service Pack using "Run as Administrator"
3) After VB6 is installed, right-click on the VB6 icon and click Properties. On the Compatibility tab select "Run this program as an administrator", "Disable Desktop Composition" and "Run this program in compatibility mode for Windows XP (Service Pack 2)". Then click OK.
Once you've completed those steps, VB6 should work under Vista (I am using it on my computer using these settings).
|
do you mean: I should install the newest service pack for XP (Service Pack 3)?
The other problem is that i can run the program but there#re some elements like Charts ot Tabs that are not recognized.
|
|

04-08-2008, 07:26 AM
|
 |
Lost Soul
Super Moderator * Guru *
|
|
Join Date: May 2001
Location: Vorlon
Posts: 18,885
|
|
|
What do you mean with Charts or Tabs are not recognized?
Does the VB6 starts?
Do you have problems with older projects?
|
|

04-08-2008, 07:37 AM
|
|
Newcomer
|
|
Join Date: Aug 2007
Posts: 14
|
|
Quote:
Originally Posted by Flyguy
Do you have problems with older projects?
|
ja! I have been designing an app for the last two years with VB6. Now I bought a new notebook with Vista and I can not open my project. But I can run VB6.exe without any problems as admin. When I try to load some of the forms I get the following log messages:
Line 13: Cannot load control CommonDialog1; license not found.
Line 21: Property OleObjectBlob in MSChart1 could not be set.
Line 13: Cannot load control MSChart1; license not found.
|
|

04-08-2008, 08:12 AM
|
 |
Lost Soul
Super Moderator * Guru *
|
|
Join Date: May 2001
Location: Vorlon
Posts: 18,885
|
|
|

04-08-2008, 09:24 AM
|
|
Newcomer
|
|
Join Date: Aug 2007
Posts: 14
|
|
Quote:
Originally Posted by Flyguy
|
ok I did! I registered every single control. But it still doesnt work!
I will try to reinstall VB6. I didnt quite understand what kind of Service Pack should I have in order to run it?
|
|

04-08-2008, 09:32 AM
|
 |
Lost Soul
Super Moderator * Guru *
|
|
Join Date: May 2001
Location: Vorlon
Posts: 18,885
|
|
|
The support page is not about registering the controls manually but about fixing the license problems.
What edition of VB6 did you have on your previous machine and what version do you have installed on Vista (Learning, Pro, Business)
SP6 is the latest service pack.
|
|

04-08-2008, 09:48 AM
|
|
Newcomer
|
|
Join Date: Aug 2007
Posts: 14
|
|
Quote:
Originally Posted by Flyguy
The support page is not about registering the controls manually but about fixing the license problems.
What edition of VB6 did you have on your previous machine and what version do you have installed on Vista (Learning, Pro, Business)
SP6 is the latest service pack.
|
its the same version.
How can I fix the license problems?
|
|

04-08-2008, 10:57 AM
|
 |
Underclocked lifestyle
Forum Leader * Guru *
|
|
Join Date: Feb 2005
Location: Michigan, USA
Posts: 4,184
|
|
|
Are you sure that VB6 is running "as admin" when you open your project?
I don't think you're offered that as a context menu choice on VBP files. This means you'd either need to have set "run as admin" on VB6.exe through the appcompat properties or via an elevation manifest... or maybe by starting the IDE from an elevated command prompt.
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|