WIN32LIB - shellExecute

new topic     » topic index » view thread      » older message » newer message

Hi all!
I've got a Win32Lib app that will be running on Win2000, and I want
to launch WordPad from my app. I'm trying shellExecute(), but it
doesn't seem to do anything. Here's the snippet of code:

   str = "C:\\program files\\windows NT\\accessories\\wordpad.exe "
   outfile = "C:\\rich.rtf"
   shellExecute(str,outfile, 0) 

The documentation says the 3 params are command,file,style. I'm sure 
I've got them wrong in my code, but there's no example. Can anyone help?

Thanks!

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu