[python-win32] Automating IE
Shitiz Bansal
shitizb at yahoo.com
Wed Feb 25 16:37:22 EST 2004
Hi,
CAn anybody explain me teh reason for this error and how to correct it
from win32com.client import Dispatch
ie = Dispatch('InternetExplorer.Application')
ie.Visible = 1
ie.Navigate2('c:\\Civil.html')
Traceback (most recent call last):
File "<pyshell#6>", line 1, in -toplevel-
ie.Navigate2('C:\\Civil.html')
File "<COMObject InternetExplorer.Application>", line 2, in Navigate2
com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147467259), None)
thanx in advance
shitiz
---------------------------------
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040225/e12b39b5/attachment.html
More information about the Python-win32
mailing list