Results 1 to 6 of 6

Thread: VB and Source Safe

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    London
    Posts
    290

    VB and Source Safe

    Source Safe is something which i use as a stand alone app. It`s fine, no problems there.

    Usually it annoys me from within Visual Basic, as i dont want to do anything (with SS) from VB.

    But i guess it would be nice to do some things, like show differences between a source file in a currently-open-in-VB, and the checked into SS version.

    Can i do this (and other things?) Or is the integration between the two products limited to just nagging me that such and such a file is/isnt in source safe, whenever i `m trying to get some work done?

    Curious,
    alex.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    IF you've got VSS fully integrated with VB you can

    check files in
    check files out
    get latest version
    undo checkout
    show differences (via check in dialog)
    on the right click

    and
    show differences
    show history

    and more from the menu Tools -> Source Safe ->
    Mark
    -------------------

  3. #3
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    SourceSafe is a source code control software. It tracks the changes made to files you have put in the sourcesafe by implementing a secure and consistent way of checking files out and in.

    If you run the SourceSafe application and right-click on any file in it, select History and click OK to the next dialog box. You will see the various versions of the same file. You can get any version from this list and work with it.

    In short, if you have a form today which contains a textbox and a command button, and tomorrow if you added a label to it, you could still get back the version of the form with just the command button and the textbox if you wished.

    SourceSafe is quite helpful for a disciplined way of developing software, although if you are using it in a single user environment, there may be practical ways of replacing SourceSafe.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  4. #4
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Ok honeybee so that's sales pitch on Source Safe but I thought Pallex wanted to know what VSS functions he could access through VB
    Mark
    -------------------

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Location
    London
    Posts
    290
    honey: thanks, but yes, i do use it all the time as a stand alone app, i was just wondering about its integration into vb!

    mark:
    "show differences (via check in dialog)
    on the right click"

    thanks, thats the one!
    Alex.

  6. #6
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    Originally posted by Mark Sreeves
    Ok honeybee so that's sales pitch on Source Safe but I thought Pallex wanted to know what VSS functions he could access through VB
    Then I guess I shall email this page to Billy boy. Let's see if he pays me something for that.

    Pallex, if you are not into serious (and disciplined, as I said) development, VSS can actually be a pain in the ass. Even we use VSS only for our main project in the office. The subsidiaries, like some small DLLs etc. are out of the VSS just so we don't have to keep checking them in and out.

    Also out of VB and Interdev that's being used in our office, I think VSS integrates tightly and nicely with VB. I don't know about VC++.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width