Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have developed one IE automation project and deployed in some different clients, everywhere its working fine but my one client end I am facing one issue. which creating an instance with Create Object is giving me error no 430, "Class does not support Automation or does not support expected interface".
<pre lang="vb">Dim WithEvents IE As InternetExplorer

Private Sub Form_Load()

Set IE = CreateObject("Internetexplorer.application") '' Here I am getting an error.
IE.Visible = True
IE.Navigate ("www.google.com")

End Sub

Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant)
MsgBox "Page Loaded"
End Sub

</pre>

1. I tried all mentioned steps in http://www.colba.net/~hlebo49/er430.htm, but none of them worked for me.
2. I also tried to migrate IE 6 to IE 8, but still its not working.
3. I have checked that given reference are proper.
4. I reregister below dlls but it couldn't resolve my issue.
<pre>regsvr32 Shdocvw.dll
regsvr32 Shell32.dll
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll
regsvr32 msscript.ocx
regsvr32 dispex.dll
regsvr32 vbscript.dll</pre>

Can anybody help me out that I am missing what?
Here one surprise I found that I have been installed one software, which resolved this issue but while uninstalling that it appears again.

I am using Windows XP Prof. Ser. Pack 3 with IE 6.

Please help me out and thanks in advance...!
Posted

1 solution

Install Visual Basic Runtime on the client. It might solve the problem.
Ref: http://support.microsoft.com/kb/244493[^]
Runtime: http://support.microsoft.com/kb/290887[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900