>After compiling mytest.cs without an error, I run mytest.exe but nothing happens. Am supposed to see a window with a message? What am I doing wrong?
No it's working there from command window:) Check temp folder. It should have created test.txt with "Hello from C#" in it.
Problem it fails if called from VFP via ShellExecute().
Cetin