473,394 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Is this possible??

I have been asked to write an application that will back
up certain VS .NET projects to Visual Source Safe. The
developer would select projects and click a button and the
application is supposed to just back them up to VSS.

Can this be done? I've been searching on Google and maybe
I'm typing in the wrong search string, but I can't find
anything on this.

Jul 21 '05 #1
8 1206
Sure this is possible? You can "talk" to VSS through a COM component. If you
need source code, I would advice you to check out this open source project:
http://hipponet.sourceforge.net

It connects to VSS to get the latest version and start a build process. If
you have any questions about the source code, please ask me.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Angela" <An*************@globalcrossing.com> schreef in bericht
news:0b****************************@phx.gbl...
I have been asked to write an application that will back
up certain VS .NET projects to Visual Source Safe. The
developer would select projects and click a button and the
application is supposed to just back them up to VSS.

Can this be done? I've been searching on Google and maybe
I'm typing in the wrong search string, but I can't find
anything on this.

Jul 21 '05 #2
Cant you just script it using the Dos commands and pull out based on the
label.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:ei**************@TK2MSFTNGP10.phx.gbl...
Sure this is possible? You can "talk" to VSS through a COM component. If you need source code, I would advice you to check out this open source project: http://hipponet.sourceforge.net

It connects to VSS to get the latest version and start a build process. If
you have any questions about the source code, please ask me.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Angela" <An*************@globalcrossing.com> schreef in bericht
news:0b****************************@phx.gbl...
I have been asked to write an application that will back
up certain VS .NET projects to Visual Source Safe. The
developer would select projects and click a button and the
application is supposed to just back them up to VSS.

Can this be done? I've been searching on Google and maybe
I'm typing in the wrong search string, but I can't find
anything on this.


Jul 21 '05 #3
Mmmm, I *think* this is possible, but I don't know how...

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
<di********@discussion.microsoft.com> schreef in bericht
news:eu**************@tk2msftngp13.phx.gbl...
Cant you just script it using the Dos commands and pull out based on the
label.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:ei**************@TK2MSFTNGP10.phx.gbl...
Sure this is possible? You can "talk" to VSS through a COM component. If

you
need source code, I would advice you to check out this open source

project:
http://hipponet.sourceforge.net

It connects to VSS to get the latest version and start a build process. If you have any questions about the source code, please ask me.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"Angela" <An*************@globalcrossing.com> schreef in bericht
news:0b****************************@phx.gbl...
I have been asked to write an application that will back
up certain VS .NET projects to Visual Source Safe. The
developer would select projects and click a button and the
application is supposed to just back them up to VSS.

Can this be done? I've been searching on Google and maybe
I'm typing in the wrong search string, but I can't find
anything on this.



Jul 21 '05 #4
Hello Angela,

Thanks for your post. As I understand, you want to add VS .NET projects to
Visual SourceSafe programmatically. Though I do not know the exact
interfact of your program, I'd like to share the following information with
you:

1. If the project is opened in VS .NET IDE, you can select the menu "File"
-> "Source Control" -> "Add Project from Source Control" to achieve it.

2. If you are given a project file (say, .csproj file), you may need to
open the project file, get a list of files in the project, and use either
VSS command line or VSS automation to create a folder and add files to it
in VSS. Please refer to the following MSDN documentation for detailed
information:

Visual SourceSafe: Use Command Line Commands and Options
http://msdn.microsoft.com/library/de...us/guides/html
/vstskuse_command_line_commands_and_options.asp

Visual SourceSafe 6.0 Automation
http://msdn.microsoft.com/library/de...us/dnvss/html/
vssauto.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5
thank you for your response.

What I have been asked to do is create an application that
will allow a developer to select (from a list) a solution
to build, then the newly built solution should be "backed
up" in VSS, meaning they want it to check out the solution
in VSS, apply a version label to it and then check it back
in. THey would like all of this to be done by clicking a
button in this application.

Is this possible?? I have found a way to check files out,
but I haven't found a way to apply a version label or
check files in.

-----Original Message-----
Hello Angela,

Thanks for your post. As I understand, you want to add VS .NET projects toVisual SourceSafe programmatically. Though I do not know the exactinterfact of your program, I'd like to share the following information withyou:

1. If the project is opened in VS .NET IDE, you can select the menu "File"-> "Source Control" -> "Add Project from Source Control" to achieve it.
2. If you are given a project file (say, .csproj file), you may need toopen the project file, get a list of files in the project, and use eitherVSS command line or VSS automation to create a folder and add files to itin VSS. Please refer to the following MSDN documentation for detailedinformation:

Visual SourceSafe: Use Command Line Commands and Options
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/guides/html/vstskuse_command_line_commands_and_options.asp

Visual SourceSafe 6.0 Automation
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnvss/html/vssauto.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #6
thank you for your response.

What I have been asked to do is create an application that
will allow a developer to select (from a list) a solution
to build, then the newly built solution should be "backed
up" in VSS, meaning they want it to check out the solution
in VSS, apply a version label to it and then check it back
in. THey would like all of this to be done by clicking a
button in this application.

Is this possible?? I have found a way to check files out,
but I haven't found a way to apply a version label or
check files in.

-----Original Message-----
Hello Angela,

Thanks for your post. As I understand, you want to add VS .NET projects toVisual SourceSafe programmatically. Though I do not know the exactinterfact of your program, I'd like to share the following information withyou:

1. If the project is opened in VS .NET IDE, you can select the menu "File"-> "Source Control" -> "Add Project from Source Control" to achieve it.
2. If you are given a project file (say, .csproj file), you may need toopen the project file, get a list of files in the project, and use eitherVSS command line or VSS automation to create a folder and add files to itin VSS. Please refer to the following MSDN documentation for detailedinformation:

Visual SourceSafe: Use Command Line Commands and Options
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/guides/html/vstskuse_command_line_commands_and_options.asp

Visual SourceSafe 6.0 Automation
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnvss/html/vssauto.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #7
Hello Angela,

Thanks for your response. Please take a look at Label and Checkin options:

Visual SourceSafe: Label (Command Line)
http://msdn.microsoft.com/library/de...us/guides/html
/vsgrfss_label.asp

Visual SourceSafe: Checkin (Command Line)
http://msdn.microsoft.com/library/de...us/guides/html
/vsgrfss_update.asp

BTW, in the future, it would be best to post VSS questions in the following
newsgroup:
microsoft.public.vsnet.vss

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #8
Hello Angela,

Thanks for your response. Please take a look at Label and Checkin options:

Visual SourceSafe: Label (Command Line)
http://msdn.microsoft.com/library/de...us/guides/html
/vsgrfss_label.asp

Visual SourceSafe: Checkin (Command Line)
http://msdn.microsoft.com/library/de...us/guides/html
/vsgrfss_update.asp

BTW, in the future, it would be best to post VSS questions in the following
newsgroup:
microsoft.public.vsnet.vss

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.