adding controls - possible or not

j4b0l

New member
Local time
Today, 06:48
Joined
Aug 27, 2006
Messages
3
hello
I`m using Access 2000 and have situation like this:
I want to dynamically fill form with images with VB. What I have is:
- table with list of complete paths to images (number may vary)
- empty form with OnLoad event, where I want to put my code.
What I want is:
- after loading, a Form with all of the images from the table mentioned above.

And my question is: is it possible to make this without using subform with images, only by dynamically adding controls to form?
 
My experience is that it will take too long to load each image in access. I created a browse form once, and placed about 40 image controls, then looped through each control and table record and load the images one by one. I noticed that as the images loaded the CPU and RAM use went through the roof
 
Oldsoftboss said:
I created a browse form once, and placed about 40 image controls, then looped through each control
but it was static controls, saved on form, not created by VB script?
 
Thats correct. The idea was to create a form as you described, so as a first step I created the form as I described to see if I could achive what I wanted. After it loaded a few images, it got slower and slower so I abandoned the idea.

Dave
 
And have you solved this problem in some other way or image browsing idea was fully abandoned?
 
My suggestion would be to put next / previous buttons on the form to load the next 10 images.

Dave
 
Hi Oldsoftboss,

The attempt you have made to do this is great. I have saved it and will modify for my own use if you don't mind. It is just the sort of thing that I need to cataloguing a load of pictures.

Will let you know how i get on with it in due course.

Thanks

Kevin
 

Users who are viewing this thread

Back
Top Bottom