Results 1 to 3 of 3

Thread: How to load all folder or DB images at once?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    4

    How to load all folder or DB images at once?

    Hi everyone,

    I have a database with images path.
    The form has a toolbar with a menu of body parts( head, torso, hands,....).

    I need help so that when the user click on the head button, all the images in database table "head_thumbnails" are loaded in pictureboxes at once.

    Thank you.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: How to load all folder or DB images at once?

    Welcome to the forums.

    1. The db contains image paths? If so, you will have issues if the image is no longer at that path or the path no longer exists.

    2. A picture property (form, picturebox, image control, etc) can only store one image at a time

    3. So, you can only load one image at a time. But you can do this in a loop.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    4

    Re: How to load all folder or DB images at once?

    Hi LaVolpe,

    Thanks for answering so quickly.

    Concerning the image path issue, i was avoiding adding them as ole (database volume).

    Let me explain the images thing:

    for exemple, for toolbar button head there is a sstab (with visibilty on/off ) wich contains 20 pictureboxes array;

    So, if I understand I have to do it manually (adding the number of picturebox), then how can I make the pictureboxes evenly distributed on sstab.

    thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width