Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Tim Roberts
Xue Shan wrote: > Hi all, > I'm a Python beginner and trying to run the codes from Chapter 5 of > Python pramming on win32. But when I tested the COM object with VBA, > I got an error msg saying runtime error 438. Is there anyone can help > me out? Thanks in advance! > > Here are the codes: > [

Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Xue Shan
Hi Tim, Thank you very much for pointing out my mistakes. But, it still doesn't work because of runtime error 438. It seems in VBA it doesn't CreateObject sucessfully. Any ideas of solving it? Thanks a lot! Shan 2008/4/4, Tim Roberts <[EMAIL PROTECTED]>: > > Xue Shan wrote: > > Hi all, > > I'm a P

Re: [python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Tim Roberts
Xue Shan wrote: > Hi all, > I'm a Python beginner and trying to run the codes from Chapter 5 of > Python pramming on win32. But when I tested the COM object with VBA, > I got an error msg saying runtime error 438. Is there anyone can help > me out? Thanks in advance! > > Here are the codes: > [

[python-win32] A problem on testing COM object with VBA

2008-04-04 Thread Xue Shan
Hi all, I'm a Python beginner and trying to run the codes from Chapter 5 of Python pramming on win32. But when I tested the COM object with VBA, I got an error msg saying runtime error 438. Is there anyone can help me out? Thanks in advance! Here are the codes: [Python] class PythonUtilities: