General information
Category:
Coding, syntax & commands
> >I found a neat Third Party EXE that I want to call from my application.
> Is RUN /N Program.exe the best way? Also, is there a Win32API function
> that I can call to see if program.exe is already running and switch to it
> if it is?
> >
> >Thanks!
>
> RUN is fine. Use FindWindow API function to check another exe running.
> Remember that N clause means NOWAIT.
you can alos look in the last VFUG newletter for Gary Cox's short article
on using ShellExec for that
the advantage is you also get an error code if things go wrong
Arnon
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only