> >In this case, where an indexed property had both a "Get" and a "Let"
> >handler, the Python COM stuff generates a "Value" function for the "Get"
> >part, and a "SetValue" function for the "Let" part.>
> >
> >So, you want:
>  >  objCOMAdminCatalogObject.SetValue("ID", AppID)>
> >
> >--
> >Tim Roberts, [EMAIL PROTECTED]
> >Providenza & Boekelheide, Inc.
>
> When I try SetValue I get:



Traceback (most recent call last):

*File
"C:\programming\python\dev\src\FullInstallScripts\COMObjectFullInstall.py",
line 74, in <module>
*

CreateApplication()

*File
"C:\programming\python\dev\src\FullInstallScripts\COMObjectFullInstall.py",
line 21, in CreateApplication
*

objCOMAdminCatalogObject.SetValue("ID", AppID)

*File "C:\Python25\Lib\site-packages\win32com\client\dynamic.py", line 496,
in __getattr__
*

raise AttributeError, "%s.%s" % (self._username_, attr)

AttributeError: Add.SetValue
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to