Re: Help needed on COM issue

2006-04-27 Thread Mike Howard
Thanks for the suggestions. I tried the tuple to list to tuple method with no success Its not a .Value issue either. In order to keep going I've left this code as vb for the moment -- http://mail.python.org/mailman/listinfo/python-list

RE: Help needed on COM issue

2006-04-19 Thread Stefan Schukat
e- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mike Howard > Sent: Wednesday, April 12, 2006 1:12 AM > To: python-list@python.org > Subject: Help needed on COM issue > > I'm doing some conversion of vb code to python code and I > have

RE: Help needed on COM issue

2006-04-12 Thread Tim Golden
[Mike Howard] | Should read ... | I'm doing some conversion of vb code to python code and I have a | problem with a COM object | | Specifically in VB I can do | Set oR = oA.Action | debug.print oR.Item(1,2) | [returns say "1"] | oR.Item(1,2)="4" | debug.print oR | [returns "4"] | oR.Update | [

Re: Help needed on COM issue

2006-04-11 Thread Philippe Martin
Hi, First I'd check if the type is indeed tuple. How about converting the tuple to a list, modifying the list, then making it a tuple again ? Philippe Mike Howard wrote: > Should read ... > I'm doing some conversion of vb code to python code and I have a > problem with a COM object > > Spec

Re: Help needed on COM issue

2006-04-11 Thread Mike Howard
Should read ... I'm doing some conversion of vb code to python code and I have a problem with a COM object Specifically in VB I can do Set oR = oA.Action debug.print oR.Item(1,2) [returns say "1"] oR.Item(1,2)="4" debug.print oR [returns "4"] oR.Update [saves the record with the new item] In P

Help needed on COM issue

2006-04-11 Thread Mike Howard
I'm doing some conversion of vb code to python code and I have a problem with a COM object Specifically in VB I can do Set oR = oA.Action debug.print oR.Item(1,2) [returns say "1"] oR.Item(1,2)="4" debug.print oR [returns "4"] In Python I need to do .. oR=oA.Action() print oR.Item(1,2)[0] [re