Re: python win32com problem

2009-11-15 Thread elca
incompleted script source in here => >> >> http://elca.pastebin.com/m6f911584 >> >> if anyone can help me really appreciate >> >> thanks in advance >> >> Paul >> >> -- >> View this message in >> context:http://old.nabble.com/python-w

Re: python win32com problem

2009-11-15 Thread Jon Clements
m6f911584 > > if anyone can help me really appreciate > > thanks in advance > > Paul > > -- > View this message in > context:http://old.nabble.com/python-win32com-problem-tp26358976p26358976.html > Sent from the Python - python-list mailing list archive at Nabble.com.

python win32com problem

2009-11-15 Thread elca
nce Paul -- View this message in context: http://old.nabble.com/python-win32com-problem-tp26358976p26358976.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

RE: win32com problem: more than one instance

2007-08-31 Thread Stefan Schukat
instances running in any COM client. Stefan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Golden > Sent: Friday, August 31, 2007 1:36 PM > To: Thomas Rademacher > Cc: python-list@python.org > Subject: Re: win

Re: win32com problem: more than one instance

2007-08-31 Thread Tim Golden
Thomas Rademacher wrote: > Hello, > > I start my script convert.py simultaneously in any dos-shells several > times. But I get every time the same solidworks instance. > I see in the proccess (task) manager only one solidworks.exe > Therefore I get for all simultaneous conversions the same output

win32com problem: more than one instance

2007-08-31 Thread Thomas Rademacher
Hello, I start my script convert.py simultaneously in any dos-shells several times. But I get every time the same solidworks instance. I see in the proccess (task) manager only one solidworks.exe Therefore I get for all simultaneous conversions the same output file. I tested the same code with ex

Re: win32com problem - Problem Solved

2006-10-25 Thread cfriedalek
Problem solved. Turns out it was a problem of mistranslating VBS code to Python. The PYTHON line "print str(tet)" casts tet to a string and prints. This is what I thought the VBS line "Str = Tet.ConvertToString()" was doing. But of course "ConvertToString()" is a method of a Tet instance. So in p

Re: win32com problem

2006-10-25 Thread cfriedalek
Gabriel Genellina wrote: > Run it on the debugger step by step, and inspect all the intermediate objects. > Synergy.StudyDoc might be a function, by example, so you should add > another pair of (). > This is not obvious looking at the VB code. (Sorry, tied up this arvo so I could respond to your

Re: win32com problem

2006-10-24 Thread Gabriel Genellina
At Tuesday 24/10/2006 23:20, [EMAIL PROTECTED] wrote: > tet = Synergy.StudyDoc.GetFirstTet(), perhaps? com_error: (-2147352573, 'Member not found.', None, None) Sorry, should have mentioned that I tried that already. Any thoughts on how to establish if the problem is with win32com or the 3rd p

Re: win32com problem

2006-10-24 Thread Aries Sun
Have you tried late binding? Does late binding produce the same error? Regards, Aries [EMAIL PROTECTED] wrote: > I'm interacting with a third party application using python and com. > However having problems and don't know what to look at next to resolve > the issue. > > The app. can be driven b

Re: win32com problem

2006-10-24 Thread Gabriel Genellina
At Tuesday 24/10/2006 22:15, [EMAIL PROTECTED] wrote: Set Tet = Synergy.StudyDoc.GetFirstTet() tet = Synergy.StudyDoc.GetFirstTet Can you see the difference...? -- Gabriel Genellina Softlab SRL __ Correo Yahoo! Espacio para todos tus mensaje

Re: win32com problem

2006-10-24 Thread cfriedalek
> tet = Synergy.StudyDoc.GetFirstTet(), perhaps? com_error: (-2147352573, 'Member not found.', None, None) Sorry, should have mentioned that I tried that already. Any thoughts on how to establish if the problem is with win32com or the 3rd party app? -- http://mail.python.org/mailman/listinfo/py

Re: win32com problem

2006-10-24 Thread Steve Holden
[EMAIL PROTECTED] wrote: > I'm interacting with a third party application using python and com. > However having problems and don't know what to look at next to resolve > the issue. > > The app. can be driven by VBS. The following VBS code works: > > Set Synergy = CreateObject("synergy.Synergy")

win32com problem

2006-10-24 Thread cfriedalek
I'm interacting with a third party application using python and com. However having problems and don't know what to look at next to resolve the issue. The app. can be driven by VBS. The following VBS code works: Set Synergy = CreateObject("synergy.Synergy") Synergy.OpenProject "D:/temp/project.mp