VB6 freezes whenever Connect to Server window opens

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Woz
Posts: 2
Joined: Tue May 01, 2012 7:58 pm

VB6 freezes whenever Connect to Server window opens

Post by Woz » Tue May 01, 2012 8:58 pm

I'm getting an issue in VB6 whenever I select either of these options:
Tools -> SourceGear Vault -> Create Project from SourceGear Vault
Tools -> SourceGear Vault -> Options -> Advanced (button)

As soon as the SourceGear Vault "Connect to Server" window opens, it locks up as if the window is disabled. I can't click anywhere on the "Connect to Server" window or anywhere else in the VB6 IDE window (I get the same warning sound everywhere). I have tried giving it a few minutes to sort itself out - in case it was running slowly - but it remains locked up. All I can do is close VB6 from Task Manager.

So I am prevented from opening a new project from Source Control.

The last time I had it working I was running Windows XP SP2. I have since applied Windows XP SP3. I have tried reinstalling the Vault client but it didn't make any difference.

Is there anything else I can do to try to resolve this?

More details of my setup:
Windows XP SP3
VB6 SP6
SourceGear Vault client Version 4.0.4 (15848)

Any help would be appreciated. Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VB6 freezes whenever Connect to Server window opens

Post by lbauer » Wed May 02, 2012 8:15 am

I wasn't able to reproduce it with Vault 5.1.2. It could be the Vault version or it could be somethng specific to your machine.

I'll see if we can reproduce this with Vault 4.0.4 on XP SP3.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VB6 freezes whenever Connect to Server window opens

Post by lbauer » Thu May 03, 2012 12:28 pm

Can't reproduce it with Vault 4.0.6, which is the only 4.0.x version on our downloads page. It may be something specific to your machine or project.

I'd suggest we schedule a remote assist session where I can take a closer look. Email support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

Woz
Posts: 2
Joined: Tue May 01, 2012 7:58 pm

Re: VB6 freezes whenever Connect to Server window opens

Post by Woz » Thu May 03, 2012 6:19 pm

After further investigation I found a solution. I tried the solution suggested by this post:
http://support.sourcegear.com/viewtopic.php?f=5&t=14740
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>
4) Save and close the vb6.exe.config.
5) Copy the config file to the VB6 program files directory. You should see VB6.exe in the same directory.

Now open VB6 and try it.
And it is now working. I guess its another variation of the same problem. Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: VB6 freezes whenever Connect to Server window opens

Post by lbauer » Thu May 03, 2012 10:44 pm

Thanks for the update. Glad that worked for you!
Linda Bauer
SourceGear
Technical Support Manager

Post Reply