Hello, everybody.
I am running ActivePython 2.0b1, and can't seem to get GetObject() to work
as advertised. Here's a sample:
>>> import win32com
>>> test = win32com.client.GetObject("WinNT://PIPENTWA")
Traceback (innermost last):
File "<interactive input>", line 1, in ?
File "E:\Python20\win32com\client\__init__.py", line 80, in GetObject
return Moniker(Pathname, clsctx)
File "E:\Python20\win32com\client\__init__.py", line 95, in Moniker
moniker, i, bindCtx = pythoncom.MkParseDisplayName(Pathname)
com_error: (-2147221020, 'Invalid syntax', None, None)
Any ideas what might be causing this? I'll gladly admit that I am almost an
absolute Python newbie, and have probably overlooked something obvious.
Thanks for any advice you can offer.
--- Chris
---
Christopher W. Carlson / IS Administrator
CertainTeed Corporation / Waco, Texas
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython