Results 1 to 4 of 4

Thread: Web Page HTML

  1. #1
    Join Date
    Feb 2008

    Unanswered: Web Page HTML

    i am trying to copy web page content using VBS
    this is a secure web page (HTTPS) and i am unable to log in using my script
    i am loading the web manualy entering user/pass

    first i have tried create an object to interact with the IE windows and save the View Source ( this is the best solution) but i read that is impossible using VBS

    now i am just trying to do CTRL A and the CTRL C and then paste it directly to excel or to output file

    still i have no success

    this is what i did so far

    set wshshell = WScript.CreateObject("WScript.Shell")
    'WScript.Sleep 1000
    wshshell.SendKeys "^A"

    no luck at all

  2. #2
    Join Date
    Jan 2007
    Provided Answers: 12
    Correct me if I'm wrong, but that's sending the focus to the window container (i.e. the iexplore.exe) not the web page window.

    May I ask why you're trying to do this?
    Home | Blog

  3. #3
    Join Date
    Feb 2008


    that's a start, how do i focus on the web page then ?

  4. #4
    Join Date
    Jul 2003
    Amsterdam, Nederland

    by the way

    You won't be able to copy a password from a https page.

    https means it's secure. so a screen grab won't work.
    Greetz Marvels -^.^-
    Developments : VB4 Through .Net; Basic; DOS ; CNC ; Sinclair
    Databases : SQL Server Through 2005; Access 3 Through 2003 ; Oracle 8 & 9.i ;
    OS : Win 3.11 Through XP ; NortonComander ; DOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts