Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetObject
Message
 
To
26/07/2000 17:32:52
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Miscellaneous
Thread ID:
00397351
Message ID:
00397508
Views:
10
>Hi All!
>How to receive the reference on started IE?

I thought that it was an easy one but ... I don't know!

It easy to start a new instance using this code (see Command1):
Private Sub Command1_Click()
Dim x As SHDocVw.InternetExplorer
    Set x = New SHDocVw.InternetExplorer
    x.Visible = True
End Sub

Private Sub Command2_Click()
Dim x As Object
    Set x = GetObject(, "SHDocVw.InternetExplorer")
    x.Visible = True
End Sub
Normally, you use the same class name but in this case I always receive a 429 error!

If I think to something else, I'll get back to you.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform