This Function allows the
running of any executable program and passing of any parameters to that
application.

To start Notepad and open
a file called fred.txt:

Dim dummy as integer

Dummy = Shell
(“C:\windows\notepad.exe A:\fred.txt” ,1)

Note: the first part of
the string is the Pathname to the program.The second part is the pathname to the file that you want to openThe ,1 forces the application to take the focus.Thus it will become the active window.