Re: [python-win32] Python and Visual Basic Integration

2008-07-24 Thread Mark Norley
23, 2008 at 12:00 PM, Tim Roberts [EMAIL PROTECTED] wrote: Mark Norley wrote: Thanks Tim. Where would I go to find out about setting up my Python script as a COM server? (A for dummies level of instruction is what I'd be looking for :-) There have been a number of posts on this mailing

[python-win32] Python and Visual Basic Integration

2008-07-23 Thread Mark Norley
would like to be able to pass parameters to Python functions from VB and return values back to VB, just using VB for the front end while Python does all the hard work. I know I could just use Tkinter but is this sort of integration between Python and VB possible? Mark Norley

Re: [python-win32] Python and Visual Basic Integration

2008-07-23 Thread Mark Norley
Thanks Tim. Where would I go to find out about setting up my Python script as a COM server? (A for dummies level of instruction is what I'd be looking for :-) On Wed, Jul 23, 2008 at 7:28 PM, Tim Roberts [EMAIL PROTECTED] wrote: Mark Norley wrote: I've got a Python script that outputs

[python-win32] Excel and OLEObjects

2006-10-30 Thread Mark Norley
Hello I'm trying to insert an object into an Excel sheet with the following code: import win32com.client xlapp = win32com.client.Dispatch(Excel.Application) xlapp.Visible = 1 xlapp.Workbooks.Add() xlapp.ActiveSheet.OLEObjects.Add(FileName = C:\\mytext.tx', Link=False, DisplayAsIcon=False).Select