Hi team,
I’m trying to port an app from Web1.0 to Web2.0 and having some trouble getting my existing shell objects working.
I have an interactive shell object on my window and from a button press I run a number of commands:
eg:
MyShell.Execute(“cmd.exe”)
MyShell.WriteLine “cd C:\mypath”
MyShell.writeline “test.exe”
In Web1.0, my exe will launch and MyShell dataAvailable event will fire
In Web2.0 it seems my exe launches but the data Available does not fire.
Thanks Markus, It’s really strange. This works in Web1 and if I change displayswitch to notepad (in the same folder) it launches fine. Even if I get rid of the switch (/clone) it should still run the displayswitch exe and bring up the UI.
Just figured out how to make it work although I don’t know why… recompiling in 64bit allows it to work fine. Strange that I’m just trying to call an exe…