[python-win32] Converting VB COM register program to Python

2007-10-03 Thread r c
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

Re: [python-win32] Converting VB COM register program to Python

2007-10-03 Thread Tim Roberts
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 =

Re: [python-win32] Converting VB COM register program to Python

2007-10-03 Thread r c
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]

Re: [python-win32] Converting VB COM register program to Python

2007-10-03 Thread Tim Roberts
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)

Re: [python-win32] Porting VB 6.0 to Python

2007-10-03 Thread English, Mark
-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