-
Apr 13th, 2006, 02:48 PM
#1
Thread Starter
Addicted Member
[2005] run any type of file
hi
i want code for run any type of file ,,
i mean code to open any type of file ,, if it is picture it will open in acdsee or it is text it will be open in notepad ,,
i mean i want like you do double click on it ,,
i hope you understand me
thank you
-
Apr 13th, 2006, 02:57 PM
#2
Re: [2005] run any type of file
VB Code:
process.start([i]filename here[/i])
this is basically equal to double clicking the file, it will open it using its default program (ie if notepad is the default for a .txt file, it will open the file in notepad)
-
Apr 13th, 2006, 02:57 PM
#3
Re: [2005] run any type of file
Check out the Process class, mainly .Start
-
Apr 13th, 2006, 03:11 PM
#4
Thread Starter
Addicted Member
Re: [2005] run any type of file
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
|