>>The ShellExecute works on my pc.
>>
>>here is my code in VFP:
>>
>>
>>declare long ShellExecute in "shell32.dll" ;
>> long hwnd, string lpszOp, ;
>> string lpszFile, string lpszParams, ;
>> string lpszDir, long nShowCmd
>>
>>ShellExecute(0,'Open','c:\temp\mytest.exe',0,0,1)
>>
>>
>>I get no errors and the file test.txt is created.
>
>It worked!!!??? OK. Would you make sure if that file is not a left over from running that exe in command window. Or:
>
>? ShellExecute(0,'Open','c:\temp\mytest.exe',0,0,1)
>
>If it prints over 32 it's fine (and I would start to think what could I have done for it not to work:)
>Cetin
I did erase the test.txt from the previous run, to be sure. I don't understand what you mean by "prints over 32 ..."
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham