PDA

View Full Version : using VBScript to start an application when a form is opened.



Yemi
10-22-2010, 08:53 AM
Could someone help me:
1. How do I make my Outlook form to automatically launch an application (*.exe) when I open form is opened/display?

2. What is the syntax of the application-launching statement that I can put in the "Function Item_Open() ... End Function" of the vbscript of the form to make the application start when the form is open?

An early response will be appreciated.

Thanks.

Crocus Crow
10-25-2010, 01:39 PM
Try the Shell function, for example:

Shell "C:\Path\To\The\Application.exe"