>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