|
-
Jun 27th, 2010, 04:16 AM
#1
Thread Starter
New Member
VB Progress Bar... Can it do what I want?
Hello
So, first off I'm using a VB 2008 and I'm trying to make a login pannel almost got that done. But I dont know how to do one thing. I need to make a progress bar check to see if a website is up and running and if it is green text comes up saying connected I would not be asking if I could find a way to do this.
-
Jun 27th, 2010, 04:29 AM
#2
Re: VB Progress Bar... Can it do what I want?
Welcome to the forums.
A ProgressBar in itself can only display progress.
If the web server isn't configured to ignore pings, you can use the My.Computer.Network.Ping method to ping the server.
-
Jun 27th, 2010, 04:46 AM
#3
Re: VB Progress Bar... Can it do what I want?
Perhaps a simple marquee progress bar while pinging can indicate that something is happening.
-
Jun 27th, 2010, 05:50 AM
#4
Thread Starter
New Member
Re: VB Progress Bar... Can it do what I want?
 Originally Posted by MaximilianMayrhofer
Perhaps a simple marquee progress bar while pinging can indicate that something is happening.
Any idea how i would start that code?
-
Jun 27th, 2010, 06:11 AM
#5
Re: VB Progress Bar... Can it do what I want?
Well you would do the ping in a background thread.
Start the marquee, invoke a background worker to ping, and when the worker completes take appropriate action.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|