can any body help me on how to made an image uploader,cause i need it in my project..the problem is i need to upload an image to picturebox:cry:
Printable View
can any body help me on how to made an image uploader,cause i need it in my project..the problem is i need to upload an image to picturebox:cry:
Jose Jr.
Up load an image from where.
You can just set the properties for the Picture Box in the Properties window
at design time.
I'm not sure I understand what you need to do??
Good Luck
You can also do it through code
Code:Picture1.Picture = LoadPicture("C:\MyImage.jpg")
may friend already use that code....wat i mean is that i will be using the image box to show up the picture but i also need to have a button that can search inside the computer like the button "browser"...can you help me to have that kind of code
Code:'Add reference to "Microsoft Commond Dialog Control"
'Draw a Common Dialog onto the form
'Draw an image control onto the form
Private Sub Command1_Click()
On Error GoTo Errmsg
With CommonDialog1
.Filter = "All images|*.jpg;*.bmp|All File|*.*"
.CancelError = True
.ShowOpen
End With
Image1.Picture = LoadPicture(CommonDialog1.FileName)
Exit Sub
Errmsg:
If Err.Number = cdlCancel Then Exit Sub
MsgBox Err.Description
End Sub
How about if i'll be using the picture box to show up the picture and thesame way i'll be using also a button that can search inside the computer like the button browser......
Have you tried Andrew's code ?
not..yet but i'm trying to do it now.:blush:
meh not sure if this will help but look at this program i made :)
It is a picture editor very basic.
Attached.
i've tryied to download wat you post but their's an error..it won't show up..thnks for the help:)
[QUOTEJose JR.]i've tryied to download wat you post but their's an error..it won't show up..[/QUOTE]
what is the error that you are getting...