Re: [python-win32] Failure in makepy.py

2005-06-28 Thread Mark Hammond
This sounds like a bug in Python 2.4 and you are using ActivePython. The recent pywin32 builds have a work-around for this problem, but ActivePython was built before this was in place. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fitzhugh, Cary Sen

[python-win32] Re: filling Windows properties "Summary" tab?

2005-06-28 Thread Roger Upole
R. Alan Monroe wrote: > >>> They are per-file settings, but, if I filled them in for a .py file, >>> they would persist only on this machine, but not if the file is >>> copied to another Windows box, and are unavailable on the Samba >>> server. >> >>Try it with an .mp3 file. I bet it will survive b

[python-win32] Unable to set an Excel chart's title through win32com : can you reproduce this problem ?

2005-06-28 Thread Tim Roberts
On Tue, 28 Jun 2005 18:03:17 +0900 (JST), Capiez Fabrice <[EMAIL PROTECTED]> wrote: >Hello List, >I have searched the internet and this list's archives >without success before writing this email. I apologise in >advance if I neglected something obvious. (I googled the list's archives with >"Exce

Re: [python-win32] filling Windows properties "Summary" tab?

2005-06-28 Thread Ray Schumacher
At 10:06 AM 6/24/2005, R. Alan Monroe wrote: >> They are per-file settings, but, if I filled them in for a .py file, >> they would persist only on this machine, but not if the file is >> copied to another Windows box, and are unavailable on the Samba >> server. > >Try it with an .mp3 file. I bet i

Re: [python-win32] Python-win32 Digest, Vol 27, Issue 34

2005-06-28 Thread Tony C
I would think a better approach would be to instantiate multiple instances like this. Have you tried something like this? lv1 = win32com.client.Dispatch("LabVIEW.Application") lv2 = win32com.client.Dispatch("LabVIEW.Application") hi, anybody has called two VIs in parallel?? somehow like thi

[python-win32] Failure in makepy.py

2005-06-28 Thread Fitzhugh, Cary
Hi all,   I’m trying to get connected to Rhapsody 6.0 and found the rhapsody.tlb.  If I try to run makepy on it, it gives me a Syntax Error on line 206.  I guess I can paste the info…   python c:\Python24\Lib\site-packages\win32com\client\makepy.py c:\Rhapsody60\rhapsody.tlb > "c:\Doc

[python-win32] failure in makepy.py

2005-06-28 Thread Fitzhugh, Cary
I think I found the issue.   There is some issue with dos file formats which caused my python interpreter to give a syntax error. Opened it in Gvim, saved in unix format, now it works fine..   Weird. Sorry to bug you all. Cary ___ Pyt

Re: [python-win32] Unable to set an Excel chart's title through win32com : can you reproduce this problem ?

2005-06-28 Thread Gabriel Genellina
At Tuesday 28/6/2005 06:03, Capiez Fabrice wrote: >chart.Location (Where=constants.xlLocationAsObject, >Name=sheet.Name) >try: > chart.HasTitle = True > chart.ChartTitle.Characters.Text ="title" > >The following produces: > >Excel failed with code -2146827864: OLE error 0x800a01a8 >No exte

[python-win32] threading in python

2005-06-28 Thread john taylor
hi, anybody has called two VIs in parallel?? somehow like this: * import win32com.client import thread lv = win32com.client.Dispatch("LabVIEW.Application") def start(): vi2 = lv.GetVIReference("p2.vi") vi2.Run() thr = thread.start_new_th

[python-win32] How to send an array of clusters to labview??

2005-06-28 Thread john taylor
hi all, i am using win32com to call labview from python over COM and i am using early-bounding. i want to set the value of a control element "array of cluster" in a VI, and the control in the VI is an array of clusters, which has the structure (integer, integer, string). CODE: ... >>> paramName

[python-win32] Unable to set an Excel chart's title through win32com : can you reproduce this problem ?

2005-06-28 Thread Capiez Fabrice
Hello List, I have searched the internet and this list's archives without success before writing this email. I apologise in advance if I neglected something obvious. (I googled the list's archives with "Excel" and "chart" as keywords) My problem is that I want to create or modify the title of an