?
Solved

progressbar while loading picture

Posted on 1998-05-28
6
Medium Priority
?
240 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Accepted Solution

by:
qhenry earned 40 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

770 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