Re: [python-win32] Looking for sample code

2005-09-07 Thread bob
At 10:02 AM 9/7/2005, Tim Roberts wrote: >On Tue, 06 Sep 2005 13:45:09 -0600, Jim Vickroy <[EMAIL PROTECTED]> >wrote: > > > > > > >I am not a MS Access user, but I have successfully used the information at > > > >http://www.connectionstrings.com/ > > > >to access the information in Excel files via

[python-win32] Running Access Commands (was Python Problem)

2005-09-07 Thread bob
At 08:58 AM 9/7/2005, Arun Tyagi wrote: >Hi Bob, > >last time i asked u how to run access macro through >python? and ur solution worked fine, so thanks a lot fot it. You are welcome. And please in the future give a meaningful subject on your questions. it helps us track the questions. Also please

Re: [python-win32] Looking for sample code

2005-09-07 Thread Tim Roberts
On Tue, 06 Sep 2005 13:45:09 -0600, Jim Vickroy <[EMAIL PROTECTED]> wrote: > > >I am not a MS Access user, but I have successfully used the information at > >http://www.connectionstrings.com/ > >to access the information in Excel files via ODBC. > I'd like to comment just for completeness, in

[python-win32] Re: More COM Problems

2005-09-07 Thread Roger Upole
If you know where the application's typelib (*.tlb) is, you can run makepy manually against it. You can also run makepy on an exe, dll, or ocx if it contains type information. Alternately, you might be able to register the typelib using pythoncom.RegisterTypeLib if the application doesn't do so it

[python-win32] Re: Getting an Excel running instance

2005-09-07 Thread Laura & Marco
*Roger Upole <[EMAIL PROTECTED]>: > You should be able to reference it as self.Application. Thank you Roger. I resolved in a similar way after finding this archived message from Mark Hammond: http://mail.python.org/pipermail/python-win32/2004-October/002443.html Regards, Marco

[python-win32] Re: Getting an Excel running instance

2005-09-07 Thread Roger Upole
You should be able to reference it as self.Application. hth Roger "Marco & Laura" wrote: > Hi. > I'm trying to implement an Excel add-in based on the demo I found in > win32com/demos (excelAddin.py) > The demo basically adds a CommandBar with a Button and register itself. > What > I'

Re: [python-win32] py2dll - or an example of a dll writen in python?

2005-09-07 Thread Fred Gansevles
> Hi, > > I have a dll that I'd like to write a simple replacement for in python. > Is this possible? Is there an example somewhere of a dll written in python? > > The example could be for something as simple as a single dll export > implementing the following GetApiVersion call... > > typedef