Re: [python-win32] cannot install pywin32, 'access denied, cannot open archive'

2010-12-02 Thread rmsauthor
I'm getting the same error and am unable to resolve it. Peter, were you able to install successfully? Peter Scheie-2 wrote: I'm trying to install the pywin32-214.win32-py2.5.exe package onto a Windows XP virtual machine running on VirtualBox on Ubuntu 9.04 (Jaunty). I've got python 2.5

[python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread python
If I have a windows handle to my Tkinter window, is there a win32 api call that I can use that will prevent my window from being maximized? There is no way to prevent a resizable window from being maximized in Tkinter other than to remove the window's border and titlebar (both of which I would

Re: [python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread Eric Brunel
On 2 déc. 10, at 12:49, pyt...@bdurham.com wrote: If I have a windows handle to my Tkinter window, is there a win32 api call that I can use that will prevent my window from being maximized? There is no way to prevent a resizable window from being maximized in Tkinter other than to remove

[python-win32] Access femap API, Type mismatch

2010-12-02 Thread Jim Ragsdale
I am trying to access the femap API, and having a bit of trouble. Here is a simple example: from win32com.client import Dispatch femap = Dispatch(femap.model) rc = femap.feAppGetActiveView(viewID) This method, according to the documentation, is supposed to return a long integer in viewID. If I

Re: [python-win32] Access femap API, Type mismatch

2010-12-02 Thread Tim Roberts
Jim Ragsdale wrote: I am trying to access the femap API, and having a bit of trouble. Here is a simple example: from win32com.client import Dispatch femap = Dispatch(femap.model) rc = femap.feAppGetActiveView(viewID) This method, according to the documentation, is supposed to return a

Re: [python-win32] Running GUI apps from a python/IIS web application

2010-12-02 Thread Tim Roberts
Randy Syring wrote: Good to know, but you are correct that it doesn't solve the problem. This program needs to work even when no users are logged into the server, as that will be the case 99% of the time. There is no easy solution for this. There is no practical way to run a GUI

Re: [python-win32] Running GUI apps from a python/IIS web application

2010-12-02 Thread Dahlstrom, Roger
Sure there is, autologon! -Original Message- From: python-win32-bounces+rdahlstrom=directedge@python.org [mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of Tim Roberts Sent: Thursday, December 02, 2010 3:03 PM To: Python-Win32 List Subject: Re:

Re: [python-win32] Running GUI apps from a python/IIS web application

2010-12-02 Thread Tim Roberts
Dahlstrom, Roger wrote: Sure there is, autologon! Ah, but if one uses autologon, then it is no longer the case that no one is logged in, so I think my comment is still valid... ;) -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. ___

Re: [python-win32] Running GUI apps from a python/IIS web application

2010-12-02 Thread Randy Syring
Thanks for all the responses on this. I spoke with the company that develops the external application and they are going to work on removing the calls that create the GUI windows. Thank God, b/c the workarounds were looking pretty unsavory! -- Randy

Re: [python-win32] Prevent a (Tkinter) window from maximizing via win32 api call?

2010-12-02 Thread Greg Ewing
pyt...@bdurham.com wrote: I have a *resizable* Tkinter window with min and max sizes set. I want to prevent users from attempting to maximize this window because the window pops over to the upper left of the display - a behavior that my users find very frustrating (and of little value). If