Computing.Net > Forums > Programming > Visual Basic 6.0 Progress Bar

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Visual Basic 6.0 Progress Bar

Reply to Message Icon

Original Message
Name: Nick
Date: July 26, 2003 at 10:56:43 Pacific
Subject: Visual Basic 6.0 Progress Bar
OS: XP
CPU/Ram: 512mb
Comment:

Any help on creating a progress bar in visual basic 6.0, i want the progress bar to load when the webpage loads in te browser window.


Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: July 26, 2003 at 20:13:44 Pacific
Reply: (edit)

What? Are you saying that you want to create a web-based progress bar, or that you have created an application that usses the browser component and you want to display a progress bar while that page is loading?

If you mean the first, then you are probably going to be disappointed. There really would be no point in doing that because a web page is not like a program in that respect. What you would be doing is refreshing the progress bar page while your asp code was performing some work. But most asp code would not be so intensive (and if it was, you should consider creating an out-of-process handler for that).

If you mean the latter, then that is quite simple. You can drop the progress bar component onto your form (it is part of the Microsoft windows common controls v6, which you get by right clicking on the component bar and choosing components...)

You can use it during the OnProgressChange method of the webbrowser component. It is a pretty easy control to use it has a MAX value and a VALUE value (which shows the progress). You can display it as smooth or as standard.

One final note, if you are meaning to show a "loading" screen such as you see on some web animations or games, you need to learn Macromedia Flash. That is what those movies and games are made with. And Flash allows you to create a loading screen.

I hope this helps you.

Chi Happens


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software