Re: [python-win32] how to automate VB fron python

2008-07-24 Thread jose simas
Hi, Your best bet would be writing an Add-In for VB6's IDE. Check out: http://oreilly.com/catalog/devvbad/chapter/ch01.html For an intro to VB Add-ins and use SpamBayes as a model for your python code: http://spambayes.sourceforge.net/ Hope this helps Jose _

Re: [python-win32] how to automate VB fron python

2008-07-23 Thread Tim Roberts
Emanuel Sotelo wrote: hi Tim Roberts, well a have install visual basic 6.0 Are you aware that Visual Basic 6.0 is now 10 years old? Software is not like wine and cheese. It does not get better with age. can you help me by telling me how to make mi VB programa into a COM Server or indic

Re: [python-win32] how to automate VB fron python

2008-07-23 Thread Emanuel Sotelo
Tim Roberts wrote: >This is kind of the inverse of the last question! >Partly, this depends on which version of VB you are using. Your VB >program can become a COM server. Once you do that, your Python code can >use it, just like Word.Application and Excel.Application. hi Tim Roberts, wel

Re: [python-win32] how to automate VB fron python

2008-07-23 Thread Tim Roberts
Emanuel Sotelo wrote: hi, i will like to now if it's posible to automate visual basic and do you do this, i have read that for word you just use Word.Application same case for excel, but i cant get to find how to run visual basic from python, or from a existing program of VB to use one of he c