On 10/3/07, Tim Roberts <[EMAIL PROTECTED]> wrote:
>
> 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
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
> >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 Rob
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 = win32com.client.Dispatch("COMAd
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 COMAdminCatalogCo