Results 1 to 6 of 6

Thread: Status Bar & VB

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    How do you read the text in the Status Bar of a Window's program from VB?

    Thanks.

    Chris

  2. #2
    Registered User struntz's Avatar
    Join Date
    Aug 1999
    Location
    Brockway,Pa,USA
    Posts
    199

    Post

    Hm . . . what do u mean "read" the text in a status bar? IF are talking about adding text and what not to the Little spaces i forgot what they are called
    just use the property option its very simple to use . . . it has most of the things u would want in the status bar like NUM,CAPS,DATE,TIME and a few other.

    ------------------
    Cory Sanchez
    Young Student
    ICQ#: 18640149



  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Those little thing in a StatusBar called Panels. So, if you for example want to change the text in the first panel then you can use something like this:

    StatusBar1.Panels(1).Text = "Here is my Text"


    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    When I say "Read" this is what I mean. When a web page completes loading, the word "Done" appears in the left-most panel of the Status Bar in IE4. I would like my VB program to check for this word in the IE panel so that it can continue to execute operations (i.e., move around on the newly opened web page, click "Enter", etc.) after this word has appeared.

    In other words, I am really trying to determine when a web page has finished loading. If you know of a better way, or ANY way to do this, please let me know.

    Thanks.

    Chris

    ------------------
    CJ

  5. #5
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    You can create your own browser using Microsoft WebBrowser control. This control has an event called NavigateComplete2. On that event you can do whatever you wanted to do after the web page has completed loading. Also, you can provide your own status bar with the details of the web page being loaded. There's is an event called StatusTextChange which has one argument ByVal Text As String. You can use that argument to show the status of the web page loading process (i.e. like IE is showing when it load the web page: Openning www.yoursite.com......1 Item(s) remaining....etc.


    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


  6. #6

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    Thanks for the information, Serge.

    I may have to use the Web Browser control. Since I just wanted to extract information from a web server, I am going to try to use the "Internet Transfer Control" and by-pass using a browser altogether. However, the location that I am trying to run the VB program from has all kinds of security on Web access and the site that I am extracting information from is Secure(https).

    Thanks again,

    Chris

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