Now ive seen a few ways to call an exe at a specific path. Like Process.start("path") but the software im calling is the software we make at my job. It errors out and all this junk its quite annoying.
So if i go to start, run, I can type in this type of path and it works with out error. g:\folder\file /rr
Obviously thats not the real name but you get the idea, so in the process.start deal i will put ("g:\folder\file.exe", " /rr") I have tried many variations of this and they all just never work out. Either an error in vb or an error calling the exe because it just doesnt like it.
My only option that I can see is to code up the creation of a .bat file then call that on a button press. Because I have had .bat files run this just fine, as well as scripts in autoit. Im guessing vb.net just calls it in some other way that i cant figure out.
If anybody has any suggestions how to run this exe more like im executing it from a cmd prompt please let me know. Or give me some hints at how to create this .bat file, id want it to be created/killed off quickly if possible.
So if i go to start, run, I can type in this type of path and it works with out error. g:\folder\file /rr
Obviously thats not the real name but you get the idea, so in the process.start deal i will put ("g:\folder\file.exe", " /rr") I have tried many variations of this and they all just never work out. Either an error in vb or an error calling the exe because it just doesnt like it.
My only option that I can see is to code up the creation of a .bat file then call that on a button press. Because I have had .bat files run this just fine, as well as scripts in autoit. Im guessing vb.net just calls it in some other way that i cant figure out.
If anybody has any suggestions how to run this exe more like im executing it from a cmd prompt please let me know. Or give me some hints at how to create this .bat file, id want it to be created/killed off quickly if possible.