Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. SourceSafe and VB.Net

SourceSafe and VB.Net

Scheduled Pinned Locked Moved Visual Basic
csharpvisual-studiohelptutorial
10 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #1

    We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

    .45 ACP - because shooting twice is just silly
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

    F P G U S 6 Replies Last reply
    0
    • R realJSOP

      We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

      .45 ACP - because shooting twice is just silly
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

      F Offline
      F Offline
      fjdiewornncalwe
      wrote on last edited by
      #2

      Because you're not using the integrated tool, you may just have to close the solution, shut down the IDE and then reopen everything again. I've encountered similar behavior when doing this after checking out from subversion. I think the IDE is trying to be "smart" on file permissions.

      I wasn't, now I am, then I won't be anymore.

      1 Reply Last reply
      0
      • R realJSOP

        We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

        .45 ACP - because shooting twice is just silly
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        P Offline
        P Offline
        Prerak Patel
        wrote on last edited by
        #3

        Try undo checkout and then checkout once again.

        1 Reply Last reply
        0
        • R realJSOP

          We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

          .45 ACP - because shooting twice is just silly
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

          G Offline
          G Offline
          Gary Wheeler
          wrote on last edited by
          #4

          As someone else mentioned, you probably need to exit and restart the IDE. VS tends to cache file attributes rather than re-check them every time you want to do something. You might also want to check that the working folder for the project in SourceSafe is the same folder from which you are opening the file in the IDE.

          John Simmons / outlaw programmer wrote:

          I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE.

          I'll probably get flamed for this, but why not? SourceSafe integrates perfectly well with Visual Studio, as long as you use the latest version of SourceSafe (VSS 2005) with VS2008 and later. Earlier versions still work, but are missing some bug fixes that the later versions of Visual Studio need. SourceSafe isn't the best source control solution in the world, but it isn't the complete "dog's arse" (as our friends from Oz would put it) that everyone says it is.

          Software Zen: delete this;

          1 Reply Last reply
          0
          • R realJSOP

            We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

            .45 ACP - because shooting twice is just silly
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

            U Offline
            U Offline
            User 4595697
            wrote on last edited by
            #5

            The problem is that you converted your project to VB.NET from c#. If you convert it back... everything will work fine I kid ;)

            1 Reply Last reply
            0
            • R realJSOP

              We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

              .45 ACP - because shooting twice is just silly
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

              S Offline
              S Offline
              Steve Naidamast
              wrote on last edited by
              #6

              Get rid of Source-Safe and move to Subversion. You will never get the type of issues you are describing... Besides, Subversion is free...

              Steve Naidamast Black Falcon Software, Inc. blackfalconsoftware@ix.netcom.com

              U 1 Reply Last reply
              0
              • R realJSOP

                We use SourceSafe at work, and today, I added a VB.Net project (converted from C#) to the repository. I then tried to checkout a file to work on it. SourceSafe shows it's checked out, and on the hard drive, the file shows that it's NOT read-only. When I tried to open the file in the IDE, however, it still shows as being read-only, and I can't edit it. I've tried a number of variations on that usage theme, but I can't edit the file. When I try to do the same thing in the old C# project, everything works as expected. I do NOT have the IDE tied into SourceSafe, and I'm not at all eager to turn that "feature" on in the IDE. Does anyone know why this is happening, and how to fix it?

                .45 ACP - because shooting twice is just silly
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                F Offline
                F Offline
                Fabio Franco
                wrote on last edited by
                #7

                Oh my, I thought it couldn't get worse when you said you had to convert C# to VB... Now VB + SourceSafe... Oh my, you are F*****!! Did you start looking for a new job yet?

                M 1 Reply Last reply
                0
                • S Steve Naidamast

                  Get rid of Source-Safe and move to Subversion. You will never get the type of issues you are describing... Besides, Subversion is free...

                  Steve Naidamast Black Falcon Software, Inc. blackfalconsoftware@ix.netcom.com

                  U Offline
                  U Offline
                  User 3760773
                  wrote on last edited by
                  #8

                  Source-Safe is anything but safe. Make sure your data base never gets too big, make sure you never run out of disk space, etc. Actually you should probably memorize these Best Practices. To me is sounds like running with Scissors would be safer...

                  1 Reply Last reply
                  0
                  • F Fabio Franco

                    Oh my, I thought it couldn't get worse when you said you had to convert C# to VB... Now VB + SourceSafe... Oh my, you are F*****!! Did you start looking for a new job yet?

                    M Offline
                    M Offline
                    Michael Kingsford Gray
                    wrote on last edited by
                    #9

                    Well, that was a big help. Not!

                    F 1 Reply Last reply
                    0
                    • M Michael Kingsford Gray

                      Well, that was a big help. Not!

                      F Offline
                      F Offline
                      Fabio Franco
                      wrote on last edited by
                      #10

                      I would suggest the same as what was already suggested... So no point on that, just commenting on the events

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups