Trouble hooking up to an existing vb6 project

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Trouble hooking up to an existing vb6 project

Post by christian » Tue Feb 01, 2005 6:38 am

I'm having trouble hooking up to an existing vb6 project from the VB6 IDE. Note: I've set Vault as my default source control provider from the vault GUI.

Here are the symptoms I'm experiencing:
Open the Vault client;
Perform a recursive Get on one of the folders below the root project (eg $/Mainline/Build);
Goto explorer and open a vb6 project file (vbp) that happens to be in a subfolder in the working directory for the above Vault folder;
I get a dialog asking me whether I want to add the project to Vault.

Instead, the IDE should have recognised that it’s an existing Vault project.
What's going wrong?

Thanks
Christian

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Feb 01, 2005 8:44 am

Try doing an Open From Source Control (or the equivalent in VB6) from within the IDE. Doing a Get from the GUI client doesn't make the bindings/connections necessary for the IDE to recognize it as an IDE-controlled project on the local machine, so you have to do an initial Open from Source Control to set up the bindings. After that, Gets from the GUI client will work fine.

christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Post by christian » Tue Feb 01, 2005 8:56 am

Hmm, can't seem to find the equivalent VB6 menu to "Open From Source Control".

Looking at the SourceGear Vault menu added to the tools menu in vb6 ide I see the following options:
- Create Project from SourceGear Vault
- Add project to SourceGear Vault
- Run SourceGear Vault [GUI]
- Options

Nothing that mentions opening a project.

Also, what's the reasoning behing NOT adding the binding file into the working directory on a Get. To me this looks to be a bad decision but then I don't have the inside track on Vault dev.

Thanks
Christian

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Feb 01, 2005 9:17 am

"Create project from Vault" is the VB6 equivalent of VS 2003's Open Project.

christian
Posts: 202
Joined: Tue Sep 14, 2004 1:02 pm
Location: UK

Post by christian » Tue Feb 01, 2005 9:31 am

Cool, thanks Dan.

Question still stands :-)

Locked