Importing pictures

hooks

Registered User.
Local time
Today, 14:41
Joined
Aug 13, 2004
Messages
160
Hey all. I have a .mdb that links to about 4 thousand 10k .jpgs. Everything is working fine and the database is only about 4 mb.

My problem is that everytime the database imports the picture for it to display on the form a Importing box pops up on the screen for just a fraction of a second. Enough to be annoying. Anyone know how to get this box to not pop up on the screen.

Thanks a bunch
 
Bump. Anyone have any ideas? I have search all over the web in all kinds of places and can't find a thing.

Thanks
 
Dev has a fix posted here. I haven't tried it.
 
I guess there is no easy way to do it.

Thanks all
 
Importing Pictures

Need some "how to" for importing pictures or linking pictures to a database file. Anybody?
 
Cera did you figure it out? If not i will try to help you as much as i can. Im no expert.

hooks
 
I don't have as many pictures as you do, only about 800+, as part of my travel photo album.

I don't see any hesitation, but then I'm not importing anything in the formal sense of "import."

What I do is in my image control, there is a property called PICTURE that can be the filename of the file I want to see. (I think it is PICTURE, check your object browser for image controls to find the thing that points to the picture.) I also set the properties appropriately to not tile the picture, to allow it to zoom, but to force it to maintain proportion. Also, I don't allow it to imbed the picture in the DB. I think that's a property, too.

What I store in the db is some descriptive stuff and the fully qualified file spec (device, path, name, type).

In my form's OnLoad event, I pop the file spec into the appropriate property. I never see much hesitation even on an old 400 MHz box, and on my newer box, it screams. But there is never an import dialog or box or anything like that. Never. 'cause I'm not importing.

Now, you MIGHT have a problem with loading the file specs for 4,000 files, but my question is, how do you identify the files now? 'cause you should be able to do a one-time query to populate a text field with your file spec (using the same selection rules) and that would be the end of the problem. And if you already have the file specs in a table, you're already where you need to be!
 
Doc_Man, I have the excact same setup as you. This is really driving me crazy

I identify the picture with a field in a table.
 
On my 400 MHz box, this is a one-second operation.

On my 2.8 GHz box, I can't measure how fast it is.

But no dialog is visible at any time.
 

Users who are viewing this thread

Back
Top Bottom