[python-win32] Problems using PythonWin debugger

2006-04-26 Thread Tony C
I had stopped using the PyWin debugger, back in 2.3, because of numerous problems, and unexpected things happening.Now, in 2.4.3 I had tried ti again, but still have the same old problems.I have a script which justs iterates through text files, countng lines, and functions, and subs, of another lan

Re: [python-win32] building python on Windows

2006-02-22 Thread Tony C
Correct me if I'm wrong, I don't think you can build anything after Python 2.3 with VC6.This just might save you some grief though.Although, this has nothing to do with your Source Safe issue.I use Visual C 6 on non-python projects on XP, and don' t have this problem. Message: 7Date: Tue, 21 Feb 20

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-08 Thread Tony C
to be objects, and that's another place where I went wrong.Will change my variants to Objects. On 12/8/05, Tony C <[EMAIL PROTECTED]> wrote: >>Your main problem is that you forgot the "self" param in the method. Actually, I started out *with* the self as described in the boo

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-08 Thread Tony C
chance that the previous turds in the reg are causing a problem?I will try to remove them all, if I can find them Cheers,Mark-Original Message-From: Tony C [mailto:[EMAIL PROTECTED]]Sent: Thursday, 8 December 2005 3:25 PMTo: Mark HammondCc: python-win32@python.orgSubject: Re: Python-win32 Diges

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-07 Thread Tony C
Ok, I'm about 90% there nowI've used the Simple.py from page 213, because there is less involved.when I run it- I see the registration messages. All is good so far.I made one tiny change, related to the call to CreateGuid() import pythoncomclass PythonCOMServer:   _public_methods_ = ['pyCOMSplit'] 

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 7

2005-12-06 Thread Tony C
>>Certainly COM would work.  In this case your VB EXE would use CreateObject>>to create a Python implemented object. As what type of Python Object?I have the VB6 ide open, and the references Browser as well, there is no generic Python object to include into a VB project. Which means one would have

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

Re: [python-win32] Python-win32 Digest, Vol 26, Issue 12

2005-05-10 Thread Tony C
Your example didn't try to define the variable, it only attempted to look at it's current value try this >> C:\Tmp>set LANG >> Environment variable LANG not defined C:\tmp> set LANG="SOME_LANGUAGE" set LANG LANG="SOME_LANGUAGE" Message: 5 Date: Tue, 10 May 2005 10:54:13 -0700 From: Tim Rober

[python-win32] Re: Python-win32 Digest, Vol 24, Issue 18

2005-03-22 Thread Tony C
Message: 8 Date: Mon, 21 Mar 2005 17:58:50 +0100 From: "magic joe" <[EMAIL PROTECTED]> Subject: [python-win32] screenshot of a window? To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Make the window you are looking for

[python-win32] win32com.Dispatch() vs win32com.client.gencache.EnsureDispatch() vs win32com.client.DispatchWithEvents()

2005-03-21 Thread Tony C
When I tried accessing a COM server using win32com.Dispatch() , only the first command sent to the COM server would work after dispatching it, then all susequent calles to the Execute() method would cause an excetpion. Then I read something about EnsureDispatch(), which seems to work 100% better.