|
-
Jan 24th, 2003, 09:47 PM
#1
Thread Starter
New Member
picturebox
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
-
Jan 24th, 2003, 09:57 PM
#2
hehe what do you want to do? load an image to a picturebox?
you could just do this:
picturebox.image = image.fromfile([IMAGE PATH])
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jan 24th, 2003, 10:10 PM
#3
Thread Starter
New Member
yar..din work too
the error was fromfile is not a member of Imports System.Drawing.Image
-
Jan 24th, 2003, 10:25 PM
#4
Originally posted by kryton
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?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jan 24th, 2003, 10:40 PM
#5
Thread Starter
New Member
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
-
Jan 24th, 2003, 10:46 PM
#6
-
Jan 24th, 2003, 10:48 PM
#7
Thread Starter
New Member
-
Jan 24th, 2003, 11:00 PM
#8
cool
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|