Button browsing for picture

Ruudboy

New member
Local time
Yesterday, 20:26
Joined
Feb 14, 2007
Messages
7
I have a form with a image.
The user have to choose an image from his computer.
It can be done with a right button click and choose insert object but i want a browse button so people can search for a picture and it will be fild in auto.
So i woult like that the user not have to use the right mouse button and choose for insert object.

test.bmp
 
I would disable the right click for a production system. The user should *only* be able to perform the functions you give them. This link should help on the Browse button issue.
 
OK but I still don't know how i can make people upload a picture to the picture field ( the field above the browse button)
 
Aren't you storing a reference to the image in a table field? Then you can load the image in the current event of the form. Larry Linson has some examples at this link that should help in getting the images loaded.
 
BTW, what language is that, if you don't mind me asking?
 
Thats Dutch :P

I think i can figure it out with the last db u sended
 
Post back if you need additional assistance. There are pleanty of people here who are glad to help.
 
I copied the script with the options Images as BLOB the first option of the menu from Larry's script
I have copied the functions he asked for but after that it still doesn't work.
Is there maybe an other site where the have this kind of databases?
 
As I recall, Larry gives about three different ways to do it. I would just put a reference to the picture in a table and load the picture on the Current event of the form. Have you tried that approach?
 
its for school and it must be in the form. and the picture have to be choosen by the user
 
its for school and it must be in the form. and the picture have to be choosen by the user

I think u mean something else
 
So the picture is chosen each time the user looks at the form and this picture is not saved?
 
The pictures are located on de same pc as the database and the meaning is when u make a new record u have to choose an image with the browse button
 
And then save the path to the image in a table and load your image control with the image, right? When you look at the form later and move to this record, that same image is displayed, correct?
 

Users who are viewing this thread

Back
Top Bottom