I am trying to find a way that I can automatically change the stack size of my newly compiled EXE when I am debugging from VS.NET 2005. Any ideas how to execute this:
Sorry, I don't think you understood my question. I am not trying to run a dos command at run time.
I have the problem that after I compile my EXE, I must go to a DOS prompt, find the EXE and run the EDITBIN function upon the EXE to increase the stack size. This means I can not use the option from within the VS environment to compile + RUN. I currently have to compile, go to DOS to execute the DOS command, and then exec the EXE to run the compiled app. There used to be a way to add a post process after the compilation, but I don't see a way to do this. I sometimes find reference to something called the post-process tab in the VS environment, but I don't see it anywhere.
Does the ProcInfo method get executed between the debug compile and the execution of the EXE so that I can use the debugging? Or am I still stuck with doing a compile, manually running the editbin, and then doing a run?
Do a build, which compiles the program into the release folder. Then run your program in the debug mode and point to your .exe in the release folder. ie
ProcInfo.Arguments = "c:\vbPrograms\myProgram\bin\release\theProgram.exe
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.