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. Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean?

Unhandled exception at 0x77702d63 (shell32.dll) in blahblah.exe What does this really mean?

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
8 Posts 4 Posters 56 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 Offline
    M Offline
    Member 15109325
    wrote on last edited by
    #1

    I'm completely confused with this error from VS2012 and VS2019 on an VB.Net app that has been running fine for years. This pops up while running a simple sub at the codeline:

    OpenFileDialog1.ShowDialog()

    What makes it really strange is that there multiple subs of this exact same OpenFileDialog on several other forms in this project that work perfectly fine. I have removed the Dialog object from the form, replaced it, put a second Dialog object 'OpenFileDialog2'and still get the same results. This one Form out of 7 others just refuses to work with me on this Anybody got a clue on what I should be looking for, please hit me with it, this is actually the most important OpenFileDialog in the whole project. And Thank You in advance,

    L D 2 Replies Last reply
    0
    • M Member 15109325

      I'm completely confused with this error from VS2012 and VS2019 on an VB.Net app that has been running fine for years. This pops up while running a simple sub at the codeline:

      OpenFileDialog1.ShowDialog()

      What makes it really strange is that there multiple subs of this exact same OpenFileDialog on several other forms in this project that work perfectly fine. I have removed the Dialog object from the form, replaced it, put a second Dialog object 'OpenFileDialog2'and still get the same results. This one Form out of 7 others just refuses to work with me on this Anybody got a clue on what I should be looking for, please hit me with it, this is actually the most important OpenFileDialog in the whole project. And Thank You in advance,

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

      The message is telling you that something went wrong at that location in a system library. A possible reason would be that your code is passing a bad address to the library call which causes some unexpected error. The only way to find out why this is happening is to use the debugger to trace through the code.

      M 1 Reply Last reply
      0
      • L Lost User

        The message is telling you that something went wrong at that location in a system library. A possible reason would be that your code is passing a bad address to the library call which causes some unexpected error. The only way to find out why this is happening is to use the debugger to trace through the code.

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

        Thanks Richard, I'll try the debugger to trace as you suggest, although I'm a little weak on tracing with debugger. Does it make sense that this same code block works perfectly well in 2 or 3 other Forms, and the entire project & code executes just fine on my laptop. Appreciate your help and suggestions

        L 2 Replies Last reply
        0
        • M Member 15109325

          Thanks Richard, I'll try the debugger to trace as you suggest, although I'm a little weak on tracing with debugger. Does it make sense that this same code block works perfectly well in 2 or 3 other Forms, and the entire project & code executes just fine on my laptop. Appreciate your help and suggestions

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

          Member 15109325 wrote:

          Does it make sense

          It is not just the code block that needs to be considered, but the parameters being used in its execution. And without seeing the specific code and all the values being used, it is impossible to comment further.

          1 Reply Last reply
          0
          • M Member 15109325

            I'm completely confused with this error from VS2012 and VS2019 on an VB.Net app that has been running fine for years. This pops up while running a simple sub at the codeline:

            OpenFileDialog1.ShowDialog()

            What makes it really strange is that there multiple subs of this exact same OpenFileDialog on several other forms in this project that work perfectly fine. I have removed the Dialog object from the form, replaced it, put a second Dialog object 'OpenFileDialog2'and still get the same results. This one Form out of 7 others just refuses to work with me on this Anybody got a clue on what I should be looking for, please hit me with it, this is actually the most important OpenFileDialog in the whole project. And Thank You in advance,

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Are you doing any threading or Tasks?

            Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles. Dave Kreskowiak

            1 Reply Last reply
            0
            • M Member 15109325

              Thanks Richard, I'll try the debugger to trace as you suggest, although I'm a little weak on tracing with debugger. Does it make sense that this same code block works perfectly well in 2 or 3 other Forms, and the entire project & code executes just fine on my laptop. Appreciate your help and suggestions

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

              Might be a little labor intensive, but unless you have a single module that handles all similar requests, there is a chance, like Richard said, there's just one statement or parm that's throwing things off. You can look but not see ... then you pretty well have to run the debugger and "single step" to watch everything unfold ... the way you think it should. With "file dialogs" you usually provide "patterns" for things; check those out. Compare it to the others.

              "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

              M 1 Reply Last reply
              0
              • L Lost User

                Might be a little labor intensive, but unless you have a single module that handles all similar requests, there is a chance, like Richard said, there's just one statement or parm that's throwing things off. You can look but not see ... then you pretty well have to run the debugger and "single step" to watch everything unfold ... the way you think it should. With "file dialogs" you usually provide "patterns" for things; check those out. Compare it to the others.

                "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

                M Offline
                M Offline
                Member 15109325
                wrote on last edited by
                #7

                I am looking but haven't found anything yet. This project is almost 10 years old and has been working until about a week ago. I hear what ya'll saying but a) I admit my sheer incompetence with tracing and debugging and b) I can't grasp how I can copy this project to my laptop and it works perfectly. AND the exact same SUB is used on 2 other forms without incidence. I'm about to start ripping the guts out of this main form hoping to find the culprit. I've already scoured it and REM'd a bunch of code.

                J 1 Reply Last reply
                0
                • M Member 15109325

                  I am looking but haven't found anything yet. This project is almost 10 years old and has been working until about a week ago. I hear what ya'll saying but a) I admit my sheer incompetence with tracing and debugging and b) I can't grasp how I can copy this project to my laptop and it works perfectly. AND the exact same SUB is used on 2 other forms without incidence. I'm about to start ripping the guts out of this main form hoping to find the culprit. I've already scoured it and REM'd a bunch of code.

                  J Offline
                  J Offline
                  jschell
                  wrote on last edited by
                  #8

                  Member 15109325 wrote:

                  I can't grasp how I can copy this project to my laptop and it works perfectly

                  Two possibilities. First the environment is different. Different OS, different libraries, different permissions, etc. Second the data is different. You are running with a dataset X. But the problem occurs with dataset Y.

                  Member 15109325 wrote:

                  AND the exact same SUB is used on 2 other forms without incidence.

                  That is explained easily - the data is different. Look at the differences and see how the code handles each.

                  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