|
-
Aug 13th, 2003, 09:48 AM
#1
Thread Starter
Addicted Member
ShellExecute in .NET {SOLVED}
Hi,
Is there a command in .NET (c# to be exact) that performs the same task as the ShellExecute API? I have a PDF file, and would like to show it - or force it to open in whatever windows would normally do with it if you double click on one. Does anybody know?
Thanks in advance,
DJ
Last edited by DJ_Catboy; Aug 14th, 2003 at 07:50 AM.
-
Aug 13th, 2003, 02:39 PM
#2
use System.Diagnostics.Process
eg:
VB Code:
System.Diagnostics.Process.Start("IEXPLORE.EXE","http://google.com");
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Aug 14th, 2003, 07:51 AM
#3
Thread Starter
Addicted Member
Perfect! Thanks a lot.
DJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|