Hello, sorry for disturbing.
I have a pictureBox on my form. May i know how to open the image from the pictureBox in Windows Picture and Fax Viewer?
I've tried the code below, but it failed because the pictureBox1.Ima ge is not in String format.
Is anyone can help?
Thanks in advance.
By, Aeris.
I have a pictureBox on my form. May i know how to open the image from the pictureBox in Windows Picture and Fax Viewer?
I've tried the code below, but it failed because the pictureBox1.Ima ge is not in String format.
Code:
private void button1_Click(object sender, EventArgs e)
{
Process p = new Process();
p.StartInfo.FileName = "rundll32.exe";
//Arguments
p.StartInfo.Arguments = @"C:\WINDOWS\System32\shimgvw.dll,ImageView_Fullscreen " + pictureBox1.Image;
p.Start();
}
Thanks in advance.
By, Aeris.
Comment