Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Activex Programming Control Webdc > help with ms we...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 15 Topic 248 of 279
Post > Topic >>

help with ms web activeX control

by "Daniel M" <dtm28@[EMAIL PROTECTED] > Apr 13, 2008 at 09:44 PM

I have a form i need to load a web page in but i need the web page for 
completely finish loading before i go to the next step. I have created
this 
sample code to test this and am unable to get it to work. Can anyone help 
with this?

I created a dummy form for testing. It contains 1 command button and the
web control. here is the code.

Private Sub Command1_Click()
    With Me.wbbWebsite
        .Navigate URL:="www.microsoft.com"
        Do While .Busy
            DoEvents
        Loop
    End With

    With Me.wbbWebsite
        .Navigate URL:="www.google.com"
        Do While .Busy
            DoEvents
        Loop
    End With
MsgBox "done"
End Sub

Now what i would like to see is the first web page (microsoft) finish
loading before the second page loads (google). What happens is msgbox pops
up immediately. Then the second page loads. I never see the first page.

Thanks.
daniel.
 




 15 Posts in Topic:
help with ms web activeX control
"Daniel M" <  2008-04-13 21:44:08 
Re: help with ms web activeX control
"Igor Tandetnik"  2008-04-13 23:35:30 
Re: help with ms web activeX control
"Daniel M" <  2008-04-13 23:05:07 
Re: help with ms web activeX control
"Igor Tandetnik"  2008-04-14 07:54:21 
Re: help with ms web activeX control
"Daniel M" <  2008-04-17 21:55:50 
Re: help with ms web activeX control
"Jeanette Cunningham  2008-04-18 13:27:15 
Re: help with ms web activeX control
"Daniel M" <  2008-04-18 20:58:58 
Re: help with ms web activeX control
"Igor Tandetnik"  2008-04-17 23:51:06 
Re: help with ms web activeX control
"Daniel M" <  2008-04-18 20:18:27 
Re: help with ms web activeX control
"Fernando Rodriguez,  2008-05-04 20:34:53 
Re: help with ms web activeX control
"Marek Staniewski&qu  2008-05-21 00:27:45 
Re: help with ms web activeX control
<285527437@[EMAIL PROT  2008-08-13 14:40:19 
Re: help with ms web activeX control
<hai>   2008-05-29 20:02:08 
Re: help with ms web activeX control
<fredobetune@[EMAIL PR  2008-06-20 21:46:22 
Re: help with ms web activeX control
"Margaret" <  2008-07-06 12:01:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:27:09 CST 2008.