MarkDicken
IS-IT--Management
Can anyone help me with the Webbrowser Object, basically I want to load up a page and then save it to disk and have this in a loop. I have tried the .busy option but it does not work for me??? The FULL EXAMPLE is below :-
This is a script I wish to run on the Latest Jobs so I can get automatic notifications when a suitable contract position is posted.
Regards, Mark Dicken
Dim memPageNo
Dim memPageName
memPageName = "memPageNoStart = 12648639
memPageNoFinish = 12648659
Do While memPageNoStart < memPageNoFinish
memFullPageName = memPageName & memPageNoStart
Me![txtViewURL] = memFullPageName
Me!myweb.Navigate Me![txtViewURL]
Rem *** NEED A BIT OF CODE to WAIT for the above
Rem NAVIGATED TO LOAD PLEASE CAN ANYONE HELP ME
Rem IN THIS AREA !!!!!!!!!!!!!!!!!!
Me![txt1] = myweb.Document.body.innerHTML
Open "c:\jobserve\" & memPageNoStart & ".txt" For Output As #1
Print #1, Me![txt1]
Close #1
memPageNoStart = memPageNoStart + 1
Me.Repaint
Me![txt1] = Null
Loop
This is a script I wish to run on the Latest Jobs so I can get automatic notifications when a suitable contract position is posted.
Regards, Mark Dicken
Dim memPageNo
Dim memPageName
memPageName = "memPageNoStart = 12648639
memPageNoFinish = 12648659
Do While memPageNoStart < memPageNoFinish
memFullPageName = memPageName & memPageNoStart
Me![txtViewURL] = memFullPageName
Me!myweb.Navigate Me![txtViewURL]
Rem *** NEED A BIT OF CODE to WAIT for the above
Rem NAVIGATED TO LOAD PLEASE CAN ANYONE HELP ME
Rem IN THIS AREA !!!!!!!!!!!!!!!!!!
Me![txt1] = myweb.Document.body.innerHTML
Open "c:\jobserve\" & memPageNoStart & ".txt" For Output As #1
Print #1, Me![txt1]
Close #1
memPageNoStart = memPageNoStart + 1
Me.Repaint
Me![txt1] = Null
Loop