Re: [python-win32] Running a Windows Python service without pythonservice.exe?

2012-02-22 Thread Kyle
Bill, did you ever find a resolution to your pythonservice.exe issue? I've got the PyWin32 extensions installed in a private site-packages directory under my stuff, which isn't the same as the Python site-packages site. I need a way to set PYTHONPATH, or in some other way initialize the DLL load

[python-win32] Eject a Removable USB drive

2009-03-02 Thread Rickey, Kyle W
) and then call CM_Request_Device_Eject on the appropriate node. I am on the right track with this? Any help would be greatly appreciated. -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Simulating a mouse click - lParam

2008-12-12 Thread Rickey, Kyle W
, TCM_SETCURFOCUS, 3, 0) where hwnd is the window handle of the tab control. -Kyle Rickey -Original Message- From: python-win32-bounces+kyle.rickey=bakerhughes@python.org [mailto:python-win32-bounces+kyle.rickey=bakerhughes@python.org] On Behalf Of Rickey, Kyle W Sent: Monday, December 08

Re: [python-win32] Simulating a mouse click - lParam

2008-12-08 Thread Rickey, Kyle W
://msdn.microsoft.com/en-us/library/bb760569(VS.85).aspx I also don't understand how to construct the final parameter for TCN_SELCHANGE. Thanks again for the help. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 6:34

