I can open up the command line and type
devenv m:\myproject.sln /build Release
This works great.
Now I wanted to invoke the command line from VB6 and execute the same command.
But that doesn't work. I am not sure if I missed something.
Here is my code:
dim lRet&
lRet = Shell("cmd /k devenv m:\myproject.sln /build Release", 0)
The command line opens up, but the command itself ("devenv m:\myproject.sln /build Release") is not executed.
Does anybody see why?