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. set up prob

set up prob

Scheduled Pinned Locked Moved Visual Basic
csharpdebugginghelp
5 Posts 2 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.
  • B Offline
    B Offline
    bony_baba
    wrote on last edited by
    #1

    Hi, i am doinge a project in vb 6.0 in which i call a exe which is in vb.net.it works fine at developing machine but when i made set up and installed on other machine it,application gives error in calling this vb.net exe. the error is Application has generated an exception that could not be handled Process id=0x324(804),Thread id=0x360(864). click OK to terminate the application click CANCEL to debug the application when i click cancel it debug and gfives error An unhandled exception of type 'System.IO.FileNotFoundException' occurred in HyDwV410AutoCost.exe Thanks

    D 1 Reply Last reply
    0
    • B bony_baba

      Hi, i am doinge a project in vb 6.0 in which i call a exe which is in vb.net.it works fine at developing machine but when i made set up and installed on other machine it,application gives error in calling this vb.net exe. the error is Application has generated an exception that could not be handled Process id=0x324(804),Thread id=0x360(864). click OK to terminate the application click CANCEL to debug the application when i click cancel it debug and gfives error An unhandled exception of type 'System.IO.FileNotFoundException' occurred in HyDwV410AutoCost.exe Thanks

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

      In your first .EXE, you probably did not specify the full path to the .EXE you wanted to launch. You probably just specified the filename without any path information, didn't you? Always, always, always, build and specify full paths to any files you want to use. Never assume that the "current directory" is what you think its supposed to be, because chances are, it's not. Just like you've just found out with the error that your getting. Dave Kreskowiak Microsoft MVP - Visual Basic

      B 1 Reply Last reply
      0
      • D Dave Kreskowiak

        In your first .EXE, you probably did not specify the full path to the .EXE you wanted to launch. You probably just specified the filename without any path information, didn't you? Always, always, always, build and specify full paths to any files you want to use. Never assume that the "current directory" is what you think its supposed to be, because chances are, it's not. Just like you've just found out with the error that your getting. Dave Kreskowiak Microsoft MVP - Visual Basic

        B Offline
        B Offline
        bony_baba
        wrote on last edited by
        #3

        I think path is not the problem because after installing on client computer its not working then i copied the wanted exe file to the folder in program files where this application installed then its working. I don't why its not workinf when installed. Thank You Thanks

        D 1 Reply Last reply
        0
        • B bony_baba

          I think path is not the problem because after installing on client computer its not working then i copied the wanted exe file to the folder in program files where this application installed then its working. I don't why its not workinf when installed. Thank You Thanks

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

          Because you didn't include the .EXE as an extra file in the Setup properly, look for something that says "Additional files". You either didn't add it at all or you added it, but its destination is the wrong folder. Dave Kreskowiak Microsoft MVP - Visual Basic -- modified at 7:29 Thursday 15th June, 2006

          B 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Because you didn't include the .EXE as an extra file in the Setup properly, look for something that says "Additional files". You either didn't add it at all or you added it, but its destination is the wrong folder. Dave Kreskowiak Microsoft MVP - Visual Basic -- modified at 7:29 Thursday 15th June, 2006

            B Offline
            B Offline
            bony_baba
            wrote on last edited by
            #5

            i think you are right! this thing may solve my problem. Thanks very much Thanks

            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