Forums » .NET » .NET »

Open mspaint using c#


Posted Date: 21 Aug 2008      Posted By:: prasad     Member Level: Silver    Member Rank: 3723     Points: 1   Responses: 2



I want to open my image file using mspaint and then perform save as operation on that file from paint.
Can anybody tell me how can I do this using C#?
Currently I am able to open paint from C# using Process.Start(..mspaint.exe)
waht about saving file?

Need Help Urgent


Prasad




Responses

#284250    Author: vipul      Member Level: Gold      Member Rank: 43     Date: 21/Aug/2008   Rating: 2 out of 52 out of 5     Points: 2

hi,
no need to save that file because ms paint save that file

vipul,
http://dongavipul.blogspot.com

Thanks & Regards
Patel Vipul


 
#284256    Author: Sabu C Alex      Member Level: Gold      Member Rank: 370     Date: 21/Aug/2008   Rating: 2 out of 52 out of 5     Points: 4

hai prasad

use the process class in dot net to start an application
try this code


private void button1_Click
(object sender, EventArgs e)
{
Process.Start("mspaint");
}


this will start a new microsoft paint application.

Hope this will help you
Sabu


 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Return to Discussion Forum
Start new thread

Subscribe to Subscribers
Awards & Gifts
Talk to Webmaster Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India