hi all, how can i start any application from c sharp
i mean for example, if i have an openfiledialog and the user opened it and selected any file and opened it, i need this file to opened in its application whatever its extension and its default start application.
i have googled and found that Process.Start takes the file name and its application but i don't know what is the type of the file the user is going o open
thanks in advance for any replies.
gladiator1919
0
Newbie Poster
Recommended Answers
Jump to PostProcess.start() will run an application. But if you pass to it a document. like a .jpg it will open in whatever its default application is. for example passing "http://www.dianiweb.com" would open your default web browser and navigate it to daniweb.
if you want to control the …
All 4 Replies
Diamonddrake
397
Master Poster
"ICode"
0
Light Poster
sunder.tinwar
0
Newbie Poster
gladiator1919
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.