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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by hammy

  1. hammy

    can't keep old file

    OK. oka.txt is created and added to SourceSafe. oka.txt is checked out and then changed. oka.txt is checked back into SourceSafe. You should now be able to right click on oka.txt in SourceSafe and select show history. This should show you 2 versions. You can Get or View either of these 2...
  2. hammy

    Using an existing Label to create a new label

    Hi Keri-Lyn, I am not aware of any way in which you can do this from a command line. Any label from command line that I know labels the most recent version. Again some VB6 code that might do the job. I have only done minimal testing on this as I do not want to mess with my SS database here...
  3. hammy

    can't keep old file

    Do you mean an actual physical copy of the file on the server? e.g File1.Ver1, File1.Ver2, File1.Ver3 etc. SourceSafe does not store the file versions like this.
  4. hammy

    can't keep old file

    Hi, You should be able to rick click on any file in Source Safe and select Show History. This will show a history of all check ins into the database. There you should be able to get old files, Roll back etc. Regards, Hammy.
  5. hammy

    Need to track "links/shares" between projects/files...

    Hi Keri-Lyn, Try this code, it will create a comma separated file called c:\ss.csv that you could import into SQL I am sure. '================================================= Option Explicit Dim objVSSDatabase As New VSSDatabase Dim intFreeFile As Integer Private Sub cmdOK_Click() '...
  6. hammy

    Need to track "links/shares" between projects/files...

    Soz, Forgot you also need to add a reference to the VB6 app to Microsoft SourceSafe 6.0 Type Library. In my case this is c:\program files\vss\win32\SSAPI.DLL Hammy.
  7. hammy

    Need to track "links/shares" between projects/files...

    Hi Keri-Lyn, Not 100% sure this will do you job, but should be a starting point at least for you. It is in VB6, so I hope that is OK. Just add a form with an OK button and add this code to it. '======================================================= Option Explicit Dim objVSSDatabase As New...
  8. hammy

    Administrator Password for SourceSafe

    Check this thread out. thread722-51186
  9. hammy

    Set Default User/Pass for VSS Login?

    If you add Environment variables of SSUSER and SSPWD to your system that should do the job. To do this in XP, Start/Control Panel/System. In there select Advanced Tab and select the Environment Variables. Click New then SSUSER/SSPWD and the required values for the user and password. I think...
  10. hammy

    Big Problem in MS Visual SourceSafe.

    Hi dazdar, This code is pretty much untested. I have tested as much as I can up to the point of checking the updated code in, as I did not want to stuff our database up here. And I have not tested for multiple files. Basically it might do your job. If possible test on a backup of your database...
  11. hammy

    Big Problem in MS Visual SourceSafe.

    Been looking into this. Should be possible using the SSAPI.DLL and some VB6 code. Are you still looking for a solution to this? Just before I spend a bit more time on it :)
  12. hammy

    Big Problem in MS Visual SourceSafe.

    Do you use comment field when checking changes in, and therefore need to keep this information, or are you just specifically looking to be able to compare versions etc? Also, are there a lot of changes in the new location?
  13. hammy

    AutoRegistration of DLL's and OCX's - VERY URGENT

    Nice one - thanks for posting this. Hammy.
  14. hammy

    AutoRegistration of DLL's and OCX's - VERY URGENT

    This may not be very tidy, but should work. Create a separate app that late binds all your DLLs. If the CreateObject fails then you need to register the DLL. e.g. dim myObject as object on error resume next set myObject = createObject("objTest.clsTest") if err <> 0 then...
  15. hammy

    sample FTP program

    Add a Microsft Internet Transfer Contol names Inet1 to a form and the use the following code as an example. --------- Dim GL_SourceFileNameDC As String Dim GL_SourceFileNameEN As String Inet1.AccessType = icFTP Inet1.Url = "ftp://192.0.0.1" 'FTP Address Inet1.UserName...

Part and Inventory Search

Back
Top