Re: How to start up an .exe program from within BlackBox?

From: [at]} <robert.d.campbell{>
Date: Fri, 26 Jan 2001 13:47:18 +0100 (BST)

The following code allows me to open a program,
in this case Word, and pass it a string.


Regards


Robert Campbell


VAR
  cmd* : WinApi.PtrSTR;


PROCEDURE ShowDoc*;
  BEGIN
    IF WinApi.WinExec (cmd, WinApi.SW_SHOW) = 0 THEN END;
  END ShowDoc;


BEGIN
  cmd := 'C:\Program Files\Microsoft Office\Office\WINWORD.EXE c:\MyDoc.doc';
END.


--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy
Received on Fri Jan 26 2001 - 12:47:18 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:45 UTC