WIN32LIB - shellExecute
- Posted by michaelstee at yahoo.com May 02, 2001
- 614 views
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!