Re: [python-win32] (no subject)

2023-05-18 Thread Pranav S Pawar
Hello Mark, Thank you for the response. Just to share Erwin is an Data Modelling tool. I wanted to access Erwin through python and perform manipulations on DataModel through it. Regards, Pranav On Wed, May 17, 2023 at 6:21 PM Mark Hammond wrote: > I'm sorry, but you are very unlikely to find

Re: [python-win32] (no subject)

2023-05-17 Thread Mark Hammond
I'm sorry, but you are very unlikely to find anyone on this list with erwin experience. pywin32 is a general purpose library that allows talking to *any* COM object, so there are literally hundreds and hundreds of different apps it can work with. I've never even heard of erwin and have no idea

Re: [python-win32] (no subject)

2011-11-06 Thread Mark Hammond
On 6/11/2011 11:33 PM, Michel Claveau wrote: Hi! In win32con, I do not found this constant: FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400 Exemple of use: import ctypes rep=u"C:\\web\\fichiers" FILE_ATTRIBUTE_REPARSE_POINT = 1024 # 0x400 vret = ctypes.windll.kernel32.GetFileAttributesW(rep) if vret

Re: [python-win32] (no subject)

2010-03-31 Thread Tim Roberts
hitheam mohamed wrote: > > I have a script that runs smoothly on a local copy of an excel > workbook. I want to implement this so that it can access a shared > version of the workbook but I would like to kick out any users that > currently have the shared version open. Is it possibly to kick out an

Re: [python-win32] (no subject)

2010-03-23 Thread Tim Roberts
David Hutto wrote: > On Tue, Mar 23, 2010 at 6:11 PM, Tim Roberts wrote: > >> Phung Thuy Vuong wrote: >> >>> Can anyone give me some hint please? I'm trying to make a log file >>> which keep track of a specific application. For example, I need to >>> punch the time et date where an appli

Re: [python-win32] (no subject)

2010-03-23 Thread Tim Roberts
Phung Thuy Vuong wrote: > > Can anyone give me some hint please? I'm trying to make a log file > which keep track of a specific application. For example, I need to > punch the time et date where an application, such as Firefox, is > opened and when it's closed. I also need to detect when the > ap

Re: [python-win32] (no subject)

2009-05-20 Thread Tim Roberts
Patrick Asselman wrote: > How would i translate a bit of visual basic code like below to Python? > > Range("F7").Select > Selection.Copy > Range("CO7").Select > Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _ > SkipBlanks:=False, Transpose:=False > > I'm t

Re: [python-win32] (no subject)

2009-01-22 Thread Tim Roberts
d...@shragmir.com wrote: > This is not the end of the world, because I can write the client > application to use win32 API calls instead of the Python calls. But does > anyone have any notion of why this is happening? I am hoping the answer > may help me write clients in other applications (where

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
: f = Files[0] Files = [] else: pass self.after(1000, self.filesDropped) [/code] Thanks for everyone's help, Alex > Date: Tue, 29 Apr 2008 10:58:17 +0100 > From: [EMAIL PROTECTED] > CC: python-win32@python.org > Subject: Re: [python-win32] (no subject)

Re: [python-win32] (no subject)

2008-04-29 Thread Tim Golden
Alex Denham wrote: Thanks mike, i was thinking of doing something along those lines using the os modules tmpfile() method. Althought i'm pretty i can post custom events to the Tkinter event loop, will try that first. Sorry, Alex. I've only just spotted this thread. I think what's happening is

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
MAIL PROTECTED]; python-win32@python.org > Subject: Re: [python-win32] (no subject) > > Alex Denham wrote: > > Hi all, > > > > I'm just wondering but when i try to access/update anything on my > > Tkinter GUI from one particular function, my whole program >

Re: [python-win32] (no subject)

2008-04-28 Thread Mike Driscoll
Alex Denham wrote: Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class which handles all the GUI drawing/event handling etc. The function in questi

Re: [python-win32] (no subject)

2005-06-21 Thread Thomas Heller
"Schollnick, Benjamin" <[EMAIL PROTECTED]> writes: > Folks, > > I have run into a small problem, that I believe is a Win32net > issue... > > My application has been running (via py2exe) on XP systems without > a problem Just recently someone tried to use the application on a > Win

Re: [python-win32] (no subject)

2005-06-16 Thread Jim Vickroy
Assuming you have tkinter installed as part of your Python distribution, I have attached a demo (courtesy of Mark Hammond) that shows much of what is possible (e.g., menus, buttons, etc.). Hope this helps. -- jv habtamu gulilat wrote: am habtamu from Netherlands I need to prepare userinte

Re: [python-win32] (no subject)

2005-05-10 Thread eric . powell
pears in this world you may know him by this sign, that the dunces are all in confederacy against him. (Swift) "Mark Hammond" <[EMAIL PROTECTED]> 05/09/2005 06:38 PM To <[EMAIL PROTECTED]>, "'python-win32 Mailinglist'" cc Subject RE: [pytho

Re: [python-win32] (no subject)

2005-05-09 Thread Mark Hammond
"SRS_CONLib.Point2D" is not the "ProgID" of the object - it is the name of the typelib and interface in that typelib. If your object can be used with Dispatch, it should be possible to create the object in VB using "CreateObject" - CreateObject wants the ProgID too - ie, it will fail with "SRS_CON

RE: [python-win32] (no subject)

2005-01-26 Thread Jeff Peery
this is bad form, I would rather pass the variables to the wxDialog1. thanks. Jeff -Original Message- From: Steve Holden [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 10:00 AM To: Jeff Peery Subject: Re: [python-win32] (no subject) Perhaps you could post the code of your

Re: [python-win32] (no subject)

2005-01-26 Thread Steve Holden
Jeff Peery wrote: Hello, I am using wxpython and I am having trouble passing variables from one frame to another. If I have a parent frame – frame1 – and I call a dialog using the following text: dlg = wxDialog2.wxDialog2(self) try: dlg.ShowModal() finally: