Re: [python-win32] Referencing IE's DOM when using free threadwin32com.client.DispatchWithEvents

2007-05-14 Thread Rex Corrovan
So I am not sure what research you have done, or if this is inherited, or how much refactoring you would need to do, but out of curiousity, have you thought about using PAMIE? I have used it with quite a lot of success. It may not be the answer you are looking for, but you might want to have a l

Re: [python-win32] py2exe all of it

2007-02-13 Thread Rex Corrovan
I have built and use exe's using win32com for both db access and com API interaction, so this part is doable. I think what you are asking though is not going to work, you basically want to take all the libs, all the dll's etc, package them all up with python into an exe and just run python and

Re: [python-win32] Recovering from AODB Exceptions, possible?

2007-02-12 Thread Rex Corrovan
sure I am using good practices :) Rex From: "Mark Hammond" <[EMAIL PROTECTED]> To: "'Rex Corrovan'" <[EMAIL PROTECTED]>, Subject: RE: [python-win32] Recovering from AODB Exceptions, possible? Date: Sat, 10 Feb 2007 18:04:19 +1100 > So I have a func

Re: [python-win32] Recovering from AODB Exceptions, possible?

2007-02-12 Thread Rex Corrovan
Awesome! CancelUpdate did the trick, thanks. From: "Roger Upole" <[EMAIL PROTECTED]> To: Subject: [python-win32] Re: Recovering from AODB Exceptions, possible? Date: Fri, 9 Feb 2007 23:41:50 -0500 Rex Corrovan wrote: > So I have a function that ries to add a record: &g

[python-win32] Recovering from AODB Exceptions, possible?

2007-02-09 Thread Rex Corrovan
So I have a function that ries to add a record: def EntryAdd(self, dataDict): try: self._DBConn.MoveFirst() self._DBConn.AddNew() for key, value in dataDict.items(): self._DBConn.Fields.Item(key).Value = value self._DBConn.Updat

Re: [python-win32] using a COM interface with [in, out]

2007-01-25 Thread Rex Corrovan
:47:14 -0800 Rex Corrovan wrote: > Nevermind, I am an idiot, figured out my problem. Sorry to bother. What was the problem? You can help the next guy trying to do this. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. ___ Python-

Re: [python-win32] using a COM interface with [in, out]

2007-01-24 Thread Rex Corrovan
Nevermind, I am an idiot, figured out my problem. Sorry to bother. From: "Rex Corrovan" <[EMAIL PROTECTED]> To: Python-win32@python.org Subject: [python-win32] using a COM interface with [in, out] Date: Wed, 24 Jan 2007 16:31:30 -0800 So I am using an interface where the .idl

[python-win32] using a COM interface with [in, out]

2007-01-24 Thread Rex Corrovan
So I am using an interface where the .idl looks like this: HRESULT getVersion( [in, out] BSTR* Version, [in, out] BSTR* error, [out, retval] VARIANT_BOOL* ); [id(0x60030002)] Now, I ran makepy, and tried to use th

Re: [python-win32] MemoryError: CreatingSafeArray when trying to use VBCOM API

2007-01-10 Thread Rex Corrovan
ypeError: Objects for SAFEARRAYS must be sequences (of sequences), or a buffer object. Meh thanks though Rex From: "Mark Hammond" <[EMAIL PROTECTED]> To: "'Rex Corrovan'" <[EMAIL PROTECTED]>, Subject: RE: [python-win32] MemoryError: Cre

[python-win32] MemoryError: CreatingSafeArray when trying to use VB COM API

2007-01-09 Thread Rex Corrovan
I have a VB COM App I am trying to use. I used makepy and it generated the wrapper. Then I go to use: import win32com.client o = win32.client.Dispatch("vbAPI.App") o.myFunct(arg1=("test","test"), arg2=1, arg3=("test2","test2")) The function in the makepy generated wrapper looks like this: def