Goran Bibic

Goran Bibic

  • 484
  • 2.9k
  • 198.5k

Open image from picturebox in windows photo viewer C#

Sep 4 2018 10:32 AM
I find this solution  
I have picture saved in database and retrieved from database in picturebox...that working fine.
I need to show that picture in picture and fax viuwer
Error is : The system cant find file specified Some help?

  1. private void button12_Click(object sender, EventArgs e)  
  2.         {  
  3.             Process photoViewer = new Process();  
  4.             photoViewer.StartInfo.FileName = @"c:\\testImage.jpg";  
  5.             photoViewer.StartInfo.Arguments = @"c:\\testImage.jpg";  
  6.             photoViewer.Start();  
  7.   
  8.   
  9.         } 

Answers (1)