[python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
this the wrong way. My end goal is clicking on a certain Tab in a TabCtrl (in this case _wx_SysTabCtl32). I used EnumChildWindows to find all the main window's children, but couldn't find the tabs. So figured I would try to 'click' on the tab. -Kyle Rickey

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
? -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 4:25 PM To: Python-Win32 List Subject: Re: [python-win32] Simulating a mouse click - lParam Rickey, Kyle W wrote: Let's say I've got a window for which I

Re: [python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
of my window. I left the TCM_SETCURSEL code un-commented when I ran it the first time. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rickey, Kyle W Sent: Friday, December 05, 2008 4:52 PM To: python-win32@python.org Subject: Re: [python-win32

Re: [python-win32] Standby/Hibernate

2008-06-05 Thread Rickey, Kyle W
Thanks Tim. That did the trick. I need to do more digging on MSDN. Most of the google results I hit were people trying to prevent standby/hibernate. Thanks again. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Thursday

[python-win32] Standby/Hibernate

2008-06-04 Thread Rickey, Kyle W
What do I need to do to put my local computer into standby? I found the function: win32api.InitiateSystemShutdown(INT8Y4Y3B1, Tom Sucks, 300, False, False) but it seems to only shutdown/restart. -Kyle Rickey ___ python-win32 mailing list python-win32

Re: [python-win32] Dispatch InternetExplorer.Application fails

2008-05-29 Thread Rickey, Kyle W
? -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Waldemar Osuch Sent: Wednesday, May 28, 2008 3:26 PM To: python-win32@python.org Subject: Re: [python-win32] Dispatch InternetExplorer.Application fails 2) use some python libraries (libxml2

[python-win32] Dispatch InternetExplorer.Application fails

2008-05-27 Thread Rickey, Kyle W
and load an xml file, then print it to PDF. -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Dispatch InternetExplorer.Application fails

2008-05-27 Thread Rickey, Kyle W
pdf natively. Since the data is freely available in our SQL server, this would be possible, but very time consuming. I'm open to suggestions on a better way to go about this. Also, assuming I changed the registry to point to iexplore2 (original IE) would COM'ing into work? Kyle Rickey -Original

[python-win32] Volume Serial Number

2008-05-16 Thread Rickey, Kyle W
to return what I want. -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Volume Serial Number [SOLVED]

2008-05-16 Thread Rickey, Kyle W
. :) Just for message consistency, I've reposted Tim Robert's example below: def UnsignedHex( v ): if v = 0: return '%08X' % v return '%08X' % (0x1 + v ) print UnsignedHex( win32api.GetVolumeInformation('C:\\')[1] ) Thanks again to everyone for your help. -Kyle Rickey

[python-win32] DDE AddTopic after server started

2008-05-06 Thread Rickey, Kyle W
Is this going to work or do I need to create a new DDE Server for each subprocess (seems clunky)? -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] FW: GetFileVersionInfo blocks main thread

2008-04-21 Thread Rickey, Kyle W
I just realized that this conversation didn't make it to the whole list so read below if anyone is interested. -Kyle Rickey -Original Message- From: Tim Golden [mailto:[EMAIL PROTECTED] Sent: Saturday, April 19, 2008 12:20 PM To: Rickey, Kyle W Subject: Re: [python-win32

[python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
to properties, then click on the 'Find Target' button. Any ideas? -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
Tim, let me rephrase. I'm not trying to display the shortcut dialog, only reproduce the behavior that happens when you click 'Find Target'. For instance, I've generated a file and I want show the user that file in explorer. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [python-win32] FTP Task Schedule in Python

2008-03-25 Thread Rickey, Kyle W
I agree with Tim here. I set up a simple script to backup a few files, then scheduled a task to run daily at 2am. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Tuesday, March 25, 2008 4:29 AM Cc: python-win32@python.org

Re: [python-win32] Running SQL queries on excel sheets

2008-03-17 Thread Rickey, Kyle W
Thanks John, I'll check that out. -Kyle Rickey -Original Message- From: John Machin [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2008 4:40 AM To: Rickey, Kyle W Cc: python-win32@python.org Subject: Re: [python-win32] Running SQL queries on excel sheets Rickey, Kyle W wrote: Tim

[python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Rickey, Kyle W
= [] lst.append(rs.Fields.Item(F5).Value) lst.append(rs.Fields.Item(F6).Value) lst.append(rs.Fields.Item(F7).Value) lst.append(rs.Fields.Item(F1).Value) rec.append(lst) rs.MoveNext() ##EXAMPLE 2## -Kyle Rickey

Re: [python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Rickey, Kyle W
into our SQL server. Then whenever I get around to making that frontend, the data will already be in SQL. Thanks for your help. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Friday, March 14, 2008 9:56 AM Cc: python-win32

Re: [python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Rickey, Kyle W
connection. I've got some ideas turning in my head now and I'm gonna try a couple of different things. Thanks again for your help. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Friday, March 14, 2008 11:24 AM Cc: python-win32

Re: [python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Rickey, Kyle W
That's also not a bad idea, most of the time, the data I'm interested in will be at least 1-2 weeks old. That would also be better than exporting everything to SQL every time a user saves the document. Thanks for the info about Turbo Gears, etc. I'll have to check those out. -Kyle Rickey

Re: [python-win32] win32gui.EnumWindows, documentation?

2008-03-11 Thread Rickey, Kyle W
I like using lambda for this, but you could also put it into a function. windows = [] win32gui.EnumWindows(lambda hwnd, resultList: resultList.append(hwnd), windows) This will populate windows with all the hwnds. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[python-win32] odbc timeouts

2008-02-01 Thread Rickey, Kyle W
Is it possible to change the default timeout for an odbc connection? For instance: import odbc conn = odbc.odbc(DBNAME) It seems to timeout ~15 seconds. But the above method only takes 1 argument. Is it possible to set a timeout in the connection string? -Kyle Rickey

[python-win32] Global Window Messages

2008-01-21 Thread Rickey, Kyle W
.microsoft.com/en-us/library/ms684175(VS.85).aspx -Kyle Rickey ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] transparency on window

2008-01-21 Thread Rickey, Kyle W
I'm using build 210 and I've got that method. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Monday, January 21, 2008 1:05 PM To: Python-Win32 List Subject: Re: [python-win32] transparency on window astralrod wrote: I

Re: [python-win32] Global Window Messages

2008-01-21 Thread Rickey, Kyle W
in import error. That the python24.dll could not be found. Will I not be able to use this package with python 2.5? Here's the link for their sourceforge page http://sourceforge.net/project/showfiles.php?group_id=65529package_id=7 4417 -Kyle Rickey -Original Message- From: [EMAIL