I'm trying to convert VB code that registers COM+ components to Python. I'm
unable to set values on COMAdminCatalogObject using the Value() method, it
seems to think I'm trying to call the get method?
VB Code:
Dim cat As COMAdminCatalog
Set cat = New COMAdminCatalog
Dim apps As
r c wrote:
I'm trying to convert VB code that registers COM+ components to
Python. I'm unable to set values on COMAdminCatalogObject using the
Value() method, it seems to think I'm trying to call the get method?
...
Python Code:
objCOMAdminCatalog =
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]
r c wrote:
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)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Tim Roberts
Sent: 02 October 2007 17:45
To: Python-Win32 List
Subject: Re: [python-win32] Porting VB 6.0 to Python
Dajani, Samer (PPC) wrote:
Hi everyone,
I am working on a project to port a