>Other than using the RUN /N command to run a windows based program, how you can you call it and pass parameters (Command line) to it? The command line version of: > >PrgStr = + " " + >RUN /N PrgStr > >This does not work as the RUN command will not accept a string variable to run with and with that you can't change the parameters that need to be passed. I have already tried DDE and its not a compatible program. > >Thanks > >Gary
Gary,
Try the WinExec() of the win32api. Here's the code that FOCUS.FLL uses :