FYI Windows Server 2019 / Xojo 21r3.1
How can I execute calc.exe on windows from a button press?
I’ve tried using a shell object dragged onto the window
I’ve tried declaring a shell as a property
I’ve tried s.execute “calc.exe”
I’ve tried s.execute “cmd.exe /c calc.exe”
I’ve tried s.execute “C:\Windows\System32\calc.exe”
I’ve tried different ExecuteModes
DataAvailable Never Fires
I can type any of these commands into the command prompt without issue.
I also can’t get it to work in VB6 using shell. Strange…
What am I missing?