Re: [python-win32] exception while opening excel file

2008-04-16 Thread John Machin
[EMAIL PROTECTED] wrote: > Hi all, > > I'm trying to write a file that does something with excel files. > Unfortunately all these files will give an error upon opening: I don't quite understand the first sentence above : "write a file that does something with excel files"??? What is your un

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread Jürgen Kareta
Tim Golden schrieb: > [EMAIL PROTECTED] wrote: > >> Hi Andrea, >> >> the code in my first link was from the mercurial extension TortoiseHG. They >> found some issues that the icon overlay slows down network devices. See here: >> >> https://sourceforge.net/tracker/index.php?func=detail&aid=189279

Re: [python-win32] SetSystemTime: A required privilege is not held by the client

2008-04-16 Thread Tim Roberts
Robert wrote: > SetSystemTime on Vista admin account throws: > > (1314, 'SetSystemTime', 'A required privilege is not held by > the client.') > > Not known from previous Windows versions. > With what switch or whatever can this be enabled? > Remember that, on Vista, unlike previous systems, log

Re: [python-win32] Windows programing cookbook?

2008-04-16 Thread Tim Golden
Bill Sneddon wrote: > Right know I am interested in finding out how to > access a windows server share in Python 2.4. Seems to > work fine in Python 2.5 with win32 installed, but the > MoinMoin server at work has not been upgraded. > The problem is this open can not use this kind of > path. OK.

[python-win32] Windows programing cookbook?

2008-04-16 Thread Bill Sneddon
Does anyone know of a website with windows code examples? I have googled this have not found much. I know about Activestate's site but does not seemed to be organized in a way to get these easily. Is there a FAQ for this mail list? Right know I am interested in finding out how to access a windo

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread Tim Golden
Andrea Gavana wrote: > ...If I run it from a Python > script, the icon overlay works fine but every time I open a file > dialog from one of my applications I get this nice error in the > app.exe.log file created by py2exe: > > pythoncom error: PythonCOM Server - The 'win32com.server.policy' > modu

Re: [python-win32] SetSystemTime: A required privilege is not held by the client

2008-04-16 Thread Tim Golden
Robert wrote: > SetSystemTime on Vista admin account throws: > > (1314, 'SetSystemTime', 'A required privilege is not held by > the client.') > > > Not known from previous Windows versions. > With what switch or whatever can this be enabled? According to the docs: (warning: URL will self-destru

[python-win32] SetSystemTime: A required privilege is not held by the client

2008-04-16 Thread Robert
SetSystemTime on Vista admin account throws: (1314, 'SetSystemTime', 'A required privilege is not held by the client.') Not known from previous Windows versions. With what switch or whatever can this be enabled? Robert ___ python-win32 mailing list

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread Tim Golden
[EMAIL PROTECTED] wrote: > Hi Andrea, > > the code in my first link was from the mercurial extension TortoiseHG. They > found some issues that the icon overlay slows down network devices. See here: > > https://sourceforge.net/tracker/index.php?func=detail&aid=1892791&group_id=199155&atid=968354 >

[python-win32] Building Pywin32 on vista x64 question

2008-04-16 Thread Marc-André Belzile
Hello, I'm trying to build pywin32 on vista 64 based on the latest setup.py (10/04/2008). I've installed python 2.6, windows sdk and directx sdk (as advertised) and got this link error: LINK : warning LNK4012: invalid value 'x86_64', must be 'ARM, EBC, IA64, MIPS, MIPS16, MIPSFPU, MIPSFPU16,

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread Andrea Gavana
Hi Jurgen & All, On Wed, Apr 16, 2008 at 12:07 PM, <[EMAIL PROTECTED]> wrote: > the code in my first link was from the mercurial extension TortoiseHG. They > found some issues that the icon overlay slows down network devices. See here: > > https://sourceforge.net/tracker/index.php?func=detail&aid

Re: [python-win32] Overlay Icon Question...

2008-04-16 Thread Tim Golden
[Tim Golden] >> Not that it matters too much, but if you're using a registry entry >> anyway, why not simply list the files in the registry instead >> of the double-indirection of having the registry reference a >> file which holds the other files !? [Andrea Gavana] > I initially thought to do tha

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread python
Hi Andrea, the code in my first link was from the mercurial extension TortoiseHG. They found some issues that the icon overlay slows down network devices. See here: https://sourceforge.net/tracker/index.php?func=detail&aid=1892791&group_id=199155&atid=968354 Could you please tell if you have th

Re: [python-win32] Overlay Icon Question...

2008-04-16 Thread Andrea Gavana
Hi Tim & All, On Tue, Apr 15, 2008 at 6:44 PM, Tim Golden wrote: > Andrea Gavana wrote: > > Thank you a lot, now everything is perfectly clear. I made this class > > communicate with the registry where I store a file name (in which I > > have all my files for which I want the overlay icon), and it

Re: [python-win32] exception while opening excel file

2008-04-16 Thread iceblink
Mark Hammond <[EMAIL PROTECTED]> schreef: > > > Normally I can just press "close" in the excel error box, and > > continue > > > to work on the file. But how do I handle this in py-win32? > > > > So what happens when you try to open it normally? > > Oops - sorry - I see you already gave the