Re: [python-win32] how to browse another computer's folder treestructure ?

2005-04-29 Thread Steve Holden
Michael Li wrote: Hi, Mark Thank you very much. It works, but only shows shared folders, not all the folders, is it possible to show all folders ? [...] Assuming you don't have permission to access administrative shares, what legitimate use case could there be for accessing non-shared materials

Re: [python-win32] cleaning up after DDE client requests

2005-04-29 Thread Ray S
At 12:11 PM 4/28/2005, Jim McLoughlin wrote: For a small number of requests, things are fine. However, a sequence of 1000 requests seems to run into problems. So my question is: is there some clean up code that can be used for conversations, servers, etc? Can I do something like

Re: [python-win32] how to browse another computer's folder treestructure ?

2005-04-29 Thread Tim Roberts
On Thu, 28 Apr 2005 15:43:25 -0400, Michael Li [EMAIL PROTECTED] wrote: Hi, Mark Thank you very much. It works, but only shows shared folders, not all the folders, is it possible to show all folders ? Of course not. Windows security wouldn't be worth very much if it could. -- Tim Roberts,

[python-win32] Infos on the python win32 build process

2005-04-29 Thread Markus Hillebrand
Hello out there! For a new release of the Python centered application-framework FreeGee (http://freegee.sf.net) I'm looking for informations (or scripts) upon the Python Win32 build process. My goal is to automize the build process including other open source packages (omniORB, postgresql,

[python-win32] win32print.SetPrinter

2005-04-29 Thread Kelly Kranabetter
I'm trying to set the port of a printer (on Windows 98) but it fails if the devmode of the printer is NULL. Here is some sample code: h= win32print.OpenPrinter(Printername) settings= win32print.GetPrinter(h, 2) settings[pPortName]= r\\newserver\printer win32print.SetPrinter(h, 2, settings, 0) #

[python-win32] Re: Infos on the python win32 build process

2005-04-29 Thread Roger Upole
You can use setup.py in the source distribution to do an automated build. For example, I use python.exe setup.py build --debug install to install a debug build of the extensions. Roger ___ Python-win32 mailing list Python-win32@python.org

[python-win32] Re: win32print.SetPrinter

2005-04-29 Thread Roger Upole
Strange, the DEVMODE for a printer shouldn't be null if the driver is installed correctly. Although I guess it's possible this doesn't apply on Win98. You might be able to retrieve a DEVMODE to pass back in using DocumentProperties. Alternately, you can create a new one using