Solved

progressbar while loading picture

Posted on 1998-05-28
6
239 Views
Last Modified: 2012-05-04
I want to display a progressbar when a picture is being loaded (Like Paintshop Pro does), to let the user know there is something happening. Picturesize lies between 700 Kb and > 4 Mb.

0
Comment
Question by:Pmijnster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Expert Comment

by:qhenry
ID: 1461887
I do this with a Lead Tools ActiveX control to display the picture. It provides a ProgressStatus event which can be used to drive a progress bar. It works real well!


0
 

Author Comment

by:Pmijnster
ID: 1461888
I have a different Active X control (Image Knife), which doesn't supply this kind of info. Sorry, this answer is no use to me.
0
 
LVL 1

Expert Comment

by:Cardo
ID: 1461889
What kind of information do you get from this control.

Any form of percentage loaded available while loading?

When loading does your VB Code pause until loaded, or does it continue and the control notify you via an event when loading is complete?

You may want to do something like display a simple AVI in a window while it is loading, like when files are being deleted.

Cardo.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
qhenry earned 20 total points
ID: 1461890
Pmijnster,

I assessed Image Knife among others and finally settled on Lead Tools as it gave me the events and file formats I needed.

This will give you the progress bar event you need while an image loads, with a very smooth flow of data. The progress bar runs very smoothly.

qhenry
 
0
 

Author Comment

by:Pmijnster
ID: 1461891
There is nothing returned from the control, and my client wants to know how long he has to wait until the picture is shown.
Image Knife uses the same method to load a picture as the ordinary picturebox. Imagine having just a picturebox to display a picture, and you want to show a progress bar...
0
 

Expert Comment

by:qhenry
ID: 1461892
> Imagine having just a picturebox to display a picture, and you want to show a progress bar...

That's exactly the way I use the Lead Tools control - as a picture box that drives a progress bar. Look at their trial version - it works great!

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question