Solved

progressbar while loading picture

Posted on 1998-05-28
6
237 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

737 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