Hello.
I was away for couple of days, so I didn't react, but good news everyone:
"But determining the associated exe and then using CreateProcess seems easier to me"
This was exactly what solved my problem after all. I admit I was stuck with my idea of ShelLExecuteEx but this is easier and works...
Hello.
Calling program doesn't wait at all. In short: There is form with list of available files and button to open file with it's associated program. And I need open some (even more) files and work with all of them (including parental VFP program). And I think I need to know handle of process...
Thank you for your tips and advices.
I agree with this soulution. It's simple and strong, but ufortunately we find out that it doesn't work 100%. For example some TXT files could be opened exclusively by FOPEN even if they are already open by notepad.
Unfortunately this example in VFP...
Hello everyone.
My situation is, that I need to open external file (Doc, TXT, PDF or whatever), which is not a problem, but I need to find out, when this file is closed (because I need write it back to the database when work is done). I tried run it with ShellExecute(), but I was able check...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.