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