Before using Visual Basic 2005 it was possible to write:
LoadPicture ( “Path of File” )
There is any way to do same thing without picturebox and without e.graphics?
I would like to use path of file to load bitmap so, I think I should have something similar to
“Dim MyBitmap As Bitmap” and later call file with image. It is possible?
Dim pic As Bitmap
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
pic = New Bitmap("c:\picture.extension")
Me.PictureBox1.Image = pic
You don't have to use the picture box but it will show you that it loaded the picture
Following code (when placed inside my button_click event) allows me to see image without PictureBox:
My problem is I don't need image in all my Form!!!
It is possible "inform" my program to my image be visible only in a partial place of my Form?
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?