MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » October 2005

Re: Questions on "Calling PC Commands from RPG" article



fixed

O.k., thought I'd give an update.

Got the PC side working. Ended up setting a classpath as an environment
variable. This classpath stuff is as clear as mud. Will have to get more
experience using it.

Someone off-list sent me an example RPG program that invokes notepad.exe.
And this really works like a charm!

Unfortunately, I tried using "mailto:dan2@xxxxxxxxx"; (using my real address)
as a command sent to the data queue, but got:
Command to be Executed = mailto:dan2@xxxxxxxxxxxxxxxx
did not start :java.io.IOException: CreateProcess:
mailto:dan2@xxxxxxxxx error=2

... even though this works from within the Windows Run dialog box.

So... How can I find out how to start an Outlook "Create New Email" window,
plugging in recipient email address, subject, and body text? This is Outlook
2002. Presume that Outlook is already running.

Thanks,
Dan





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact