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. [SOLVED][WORKAROUND] Run VB 2008 error "cannot be modified at this time" [modified]

[SOLVED][WORKAROUND] Run VB 2008 error "cannot be modified at this time" [modified]

Scheduled Pinned Locked Moved Visual Basic
helptools
24 Posts 3 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.
  • C Central_IT

    Hi, I wonder if anyone can help me with the error I am getting when I try and run my application in VB 2008. "Form1.vb cannot be modified at this time" I have tried Tools/Option/Build and Run/ Don't save any changes. This does not work and I would want the choice to save changes everytime I run my app. When I put say a button on the form the first time, it works. If I add another say button then that is when I get the problem. Basically adding anything to a form gets the error.

    modified on Thursday, January 14, 2010 4:13 AM

    U Offline
    U Offline
    Unforgiv3n
    wrote on last edited by
    #15

    Have You posted a message about this error on Microsoft yet?

    C U 2 Replies Last reply
    0
    • U Unforgiv3n

      Have You posted a message about this error on Microsoft yet?

      U Offline
      U Offline
      Unforgiv3n
      wrote on last edited by
      #16

      and can you paste me a copy of the hole error message plz

      C 1 Reply Last reply
      0
      • U Unforgiv3n

        Have You posted a message about this error on Microsoft yet?

        C Offline
        C Offline
        Central_IT
        wrote on last edited by
        #17

        Not yet.

        1 Reply Last reply
        0
        • U Unforgiv3n

          and can you paste me a copy of the hole error message plz

          C Offline
          C Offline
          Central_IT
          wrote on last edited by
          #18

          Here is a copy of the message. All I done to the form was add/move an extra button. --------------------------- Microsoft Visual Studio --------------------------- The file C:\Temp\DeleteThis\ABCDEFG\Form1.vb cannot be modified at this time. --------------------------- OK ---------------------------

          U 1 Reply Last reply
          0
          • C Central_IT

            Here is a copy of the message. All I done to the form was add/move an extra button. --------------------------- Microsoft Visual Studio --------------------------- The file C:\Temp\DeleteThis\ABCDEFG\Form1.vb cannot be modified at this time. --------------------------- OK ---------------------------

            U Offline
            U Offline
            Unforgiv3n
            wrote on last edited by
            #19

            ok i think i have a answer for you if you create a project and just run it. vs saves it in this temp folder as a read only file and if you try to edit it after you ran it then it can]'t be edited anymore try running the project first time then stop the program then save it as a other project name in a other folder then try editing it again if it still gives you the same error try saving it in a folder you choose from the start and then run it then try editing it again

            C 1 Reply Last reply
            0
            • U Unforgiv3n

              ok i think i have a answer for you if you create a project and just run it. vs saves it in this temp folder as a read only file and if you try to edit it after you ran it then it can]'t be edited anymore try running the project first time then stop the program then save it as a other project name in a other folder then try editing it again if it still gives you the same error try saving it in a folder you choose from the start and then run it then try editing it again

              C Offline
              C Offline
              Central_IT
              wrote on last edited by
              #20

              Hi Unforgiv3n, Thanks for a possible solution but unfortunately it never worked.

              U 1 Reply Last reply
              0
              • C Central_IT

                Hi Unforgiv3n, Thanks for a possible solution but unfortunately it never worked.

                U Offline
                U Offline
                Unforgiv3n
                wrote on last edited by
                #21

                then i realy dont know sorry mate you will have to ask vs support on microsoft

                C 1 Reply Last reply
                0
                • L Lost User

                  Well, i'm sorry i can't seem to figure out your problem. I tried to google it as well but only came up with: "the designer is currently in read-only mode" Maybe you should try to contact VS support? It may be a problem only relevent to your computer system. Sorry that i can't be of any more assistance. Someone else (prefferable more experianced than me) HELP OVER HERE!! lol.

                  How to solve a Programing error: 1. Spell check 2. Debug 3. The Code Project

                  C Offline
                  C Offline
                  Central_IT
                  wrote on last edited by
                  #22

                  Hi, I found a workaround. If you run the app from the code viewer then it works. If you run the app from View designer then you get the message. I am just going to go with running app in code viewer for the present time. I also managed to install SP 1 but it made no difference. Thanks again for all your help.

                  L 1 Reply Last reply
                  0
                  • U Unforgiv3n

                    then i realy dont know sorry mate you will have to ask vs support on microsoft

                    C Offline
                    C Offline
                    Central_IT
                    wrote on last edited by
                    #23

                    I found a workaround. If you run the app from the code viewer then it works. If you run the app from View designer then you get the message. I am just going to go with running app in code viewer for the present time. I also managed to install SP 1 but it made no difference. Thanks again for all your help.

                    1 Reply Last reply
                    0
                    • C Central_IT

                      Hi, I found a workaround. If you run the app from the code viewer then it works. If you run the app from View designer then you get the message. I am just going to go with running app in code viewer for the present time. I also managed to install SP 1 but it made no difference. Thanks again for all your help.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #24

                      Great! It's good that you found an workaround. Please just Edit your OP's (Original Post) Subject and and [SOLVED][WORKAROUND] to the begining. Then when you have the solution just come and Post it here, and remove the [WORKAROUND] Regards, Josef

                      How to solve a Programing error: 1. Spell check 2. Debug 3. The Code Project

                      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