Hello,
I have been using Vault Pro with VB6 for years on a Windows XP Virtual Machine to maintain a legacy system without issue.
As a part of mitigating some dependencies on unsupported software, I have recently built a new (clean) Windows 11 VM and installed VB6.
Unfortunately, after installing Vault Pro on that VM, VB6 did not recognize Vault Pro as a Source Provider. I got around this by changing the registry key for ProviderRegKey at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SourceCodeControlProvider to "SOFTWARE\SourceGear\VaultPro Client".
This enabled Vault as the source control for VB6 but when I try to do anything that uses Vault, VB6 crashes to desktop with no GUI errors.
I do see errors in the Event log showing the following.
Faulting application name: VB6.EXE, version: 6.0.97.82, time stamp: 0x403acf6c
Faulting module name: VaultIDE.dll, version: 10.2.0.31222, time stamp: 0x62424336
Exception code: 0xc000041d
Fault offset: 0x00007216
Faulting process id: 0x0x958
Faulting application start time: 0x0x1DAFC140B69A80A
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\VB98\VB6.EXE
Faulting module path: C:\Program Files (x86)\SourceGear\VaultPro Client\IDE_Clients\VaultIDE.dll
Report Id: cc52c126-7911-4663-80a8-b071828e8a10
Faulting package full name:
Faulting package-relative application ID:
I have also tried adding a key for the full path to VB6.exe to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SourceGear\VaultPro Client\CLRVersions with values of both v4.0.31319 and v2.0.50727 but this did not help.
Lastly, I tried making a copy of ValutGUIClient.exe.config and renaming it to VB6.exe.config and putting it in the same directory as VB6.exe and making changes to force safe mode for .NET and also enabling logging. This also did not help - and no log files were generated.
At this point I am at a loss as to what to try next. Any help would be greatly appreciated.
Thanks,
Dave
Vault Pro crashing VB6
Re: Vault Pro crashing VB6
Perhaps the following KB article will be useful:
viewtopic.php?p=75284&hilit=vb6+source+code#p75284
Tonya
viewtopic.php?p=75284&hilit=vb6+source+code#p75284
Tonya