> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of David Tod
Sigafoos
> Sent: Tuesday, 26 April 2005 10:09
> To: Anthony Dzikiewicz
> Cc: u2-users@listserver.u2ug.org
> Subject: Re[2]: [U2] Printing PDF from uv
> 
> Anthony,
> 
> Thanks for that .. i guess a more specific question is ..
> 
> from universe, running on windows, how can i 'execute' a windows
> process.  is there an command/API for universe to this?

David,

In UniVerse Basic you can do it directly by

Cmd = "DOS /c '"
Cmd :=  <DOS Command>
Cmd := "'"
EXECUTE Cmd

e.g. 
Cmd = "DOS /c '"
Cmd :=  "AcroRd32 /p /t 123.pdf"
Cmd := "'"
EXECUTE Cmd

Or

If it's more complicated than that, you could create a .BAT file on the
fly and then execute that by the method shown above.


HTh

Mike

> 
> thanks
[snip]
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to