SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Launching and navigating IE in the background

    If I wanted to access a webpage but not necessarily want the browser to be launched/visible, how would I do this? I know how to launch a webpage and write code to login and interact with controls when there is a browser (.settext,.click, etc.) but if I want to run this as a background process where .visible = False, then I need some help.

    I'd need to be able to log into a webpage, enter my search parameters and then read in the browser.document to get at the objects I want.

    Any thoughts would be greatly appreciated.

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Philly
    Posts
    1,231
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Launching and navigating IE in the background

    If you use the object browser, and the .object method you may be able to do some simple things like you mention.

    'Add reference to MS Internet Controls

    dim myIE as new Internet Explorer

    myIE.visable = true
    myIE.navigate "http://blah blah"

    then when you get to driving controls, I know that the difference between using ().click vs. ().object.click is that the second way does not use the mouse to click the control, but rather calls the DOM click method. I am sure that this can carry through in some way to other objects, but have never tried it. My ?guess? on a settext would be something like ().object.text = "alias"
    ~Alias~

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:42 AM.

Copyright BetaSoft Inc.