I am trying to migrate to Windows 7.
I have Windows 7 64 bit professional. I have installed VB6 and Source Gear Vault (4.1.1 18402).
Both programs run correctly on their own.
I have have ensured that in the registry there is an entry for SourceGear Vault Classic Client (Software\SourceGear\Vault Client) and ProviderRegKey (Software\SourceGear\Vault Client).
When I run VB 6, I run it as administrator, and tell it to run in Compatibility Mode for Windows X2 SP2.
However, whenever I go into Tools/Source Gear Vault/Create project from SourceGear Vault, VB 6 crashes on me.
It tells me Visual Basic has stopped working.
Any idea why this may be?
When debugging, it tells me the Call Stack Location is:
VaultIDE.dll!10006a0a()
Unhandled exception at 0x10006a0a in VB6.EXE: 0xC0000005: Access violation reading location 0x00000000.
VB6 crashes when opening from Source Control in Windows 7
Moderator: SourceGear
Re: VB6 crashes when opening from Source Control in Windows
I can give you some ideas to try, but Vault 4.1.x is not supported on Windows 7. Also, I don't think the 1.1 .NET framework is fully supported on Windows 7, which is required for integration with VB6. Microsoft also doesn't support all parts of VB6 on Windows 7.
I'll give you the list of things to try, but can't guarantee functionality.
1) Install 1.1 .NET framework
2) Make sure that service pack 6 for VB6 is installed, or install it.
3) regsvr32 vbscc.dll
4) Find vbaddin.ini (C:Windows) and add vbscc=3.
5) Set Vault to default SCC in the Vault GUI client under Tools - Options - General.
6) Change registry settings.
....7a) In the registry, under HKEY_LOCAL_MACHINE\Software\Wow6432Node\SourceCodeControlProvider and add a string and call it ProviderRegKey and give it the data SOFTWARE\SourceGear\Vault Client.
....7b) In the registry, under HKEY_LOCAL_MACHINE\Software\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders, change the key that might list the Vault VS 2003 Compatible Client to read as SourceGear Vault Classic Client and give it the data of SOFTWARE\SourceGear\Vault Client
I'll give you the list of things to try, but can't guarantee functionality.
1) Install 1.1 .NET framework
2) Make sure that service pack 6 for VB6 is installed, or install it.
3) regsvr32 vbscc.dll
4) Find vbaddin.ini (C:Windows) and add vbscc=3.
5) Set Vault to default SCC in the Vault GUI client under Tools - Options - General.
6) Change registry settings.
....7a) In the registry, under HKEY_LOCAL_MACHINE\Software\Wow6432Node\SourceCodeControlProvider and add a string and call it ProviderRegKey and give it the data SOFTWARE\SourceGear\Vault Client.
....7b) In the registry, under HKEY_LOCAL_MACHINE\Software\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders, change the key that might list the Vault VS 2003 Compatible Client to read as SourceGear Vault Classic Client and give it the data of SOFTWARE\SourceGear\Vault Client
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: VB6 crashes when opening from Source Control in Windows
Any suggestions for this?
I get the same exact issue - VB6 crashes when trying to "Create Project from SourceGear Vault" in the tools menu of VB6.
Crash says " Visual Basic has stopped working"
Both Vault and VB6 run just fine on their own. And I have done all of the recommendations for getting VB6 integration working on Windows 7. It superficially appears to work, but when you try to actually use it - boom.
My config:
Win 7 64
VB6 SP6
Vault 5.0.4
I get the same exact issue - VB6 crashes when trying to "Create Project from SourceGear Vault" in the tools menu of VB6.
Crash says " Visual Basic has stopped working"
Both Vault and VB6 run just fine on their own. And I have done all of the recommendations for getting VB6 integration working on Windows 7. It superficially appears to work, but when you try to actually use it - boom.
My config:
Win 7 64
VB6 SP6
Vault 5.0.4
Re: VB6 crashes when opening from Source Control in Windows
If you're using Vault 4.1.4 like the previous user was, be aware that version is not supported on Windows 7.
Here's a better way of running Vault on Windows 7 with VB6.
Here's a better way of running Vault on Windows 7 with VB6.
- 1) In the Vault program files directory, find the file called VaultGUIclient.exe.config.
2) Make a copy of the .config file and rename it to vb6.exe.config.
3) Edit the vb6.exe.config file so that right after the <configuration> tag, you'll have the following:- <startup>
<supportedRuntime version="v2.0.50727"/>
<requiredRuntime version="v2.0.50727" safemode="true"/>
</startup>
5) Copy the config file to the VB6 program files directory. You should see VB6.exe in the same directory. - <startup>
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: VB6 crashes when opening from Source Control in Windows
Btw - I just wanted to report that this solution does work. Thanks very much.
Re: VB6 crashes when opening from Source Control in Windows
You're welcome, and thank you for the update.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support