Re: [python-win32] List moderation

2007-03-14 Thread Johan Lindvall
Hi, On 3/14/07, Bernard Lebel <[EMAIL PROTECTED]> wrote: > My announcement of pywin32 for x64, provided by Softimage, as a free > download, was refused with "no reason given". Could that be it? Please resend the announcement. I have been looking for an x64-version for quite some time. -- /Johan

Re: [python-win32] Scintilla Code Folding

2007-03-14 Thread Mark Hammond
I believe it is linked with the Python lexer, along with most others. It does use a custom formatter, but if I recall correctly, the folding is still magically done by the C++ code. I'm afraid it has been many years, so you probably need to check out the scintilla source code for a better answer.

Re: [python-win32] Scintilla Code Folding

2007-03-14 Thread Nawal
Dear Mark, Thank you  for the reply. Is Pyhone win editor is linked with SCILex_PYTHON? Is it using "FoldPyDoc" in LexPython.cxx As far I can understand from the code is  Python win is using SCILex_CUSTOM so that in python level colorise code is implemented. But how is it enabled the fold l

[python-win32] LDAPS issues

2007-03-14 Thread sallas
I am trying to connect from a Windows machine to a Windows Active Directory over LDAPS using Python and am getting what seems certificate issues. I can connect fine over LDAP, but in submitting the following: [CODE] import sys import ldap def main(): who = "username" cred = "password"

Re: [python-win32] COM works from IDLE but not when file executed from Windows Explorer

2007-03-14 Thread Gabriel Genellina
En Wed, 14 Mar 2007 13:41:17 -0300, Tim Roberts <[EMAIL PROTECTED]> escribió: >> if __name__ == "__main__": >> mp = Dispatch("WMPlayer.OCX") >> tune = mp.newMedia('my_file.mp3') >> mp.currentPlaylist.appendItem(tune) >> mp.controls.play() >> raw_input("Press Enter to stop playi

Re: [python-win32] COM works from IDLE but not when file executed from Windows Explorer

2007-03-14 Thread Mark Hammond
> Installed: Python25, pywin32-210.win32-py2.5.exe > Being new to COM, I have a simple question. When I execute > the following > code from within IDLE, I hear the mp3 file played out but > when I run the > file from Windows Explorer I get no sound (and no errors) ? > > I'm sure the answer is very

Re: [python-win32] Scintilla Code Folding

2007-03-14 Thread Mark Hammond
> Hi all, > > How is the code folding implemented in Python Win IDE? It uses the > custom lexer for colorize but I can't see any code where the code > folding logic is implemented. > > Is ii using the inbuilt SCILex_PYTHON for code folding? IIRC, the folding code is in C++ in the scintilla wid

Re: [python-win32] List moderation

2007-03-14 Thread Bernard Lebel
My announcement of pywin32 for x64, provided by Softimage, as a free download, was refused with "no reason given". Could that be it? Bernard On 3/14/07, Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > Hi, > > Apparently I broke moderation when I changed some of my spam settings. > Hopeful

Re: [python-win32] COM works from IDLE but not when file executed from Windows Explorer

2007-03-14 Thread Tim Roberts
new2com wrote: > Installed: Python25, pywin32-210.win32-py2.5.exe > Being new to COM, I have a simple question. When I execute the following > code from within IDLE, I hear the mp3 file played out but when I run the > file from Windows Explorer I get no sound (and no errors) ? > By "run the fil

Re: [python-win32] Microsoft VDS Interface in Python

2007-03-14 Thread Mark Mc Mahon
Hi On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > Does python-win32 has API calls to VDS (Virtual Disk Service) Service? > If not, how to implement one? > I don' t know the answer to this one (and I guess you have searched - so no point in me doing it). For the 2nd I w

[python-win32] List moderation

2007-03-14 Thread Itamar Shtull-Trauring
Hi, Apparently I broke moderation when I changed some of my spam settings. Hopefully it's fixed now. I approved some emails from March, and discarded pending messages from before that on the theory that posters will have subscribed and re-posted. My apologies, I am investigating ways to make this

[python-win32] keep tkinter window always on top

2007-03-14 Thread W COOK
Hello Bejamin; I came across one of your questions about keeping the python window on top. I tried running the program you had listed to see what it did, but I kep gettong an error message: no module names win32ui or no module named win32con. I am very new at python programming. Can you help

[python-win32] Error 438: Object doesn't support this property or method.

2007-03-14 Thread Sandeep Patil , Bangalore
Hi! I have created python object in VB. But when I try to use this object I get Error 438: Object doesn't support this property or method. Set py = CreateObject("Python") py.exec ("print 'hello'") Also can I get how to register the class in the windows Registry with name "Python"

[python-win32] COM works from IDLE but not when file executed from Windows Explorer

2007-03-14 Thread new2com
Installed: Python25, pywin32-210.win32-py2.5.exe Being new to COM, I have a simple question. When I execute the following code from within IDLE, I hear the mp3 file played out but when I run the file from Windows Explorer I get no sound (and no errors) ? I'm sure the answer is very simple ! ( ht

[python-win32] win32con

2007-03-14 Thread Tony Cappellini
Is it an oversight that the win32con constants are not listed in the PythonWin help? ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] How to detect User presseing escape, or clicking cancel in call to win32gui.GetOpenFileNameW()

2007-03-14 Thread Tony Cappellini
I'm trying to understand how to detect a user pressing Escape, or clicking on Cancel when win32gui.GetOpenFileNameW() is called. When I press escape when the FileOpen dialogue is present, I see the following error with Python2.5/PWin32 Build 210 error: (0, 'GetOpenFileNameW', 'No error message is

[python-win32] Accessing a COM-objects type name

2007-03-14 Thread Wikström Sven
Hi! What is the most appropriate way to access a COM-objects type name in Python like Vbscript's "TypeName" function? The concerned COM-objects are developed using .NET interop. I have previously solved it, with .NET 1.1 COM-objects, by calling the COM exposed derived "System.Object.GetType()"

[python-win32] Microsoft VDS Interface in Python

2007-03-14 Thread Muthu_T
Hi, Does python-win32 has API calls to VDS (Virtual Disk Service) Service? If not, how to implement one? Thanks & Regards, T. Muthu Mohan ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Scintilla Code Folding

2007-03-14 Thread Nawal
Hi all, How is the code folding implemented in Python Win IDE? It uses the custom lexer for colorize but I can't see any code where the code folding logic is implemented. Is ii using the inbuilt SCILex_PYTHON for code folding? Regards, Nawal ___ P

Re: [python-win32] Can't post to the list- who is the admin?

2007-03-14 Thread Tim Golden
Mark Hammond wrote: >> I've been trying to post messages for a few days now- I keep getting >> replies telling me my messages are being held. >> >> I've verified that I am subscribed with this address, and I did not >> post the messages to the sub/ubsub address. >> >> Who is the admin? > > I beli