Visual Sutdio.net Codes to do "Get" at Vault
Moderator: SourceGear
Visual Sutdio.net Codes to do "Get" at Vault
I'm working on a project in Visual Studio.net and I need to do "Get" at vault on specific dll or lib. I shouldn't use the batch file or any command. Any idea how I can do that. Does anybody have any example for the code?
First of all, thanx for replying quickly!
We have a batch file that starts the vault and does "Get" on the folders.
The command that I'm using is:
"vault" -merge Overwrite -host server: -username user -password password -makewritable -repository "my code" GET " and then folder name.
In my project, which is with MS Visual Studio.Net, I need to code the same concept, but I don't know how. As i Know this command doesn't work in C++. So I'm looking for some examples or samples that show me the way to code with C++ to use Vault.
I hope I'm clear now.
Let me know if you need to have more info.
Cheers
Soody
We have a batch file that starts the vault and does "Get" on the folders.
The command that I'm using is:
"vault" -merge Overwrite -host server: -username user -password password -makewritable -repository "my code" GET " and then folder name.
In my project, which is with MS Visual Studio.Net, I need to code the same concept, but I don't know how. As i Know this command doesn't work in C++. So I'm looking for some examples or samples that show me the way to code with C++ to use Vault.
I hope I'm clear now.
Let me know if you need to have more info.
Cheers
Soody
Here are a couple of resources:
Vault has a Client API that you can download. It includes the source to our Vault Command Line Client. You can examine the code to see how the CLC does a Get.
http://www.sourcegear.com/vault/downloads.html
Also, here's a link to info on how to use the Client API by one of our developers:
http://weblogs.asp.net/jeremy_sheeley/a ... 75860.aspx
Vault has a Client API that you can download. It includes the source to our Vault Command Line Client. You can examine the code to see how the CLC does a Get.
http://www.sourcegear.com/vault/downloads.html
Also, here's a link to info on how to use the Client API by one of our developers:
http://weblogs.asp.net/jeremy_sheeley/a ... 75860.aspx
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager