Running an external executable file


Recommended Posts

Yup, use system.shellexecute():


Check out the help as there are some optional parameters that allow you to do some cool stuff. For example, you can have it use the application to print a document without having the app actually appear. This is the trick to generate text reports in DAQFactory. You use the File. functions to build a .txt file, and then use shellexecute() with "print" to print it. You can also trigger a browser by opening iexplore.exe and passing the http address.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.