[python-win32] Failed to load Win32uiApplicationInit

2025-04-05 Thread Andrea Gavana via python-win32
can't see anything wrong - albeit we have dozens of pyd and dll files and I haven't gone through all of them. Not that they have changed anyway, we haven't changed anything in our Python installation. Thank you in advance for any suggestion. Andrea. _

[python-win32] Excel worksheet range, Text property

2011-08-09 Thread Andrea Gavana
eet and get its "Text" property if it is not "None", but this is expensive compared to the "vectorized" approach you can get with Range(). Does anyone have a suggestion on how to improve my current approach (or how to fix my flawed code above)? Thank you in advance f

[python-win32] Excel "NumberFormat" to Python? (!)

2011-08-05 Thread Andrea Gavana
); value = 40234.0 ==> on-screen: 2/25/10 12:00 AM (custom date format) And so on. I would like to get the "on-screen" thing in a Python string. I know it sounds close to impossible, but maybe someone has an idea or something similar has already been implemented... I googled back and fo

[python-win32] Makepy static and dynamic Dispatch COM headache

2010-05-22 Thread Andrea Gavana
please offer some suggestions about these issues? I am really stuck, and no expert at all with COM... Thank you in advance. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ ==> Never *EVER* use RemovalG

[python-win32] Formatting parts of an excel cell

2009-04-25 Thread Andrea Gavana
-- Forwarded message -- From: Andrea Gavana Date: Sat, Apr 25, 2009 at 2:28 PM Subject: Re: [python-win32] Formatting parts of an excel cell To: Mark Tolonen Hi, On Sat, Apr 25, 2009 at 2:00 PM, Mark Tolonen wrote: > > "Baehr, Manuel" wrote i

[python-win32] Hello and first question

2008-12-22 Thread Andrea
s the code in vb Dim L32hWnd as long L32hWnd = FindWindow(vbNullString, "appham32") Dim L32Msg as long L32Msg = RegisterWindowMessage("appham32 1"). PostMessage L32hWnd, L32Msg, 1, GhW How do I translate it in python. Many

Re: [python-win32] Invalid or corrupted installer...

2008-09-23 Thread Andrea Gavana
ib? The same as above, unfortunately. In any case, our IT has managed to download it few minutes ago using an external connection and now I am back to work. No explanation was provided for the reason of the corrupted download (!) In any case, thank you so much to Tim and Harald for helping me! Andrea. &q

Re: [python-win32] Invalid or corrupted installer...

2008-09-23 Thread Andrea Gavana
Hi Tim, On Tue, Sep 23, 2008 at 12:12 PM, Tim Golden wrote: > Andrea Gavana wrote: >> >> Hi All, >> >>I am having few problems in downloading and installing the release >> 212 of PyWin32 (and all the other releases as well) from SourceForge. >> Whatever

[python-win32] Invalid or corrupted installer...

2008-09-23 Thread Andrea Gavana
, and also from 4 different mirrors at SourceForge and from another mirror (indipendent from SourceForge) here: http://gforge.inria.fr/frs/?group_id=79&release_id=1150 This is Windows XP SP2, Python 2.5.2. Thank you for all your suggestions. Andrea. "Imagination Is The Only Weapon I

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

2008-04-17 Thread Andrea Gavana
Hi Tim, On Thu, Apr 17, 2008 at 11:57 AM, Tim Golden wrote: > Andrea Gavana wrote: > > Just an update: I have managed to make it running both as a Python > > script and as a standalone executable/dll. It's working fine and it's > > not slowing down our network c

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

2008-04-17 Thread Andrea Gavana
Hi All, On Wed, Apr 16, 2008 at 10:21 PM, Jürgen Kareta wrote: > Tim Golden schrieb: > > > [EMAIL PROTECTED] wrote: > > > >> Hi Andrea, > >> > >> the code in my first link was from the mercurial extension TortoiseHG. They > >> found some i

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

2008-04-16 Thread Andrea Gavana
or: CPyFactory::CreateInstance failed to create instance. (80004005) Which, as usual, doesn't mean anything to me... So, I don't see any slowdown but I can't make this little sweet thing play nice :-( :-( Andrea. "Imagination Is The Only Weapon In The War Against Reality.&q

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 wa

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

2008-04-15 Thread Andrea Gavana
Hi Tim & All, On Tue, Apr 15, 2008 at 3:20 PM, Tim Golden wrote: > > Andrea Gavana wrote: > > Yes, thank you, it helps a lot... although I still have some doubts. > > These are my modifications of the class Roger posted: > > > > class SIOI(object): > >

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

2008-04-15 Thread Andrea Gavana
Hi All, On Tue, Apr 15, 2008 at 2:44 PM, Andrea Gavana wrote: > Hi Tim, Roger & All, > > > On Tue, Apr 15, 2008 at 10:03 AM, Tim Golden wrote: > > Andrea Gavana wrote: > > > Hi Roger, > > > > > > On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wr

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

