Opening a File with associated program

Jeff_J
07-17-2001, 08:18 AM
How can I have my program call a file (in this case a PDF) and have Windows open it with the associated viewer for that extension?

waqas
07-17-2001, 08:23 AM
just give a path of your file by using shell
for example

"shell "c:\whatever.pdf"

waqas

Anis
07-17-2001, 08:23 AM
Shell "d:\abc.pdf", vbNormalFocus

anis
"Miles to Go Before I Sleep!!........."

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum