Results 1 to 5 of 5

Thread: VB Progress Bar... Can it do what I want?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    5

    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.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    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.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: VB Progress Bar... Can it do what I want?

    Perhaps a simple marquee progress bar while pinging can indicate that something is happening.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2010
    Posts
    5

    Re: VB Progress Bar... Can it do what I want?

    Quote Originally Posted by MaximilianMayrhofer View Post
    Perhaps a simple marquee progress bar while pinging can indicate that something is happening.
    Any idea how i would start that code?

  5. #5
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    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
  •  



Click Here to Expand Forum to Full Width