Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Progress dialog
Message
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Titre:
Divers
Thread ID:
00698182
Message ID:
00698242
Vues:
24
Hey Danijel. There are a few ways to accomplish this, depending on how, exactly, the component is coded and all that.

It's unclear to me if the component that's running and taking some time is one that you wrote and have some control over. If so, you could raise an event from the component every iteration (if it's a looping process), or before each new chunk of code; and then in the client process' code, react to this event by changing some text of the screen, or incrementing a progress bar, or whatever...

If you don't have control over the called process, or you'd prefer to deal with this at the front-most screen, level, try incorporating an animated GIF into your app. This site may help you out:

http://skyscraper.fortunecity.com/capacity/402/activex.html


Good luck.

>Guys, help. This is more of an irritating issue than the critical one. I'd like to get it done, but I'll manage without it as well. If I get it done with your help, I'll probably overuse it other places as well, but what the heck...
>
>I have a client component written in VB6 and some operations are more time consuming than others. So I thought I'd try to display a modal dialog with no buttons and preferably some sort of icon and obviously little text letting the user know something is happening. Hourglass on mouse icon simply doesnt do it for me anymore. Sort of like the dialog you get when you enable a disabled LAN connection in Win2K/XP, just some text basically - no buttons. There's gotta be some Shell/WinAPI function that does something like this
>
>Hope I made myself fairly clear and thanks a bunch.
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform