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

Search results for query: *

  • Users: hammy
  • Order by date
  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...
  16. hammy

    adding a row to a table in word documento from vb6

    I have done this before, but I did not use the Table object to populate the table so it may not work in this case. Select the last field on the table. Then try a MoveRight wdCell Mimics what word does when you press TAB on the last Cell of a table. Hope this helps. Hammy.
  17. hammy

    Simple VSS problems?

    Use Show History within sourcesafe. You can Get a specfic version or if you select 2 versions of the source it will allow you to do a diff. Hope this helps, Hammy.
  18. hammy

    VSS and VS.NET Help with simple versioning

    Hi, We do something similar to this by using branching within VSS. We have created a Project Branch within VSS called NewDev. Within NewDev are all the individual projects that go to build our complete application, e.g. NewDev SalesDetails SalesDetails.vbp Customers.frm...
  19. hammy

    VSSMon

    Just came across this free utility from www.voxcode.com called VSSMon. What it allows you to do is watch files that are checked out by someone else and once they become available it checks them out or notifies you that they are available for you to check out manually. Go to the downloads site...
  20. hammy

    Programmatically Discovering Error Source

    Check this out http://www.geocities.com/keith_dimmock/kdaddin2.html Version 4.51 for VB 6 is the best one to use. This will allow you to automatically add error handling to your application, puts in procedures names and gives call stacks. There is even code to handle displying the errors to...

Part and Inventory Search

Back
Top