2008-04-15 Thread Andrea Gavana
Hi Tim, Roger & All, On Tue, Apr 15, 2008 at 10:03 AM, Tim Golden wrote: > Andrea Gavana wrote: > > Hi Roger, > > > > On Tue, Apr 15, 2008 at 12:21 AM, Roger Upole wrote: > >> I've been meaning to look at how this works for some time, > >> so I to

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

2008-04-15 Thread Andrea Gavana
his particular file? Thank you very much for the sample, I am going to use some google-fu to understand better how it works. And thanks for your suggestions. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ ___

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

2008-04-14 Thread Andrea Gavana
Hi Tim, On Mon, Apr 14, 2008 at 5:07 PM, Tim Golden wrote: > Andrea Gavana wrote: > > 1) I have looked the implementation mentioned in the link above, but > > it is a bit unclear to me: how do I actually *use* this class? All my > > users have the extension "*.DATA&qu

[python-win32] Overlay Icon Question...

2008-04-14 Thread Andrea Gavana
the one in TortoiseSVN source code, but both are way over my head :-( Thank you for your suggestions. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.alice.it/infinity77/ ___ python-win32 mailing list python-w

[python-win32] SetClassLong on wx.PopupWindow breaks PyOpenGL and VTK

2007-12-10 Thread Andrea Gavana
wx.PopupWindow.__init__(self, parent) GCL_STYLE= -26 cstyle= win32gui.GetClassLong(self.GetHandle(), GCL_STYLE) if cstyle & CS_DROPSHADOW == 0: win32api.SetClassLong(self.GetHandle(), GCL_STYLE, cstyle | CS_DROPSHADOW) And

[python-win32] Drag and Drop from Outlook

2007-03-13 Thread Andrea Gavana
uot;. I don't know almost anything about win32com, so I am asking: is there a way to do what I am trying to do with win32com? Does anyone know which is the clipboard data format for a dragged Outlook message? Thank you for your suggestions. Andrea. "Imagination Is The Only Weapo

Re: [python-win32] Excel COM problem

2007-02-12 Thread Andrea Gavana
Hi Roger, On 2/10/07, Roger Upole wrote: > "Andrea Gavana" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi All, > > > >I have a very simple python script that tries to put a rectangular > > shape in a worksheet and then add some t

[python-win32] Excel COM problem

2007-02-08 Thread Andrea Gavana
maximum length of 200 chars. Am I missing something here? This is with Python 2.5, PythonWin 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32, Windows XP SP2. Thank you for your consideration. Andrea. "Imagination Is The Only We

[python-win32] PythonWin And Excel Problem

2006-12-01 Thread Andrea Gavana
excelfile = "C:/HelloWin32.xls" wb.SaveAs(excelfile) wb.Close() xlsapp.Quit() os.startfile(excelfile) Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77/ ___ Python-win32 mailing l

[python-win32] Pythoncom error with Excel

2006-11-27 Thread Andrea Gavana
ta point. Is there a maximum number of points that can be passed to Excel? Is there any limitation in this sense? What could I do to overcome this limitations? Thank you very much. -- Andrea. "Imagination Is The Only Weapon In The War Agai

Re: [python-win32] [Py2exe-users] py2exe and winxptheme

2006-11-14 Thread Andrea Gavana
I hope that some PyWin32 guru could help me... Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77/ ___ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] [Py2exe-users] py2exe and winxptheme

2006-11-14 Thread Andrea Gavana
Sorry, I just would like to add that I also have a file called: MyExecutable.exe.manifest in the dist directory. Andrea. On 11/14/06, Andrea Gavana <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > > > > Let me try to guess: Do you have an XP-style manifest for the exe

Re: [python-win32] [Py2exe-users] py2exe and winxptheme

2006-11-14 Thread Andrea Gavana
problem if I have a XP-Style manifest file? Sorry to be so ignorant in py2exe/WinXP things... I attach the complete setup.py file. Thank you so much. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoomer.virgilio.it/infinity77/ from distutils.core import se

[python-win32] py2exe and winxptheme

2006-11-14 Thread Andrea Gavana
g bundle=1, bundle=2, bundle=3, compressed=1, compressed=2, every possible combination. But it doesn't work :-( I attach my setup file, if it can be of any help. Thank you very much for every pointer. Andrea. "Imagination Is The Only Weapon In The War Against Reality." http://xoom

[python-win32] Retrieve Icons Associated To An Extension?

2005-03-29 Thread andrea . gavana
Mark Hammond's win32all extensions and also ctypes, but I didn't find a solution. Could anyone please provide a very simple example on how to retrieve an icon associated to a file extension on Windows? Thank you a lo