RE: Shell a program and run a document
From: Synthanator (anonymous_at_discussions.microsoft.com)
Date: 03/06/04
- Next message: ezzatm: "Base class"
- Previous message: Rich: "Re: find row in datagrid and move to it?"
- In reply to: Tom McLaughlin: "Shell a program and run a document"
- Next in thread: Richard: "Re: Shell a program and run a document"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Mar 2004 23:16:07 -0800
Hi Tom, not sure if this will help but if you don't have to use shell you could use:
System.Diagnostics.Process.Start("Your.pdf")
And that will launch the pdf you specified in the default application (Adobe Acrobat Reader).
Regards, Synthanator
----- Tom McLaughlin wrote: -----
I need to start Acrobat reader and load the file guide.pdf
The following code will start the program but how do I get
it to load my document guide.pdf?
Shell("C:\Program Files\Adobe\Acrobat 6.0\Reader\AcRord32.exe ")
The code above I spell out where Acrobat reader is, I there a way to find it
and load my file from a application path?
- Next message: ezzatm: "Base class"
- Previous message: Rich: "Re: find row in datagrid and move to it?"
- In reply to: Tom McLaughlin: "Shell a program and run a document"
- Next in thread: Richard: "Re: Shell a program and run a document"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|