|
-
Jul 26th, 2006, 02:18 PM
#1
Thread Starter
Addicted Member
Opening a file in a specific program.
I apologise if this seems like a newbie question
Is there a way such that i can get a file to open with a specific program which may not be the windows default program.
For example if i wanted to write some code to open a '*.bmp' file in 'paint' rather than 'windows image viewer' how could i do this? (without changing the 'opens with' program in the files properties)
Thanks in Advance
Stefan
Last edited by stefano5; Jul 26th, 2006 at 02:21 PM.
-
Jul 26th, 2006, 02:39 PM
#2
Re: Opening a file in a specific program.
Some programs ,not all take file name from the arguments
VB Code:
Process.Start("mspaint","C:\df.bmp")
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 26th, 2006, 02:54 PM
#3
Thread Starter
Addicted Member
Re: Opening a file in a specific program.
Thanks allot
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
|