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. The Lounge
  3. Strange errors

Strange errors

Scheduled Pinned Locked Moved The Lounge
visual-studioquestioncsharpdesignhelp
25 Posts 14 Posters 28 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.
  • M Member 10549474

    Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

    F Offline
    F Offline
    F ES Sitecore
    wrote on last edited by
    #2

    vbproj? What the hell is that?

    M 1 Reply Last reply
    0
    • F F ES Sitecore

      vbproj? What the hell is that?

      M Offline
      M Offline
      Member 10549474
      wrote on last edited by
      #3

      vbproj = VB Project file. VB = Visual Basic. Basic = Beginners All purpose Symbolic Instruction Code. Ok? :)

      OriginalGriffO F 2 Replies Last reply
      0
      • M Member 10549474

        Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

        C Offline
        C Offline
        CodeWraith
        wrote on last edited by
        #4

        Member 10549474 wrote:

        Recently updated Visual Studio

        Big mistake. I would love to believe that Mickeysoft did this intentionally because they want to send VB to the boneyard, but the truth seems to be that they are working hard on driving away all developers.

        I have lived with several Zen masters - all of them were cats.

        J 1 Reply Last reply
        0
        • M Member 10549474

          Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

          S Offline
          S Offline
          S Houghtelin
          wrote on last edited by
          #5

          The sln file is an IDE environment setup, how you have your toolbars set, windows, the last bit of code you were working on etc. This states what an sln file is correctly. Solution (.Sln) File[^] Delete the sln file, open the project and setup your environment again. when you close the project you will be prompted to save to a new sln file.

          It was broke, so I fixed it.

          L 1 Reply Last reply
          0
          • S S Houghtelin

            The sln file is an IDE environment setup, how you have your toolbars set, windows, the last bit of code you were working on etc. This states what an sln file is correctly. Solution (.Sln) File[^] Delete the sln file, open the project and setup your environment again. when you close the project you will be prompted to save to a new sln file.

            It was broke, so I fixed it.

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

            It does not hold toolbar-customizations; it is a list of all the project-files in the solution. Sounds to me like he simply lost some references - something that is bound to happen if you add references to locally installed products, instead if directly to an assembly in your working-folder.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

            S 1 Reply Last reply
            0
            • L Lost User

              It does not hold toolbar-customizations; it is a list of all the project-files in the solution. Sounds to me like he simply lost some references - something that is bound to happen if you add references to locally installed products, instead if directly to an assembly in your working-folder.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

              S Offline
              S Offline
              S Houghtelin
              wrote on last edited by
              #7

              Doh! we're both wrong... :-O :~ This is what it contains

              Microsoft Visual Studio Solution File, Format Version 11.00

              Visual C# Express 2010

              Project("{FAE04EC0-301F-11D3-BF4B-00004F79EFBC}") = "MyProject", "MyProject.csproj", "{7155F049-C533-41FB-B5BD-ABD502AF3CD3}"
              EndProject
              Global
              GlobalSection(SolutionConfigurationPlatforms) = preSolution
              Debug|x86 = Debug|x86
              Release|x86 = Release|x86
              EndGlobalSection
              GlobalSection(ProjectConfigurationPlatforms) = postSolution
              {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Debug|x86.ActiveCfg = Debug|x86
              {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Debug|x86.Build.0 = Debug|x86
              {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Release|x86.ActiveCfg = Release|x86
              {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Release|x86.Build.0 = Release|x86
              EndGlobalSection
              GlobalSection(SolutionProperties) = preSolution
              HideSolutionNode = FALSE
              EndGlobalSection
              EndGlobal

              It was broke, so I fixed it.

              L 1 Reply Last reply
              0
              • M Member 10549474

                Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

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

                Member 10549474 wrote:

                Recently updated Visual Studio

                A boy scout motto is "once your camp fire is burning OK a sure way to put it out is to try and improve it." ... I've found microsoft products are exactly like that. (in fact even more-so, because camp fires I sometimes have managed to improve.)

                Signature ready for installation. Please Reboot now.

                D 1 Reply Last reply
                0
                • S S Houghtelin

                  Doh! we're both wrong... :-O :~ This is what it contains

                  Microsoft Visual Studio Solution File, Format Version 11.00

                  Visual C# Express 2010

                  Project("{FAE04EC0-301F-11D3-BF4B-00004F79EFBC}") = "MyProject", "MyProject.csproj", "{7155F049-C533-41FB-B5BD-ABD502AF3CD3}"
                  EndProject
                  Global
                  GlobalSection(SolutionConfigurationPlatforms) = preSolution
                  Debug|x86 = Debug|x86
                  Release|x86 = Release|x86
                  EndGlobalSection
                  GlobalSection(ProjectConfigurationPlatforms) = postSolution
                  {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Debug|x86.ActiveCfg = Debug|x86
                  {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Debug|x86.Build.0 = Debug|x86
                  {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Release|x86.ActiveCfg = Release|x86
                  {7155F049-C533-41FB-B5BD-ABDEF2AF3CD3}.Release|x86.Build.0 = Release|x86
                  EndGlobalSection
                  GlobalSection(SolutionProperties) = preSolution
                  HideSolutionNode = FALSE
                  EndGlobalSection
                  EndGlobal

                  It was broke, so I fixed it.

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

                  I am not wrong. Projects are organized in a solution. There's a different file for customizations.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                  S 1 Reply Last reply
                  0
                  • M Member 10549474

                    vbproj = VB Project file. VB = Visual Basic. Basic = Beginners All purpose Symbolic Instruction Code. Ok? :)

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #10

                    There is nothing "OK" about a language which includes On Error Resume Next

                    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    D 1 Reply Last reply
                    0
                    • L Lost User

                      I am not wrong. Projects are organized in a solution. There's a different file for customizations.

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                      S Offline
                      S Offline
                      S Houghtelin
                      wrote on last edited by
                      #11

                      Eddy Vluggen wrote:

                      It does not hold toolbar-customizations; it is a list of all the project-files in the solution.

                      I was wrong about the customization, however, I see one file listed, my project has well over a dozen. I don't wish to turn this into a debate, I did test deleting the sln file and was prompted to save new one, that part works. Cheers!

                      It was broke, so I fixed it.

                      L 1 Reply Last reply
                      0
                      • M Member 10549474

                        vbproj = VB Project file. VB = Visual Basic. Basic = Beginners All purpose Symbolic Instruction Code. Ok? :)

                        F Offline
                        F Offline
                        F ES Sitecore
                        wrote on last edited by
                        #12

                        Visual Basic? Sorry....I still don't know what that is. *gets back to proper coding*

                        C 1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          There is nothing "OK" about a language which includes On Error Resume Next

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                          D Offline
                          D Offline
                          den2k88
                          wrote on last edited by
                          #13

                          Dreadful words. Have you tried with Option Base 1?

                          GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

                          1 Reply Last reply
                          0
                          • S S Houghtelin

                            Eddy Vluggen wrote:

                            It does not hold toolbar-customizations; it is a list of all the project-files in the solution.

                            I was wrong about the customization, however, I see one file listed, my project has well over a dozen. I don't wish to turn this into a debate, I did test deleting the sln file and was prompted to save new one, that part works. Cheers!

                            It was broke, so I fixed it.

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

                            S Houghtelin wrote:

                            I see one file listed, my project has well over a dozen.

                            Because it is not a project file, but a solution - a list of proj files.

                            S Houghtelin wrote:

                            I don't wish to turn this into a debate

                            It was a correction, not an invitation to a debate indeed. Solution (.Sln) File[^]

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

                            1 Reply Last reply
                            0
                            • L Lost User

                              Member 10549474 wrote:

                              Recently updated Visual Studio

                              A boy scout motto is "once your camp fire is burning OK a sure way to put it out is to try and improve it." ... I've found microsoft products are exactly like that. (in fact even more-so, because camp fires I sometimes have managed to improve.)

                              Signature ready for installation. Please Reboot now.

                              D Offline
                              D Offline
                              dandy72
                              wrote on last edited by
                              #15

                              Lopatir wrote:

                              A boy scout motto is "once your camp fire is burning OK a sure way to put it out is to try and improve it." ... I've found microsoft products are exactly like that.

                              Set MS software on fire and let it burn. Gotcha.

                              1 Reply Last reply
                              0
                              • M Member 10549474

                                Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

                                R Offline
                                R Offline
                                RedDk
                                wrote on last edited by
                                #16

                                Just for fun, and because we're all friends here in The Lounge (with a possible exception or two (they know they aren't welcome actually, but post nonsense anyway)), unzip this original assembly of "projection" from the ... uhm ... package into a brand new target directory. To avoid any cross-contamination/etc. Now, comment out the .suo alone. Make it "x.suo.manifest". NOW open the .sln ... does this (gulp) help any?

                                M 1 Reply Last reply
                                0
                                • R RedDk

                                  Just for fun, and because we're all friends here in The Lounge (with a possible exception or two (they know they aren't welcome actually, but post nonsense anyway)), unzip this original assembly of "projection" from the ... uhm ... package into a brand new target directory. To avoid any cross-contamination/etc. Now, comment out the .suo alone. Make it "x.suo.manifest". NOW open the .sln ... does this (gulp) help any?

                                  M Offline
                                  M Offline
                                  Member 10549474
                                  wrote on last edited by
                                  #17

                                  Well, it seems pretty random - it doesn't do it with all projects, nor all the time. For instance, opened a project, looked at the design of the form, but couldn't, loads of 'errors'. So just closed down Visual Studio, started it up again and went and loaded the same project file and just sat waiting for ten seconds or so, then took deep breath and looked at design of form - all worked perfectly. Do you think I was just too fast trying to look at the form and Visual Studio was still 'loading' part of the project?

                                  1 Reply Last reply
                                  0
                                  • M Member 10549474

                                    Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

                                    K Offline
                                    K Offline
                                    KLPounds
                                    wrote on last edited by
                                    #18

                                    Late to the game and havent read through all the replies yet. There is/was a ticket open with MS on this behavior. Some even had similar project problems in c#. But it was mostly vb projects. The workaround that I found solved this problem was to turn off "allow parallel project I initialization" in VS options. Restart VS and load your project.. this also is supposed to be fixed in 15.5.2. I downloaded it end of day Friday so will be formally testing it this morning. Else parallel project initialization gets turned off again.

                                    1 Reply Last reply
                                    0
                                    • F F ES Sitecore

                                      Visual Basic? Sorry....I still don't know what that is. *gets back to proper coding*

                                      C Offline
                                      C Offline
                                      ClockMeister
                                      wrote on last edited by
                                      #19

                                      (To the OP) ... Don't listen to these coding snobs ... VB (particularly the .Net version) is a fine language. -CM

                                      If you think hiring a professional is expensive, wait until you hire an amateur! - Red Adair

                                      H 1 Reply Last reply
                                      0
                                      • M Member 10549474

                                        Recently updated Visual Studio and when I went back in and loaded a project all was fine until I tried to look at the design of the form. It came up with all kinds of errors to prevent me from viewing the form. Things like my AxMediaplayer was not found; things like ColorPack5,6 and 7 not being found. All kinds of weird things. Finally re-installed VS and things seemed normal again until just now - load a .sln (solution) file and I had the same problem. Closed it down and restarted - had the same thing, but more and different problems to prevent me looking at the form. Thought, Oh no not again, been bashing away at this for more than two days trying to get it sorted. In desperation tried firing up the .vbproj file instead of the .sln file - and hey presto, everything works just fine... So what is going on? Last night the .sln file worked fine, come back to it today and it is NBG. But the vbproj file is fine... Anyhow, anyone else have the same kind of problem, then try loading the vbproj file instead of a sln file.

                                        B Offline
                                        B Offline
                                        Bruce Patin
                                        wrote on last edited by
                                        #20

                                        I always load my forms into a text editor. Never any problem.

                                        M 1 Reply Last reply
                                        0
                                        • C CodeWraith

                                          Member 10549474 wrote:

                                          Recently updated Visual Studio

                                          Big mistake. I would love to believe that Mickeysoft did this intentionally because they want to send VB to the boneyard, but the truth seems to be that they are working hard on driving away all developers.

                                          I have lived with several Zen masters - all of them were cats.

                                          J Offline
                                          J Offline
                                          James Lonero
                                          wrote on last edited by
                                          #21

                                          I would like to say that VB is Microsoft's answer to JavaScript, but JavaScript came later. So, JavaScript is the rest of the world's Basic with C like syntax.

                                          C 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