Hi, I am developping an image viewer and everithing is working fine.
Now, i associated this application with all jpg files. It's fine too. But when the application is launched, the image is not being opened.
I supose that i have to do something like this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
dim filepath as string= (That is what i need. How to get the file from where the application has been launched)
picturebox1.image=system.drawing.image.fromfile(filepath)
End Sub
Anyone can help me?
Thanks,