25-10-24, 12:03 PM
جرب الكود المعدل التالي :
كود :
If PictureBox1.Image IsNot Nothing Then
Dim tempFilePath As String = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "tempImage.png")
Using tempImage As New Bitmap(PictureBox1.Image)
tempImage.Save(tempFilePath, System.Drawing.Imaging.ImageFormat.Png)
End Using
Process.Start(tempFilePath)
End If

