Dim g As Graphics = CreateGraphics()
Dim b As New Bitmap("\windows\memberheader.jpg")
g.DrawImage(b, 0, 0)
g.Dispose()
anyone know how to add image??i've used tis code..it din load the image when loading the page
Printable View
Dim g As Graphics = CreateGraphics()
Dim b As New Bitmap("\windows\memberheader.jpg")
g.DrawImage(b, 0, 0)
g.Dispose()
anyone know how to add image??i've used tis code..it din load the image when loading the page
hehe what do you want to do? load an image to a picturebox?
you could just do this:
picturebox.image = image.fromfile([IMAGE PATH])
yar..din work too
the error was fromfile is not a member of Imports System.Drawing.Image
hmm it is a member of Drawing.Image, what did you do? :rolleyes:Quote:
Originally posted by kryton
yar..din work too
the error was fromfile is not a member of Imports System.Drawing.Image
Imports System.Drawing.Image
Imports System.Drawing
picturebox.image = image.fromfile(["\windows\test.bmp"]) with it
i replace the code
it's running on pocket pc
pocket pc?!:eek:
do you have Everette? or whatever it's called? how are you running it on pocket pc?:D
pocket pc emulator
cool :)