Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# communicating with SS API. Works but how set working folder/recurs

Status
Not open for further replies.

Insider1984

Technical User
Joined
Feb 15, 2002
Messages
132
Location
US
Well basically I'm using the SS API in Visual Studio. It isn't well documented but I have everything working. I have a tree that populates with the ss database. I also have a custom control that is setup to help us download the right versions without actually need to do it manually inside VSS of 10+ projects and their dependant DLL files.

Basically I'm to the point where I have a directory:

1_dev/project/version/

and I want to download all that to D:\project:

I call

item.Get("D:\\project", VSSFLAG_RECURSYES);

What happends is that I get just the two files (DSP and DSW) in that folder. The rest go out to the desktop (I've cleaned up the workspace so it had no previous working folder).

I see a way around this if I traverse and not use recursive but that seems like a stupid way to fix this. What I'd like is to be able to recursively set the working folder and just use the Get command once.

LOooking through the docs I have, I do not see the ability to change the working folder.

Am I missing a flag? If so, which one?

Also, how do I know the values of the int Constants? A google search found some code that told me it was equal to 8196 (above) but where is a list of all of these?

Thanks!

=====================
Insider
4 year 'on the fly' programmer
C++ Basic Java
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top