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

2008-07-24 Thread Mike Driscoll
Mark Norley wrote: Thanks for the advice everyone. I've managed to get my VB GUI talking to a simple "Hello World!" Python COM server (there was a quickstart help page in the pywin32 package that I hadn't spotted). As I understand it, you can call VB stuff from within IronPython and vise-ve

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

2008-07-23 Thread Mark Norley
Thanks for the advice everyone. I've managed to get my VB GUI talking to a simple "Hello World!" Python COM server (there was a quickstart help page in the pywin32 package that I hadn't spotted). On Thu, Jul 24, 2008 at 3:06 AM, Vernon Cole <[EMAIL PROTECTED]> wrote: > E, ummm, (cough)... >

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

2008-07-23 Thread Vernon Cole
E, ummm, (cough)... Wouldn't it be a lot easier to write the GUI in python (perhaps using wxpython?) and simply import and call the (other) python script? Writing text to a notebook page is quite trivial compared to interprocess communications. I can make a sample if you are interested. -- Ve

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

2008-07-23 Thread Tim Roberts
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 list in the last couple of months on this topic. Plus, if you

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 outp

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

2008-07-23 Thread Tim Roberts
Mark Norley wrote: I've got a Python script that outputs a large text file of data and I've recently made a simple GUI for it in Visual Basic (2008). While it's simple enough to launch the Python script and pass it command line parameters from VB using Shell(python etc), I'm wondering how to