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

[python-win32] (no subject)

2023-05-17 Thread Pranav S Pawar
Hello Team, I am getting an error while using persistence_units.CloseAll() method of persistence_units module. of win32com Error: AttributeError: '' object has no attribute 'CloseAll' Below is my code where i am trying to access and erwin datamodel , check connection and close connection. i

[python-win32] (no subject)

2022-04-05 Thread Sanaa Mouzahir
Hello. I hope you are doing well. I have some questions regarding the mapping from VBA to Python. This is regarding the COM object SOLIDWORKS. I am trying to translate the following VBA code: Set skSegment = Part.SketchManager.CreateSpline((pointArray)) Part.ClearSelection2 True Part.Sketch

[python-win32] (no subject)

2021-06-09 Thread Fadi Ibrahim
Dear users, Hope you are well and safe and enjoying the summer wherever you are. I have 2 questions and I would highly appreciate it if someone can answer them. 1- The Pywin32 seems to indicate 2 things, a Python IDE and it is also an extension to be added to Python using pip install pywin32 fo

[python-win32] (no subject)

2020-04-14 Thread Nikita Lepetukhin
Hello! I use win32com module and everything is ok but I cannot find the way how to pass VT_DECIMAL variant value to COM object's method. There is a COM interface: interface IProperty : IDispatch { ... [propget, id(DISPID_VALUE)] HRESULT Value([out, retval] VARIANT* pVal); [propput, id(DISPID

[python-win32] (no subject)

2014-03-16 Thread Trevor Haba
Woah, awesome. Thanks Tim!. Since this is for a personal side project I would never have spent enough time to get that working. Thanks! ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

[python-win32] (no subject)

2012-10-22 Thread 徐仲谨
Hi ladies/gentlemen, What I do now is based on Motorola Scan Bar Code SDK to do some development. SDK is COM thing. there are API Commands and API Events as they called. API Commands’ development is finished. But Events no, I tried, but failed. Could u give some help ~ ~. Thank you. from

[python-win32] (no subject)

2012-06-29 Thread lucienne roussin
___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

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

[python-win32] (no subject)

2011-11-06 Thread Michel Claveau
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 & FILE_ATTRIBUTE_REPA

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

[python-win32] (no subject)

2010-03-31 Thread hitheam mohamed
Hi, 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 any users with an open

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

[python-win32] (no subject)

2010-03-23 Thread Phung Thuy Vuong
Hello! 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 application goes to idle a

[python-win32] (no subject)

2009-07-22 Thread Gary Smith
Hi All, I built a Python com server to solve regular expressions for use in a VBA application. Here's the code: import pythoncom import re import string class reObj: _public_methods_ = ["re"] _reg_progid_ = "Python.reObj" _reg_clsid_ = pythoncom.Crea

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

[python-win32] (no subject)

2009-05-20 Thread Patrick Asselman
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 trying to copy the formatting of one cel

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

[python-win32] (no subject)

2009-01-22 Thread dan
I am writing a simple client and server that communicate using a duplex-mode named pipe on Windows. For my initial effort, the server used the Windows API calls to set up the pipe and communicate with it, but the client used the regular Python file methods. This works for exactly one transaction.

[python-win32] (no subject)

2008-05-01 Thread John Siegrist
var YAHOO = {'Shortcuts' : {}}; YAHOO.Shortcuts.hasSensitiveText = true; YAHOO.Shortcuts.sensitivityType = ["sensitive_news_terms"]; YAHOO.Shortcuts.doUlt = false; YAHOO.Shortcuts.location = "us"; YAHOO.Shortcuts.document_id = 0; YAHOO.Shortcuts.document_type = ""; YAHOO.Shortcuts.document_title =

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

[python-win32] (no subject)

2008-04-26 Thread Alex Denham
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 question gets called from a w

[python-win32] (no subject)

2006-09-23 Thread Michael S
Good day all. I am trying to write a short Python script to create some PDFs. I create instances of App, AVDoc and PDDoc using the following syntax: app = Dispatch("AcroExch.App") doc = Dispatch("AcroExch.AVDoc") pd = Dispatch("AcroExch.PDDoc") However when I call pd = doc.GetPDDoc(), the Python

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

[python-win32] (no subject)

2005-06-21 Thread Schollnick, Benjamin
Title: Message 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 Windows 2000 system, and received:   * The proced

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

[python-win32] (no subject)

2005-06-16 Thread habtamu gulilat
am habtamu from Netherlands   I need to prepare userinterface for my Arc GIS model created by Modelbuilder. I want my userinterface to run my model. So would uyou please send me those syntax able me to create simple python based user interface to run my Model.   If possible would you please send

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
Of [EMAIL PROTECTED] Sent: Tuesday, 10 May 2005 2:55 AM To: python-win32 Mailinglist Subject: [python-win32] (no subject) Hello again, all- I am still trying to understand Windows COM from Python. This time, I am trying to access a custom COM object an in-house developer has developed in C++.

[python-win32] (no subject)

2005-05-09 Thread eric . powell
Hello again, all- I am still trying to understand Windows COM from Python. This time, I am trying to access a custom COM object an in-house developer has developed in C++. The class is stored in a dll registered with my system, and can be called from VB as follows: From a working VB project:  

[python-win32] (no subject)

2005-04-21 Thread Jack Andrews
hi, i can't seem to create a bitmap in memory using pywin32. my assert fails, telling me that the bitmap size is (0,0)? here's fragments: class window: def __init__ ... self.hwnd = CreateWindow(...) wnd=CreateWindowFromHandle(self.hwnd) wdc=wnd.GetDC()

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:

[python-win32] (no subject)

2005-01-26 Thread Jeff Peery
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:   

[python-win32] (no subject)

2005-01-11 Thread python
Hello, after more than a day I found a solution by myself :-)) The Solution: In the old code the LogInfoMsg is the last statement before the return statement (in the FetchData function). If I put an other statement between LogInfoMsg and return statement it works in debug and in start modus - don'