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 l

[python-win32] Eject a Removable USB drive

2009-03-02 Thread Rickey, Kyle W
ibrary/ms791198.aspx) 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/mai

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

2008-12-12 Thread Rickey, Kyle W
(hwnd, 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, Decemb

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

2008-12-08 Thread Rickey, Kyle W
bsite. How frustrating... http://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 S

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

2008-12-05 Thread Rickey, Kyle W
ner 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

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

2008-12-05 Thread Rickey, Kyle W
ndow does not update. Any ideas? -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: >

[python-win32] Simulating a mouse click - lParam

2008-12-05 Thread Rickey, Kyle W
r if I'm going about 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

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

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

2008-05-29 Thread Rickey, Kyle W
missing something simple? -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

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

2008-05-28 Thread Rickey, Kyle W
Thanks, I'll check out those links. -Kyle Rickey From: Gerdus van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 4:11 AM To: Rickey, Kyle W Cc: python-win32@python.org Subject: Re: [python-win32] Dispatch InternetExplorer.Application

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

2008-05-27 Thread Rickey, Kyle W
) Rewrite entire reporting system to use 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

[python-win32] Dispatch InternetExplorer.Application fails

2008-05-27 Thread Rickey, Kyle W
eas what would cause this? My end goal is to COM into IE 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] Volume Serial Number [SOLVED]

2008-05-16 Thread Rickey, Kyle W
0 + v ) print UnsignedHex( win32api.GetVolumeInformation('C:\\')[1] ) Thanks again to everyone for your help. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Golden Sent: Friday, May 16, 2008 12:45 PM Cc: python-win32@python.org

[python-win32] Volume Serial Number

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

[python-win32] DDE AddTopic after server started

2008-05-06 Thread Rickey, Kyle W
test).start() #Launch a subprocess #Add new topic to server 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

Re: [python-win32] Finding the selected file in Windows Explorer

2008-04-22 Thread Rickey, Kyle W
rovide a better response. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gonçalves Sent: Tuesday, April 22, 2008 3:51 AM To: python-win32@python.org Subject: [python-win32] Finding the selected file in Windows Explorer Hi! I need to

[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-

Re: [python-win32] GetFileVersionInfo blocks main thread

2008-04-21 Thread Rickey, Kyle W
Thanks Roger/Tim. In the mean time I'm going to check out the processing module Tim pointed me to. Hopefully I'll have some free time to test it out. Thanks again for your help. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R

[python-win32] GetFileVersionInfo blocks main thread

2008-04-18 Thread Rickey, Kyle W
t to "AA"'s got printed, no more were printed until the version number came back. Any ideas why this is happening? I've got python 2.5 and pywin32-210. -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/Scott, thanks for your replies that is exactly what I needed! :bow: Thanks for both of your times. -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Thursday, April 03, 2008 12:44 PM To: Python-Win32 List Subject: Re

Re: [python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
I can open the directory with os.startfile(), do I still need to get the hwnd of the explorer window and get the listctrl etc., or is there a simpler way to select a file? -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Thursday

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: [EMAI

[python-win32] Find Target

2008-04-03 Thread Rickey, Kyle W
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] 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:

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.

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

2008-03-14 Thread Rickey, Kyle W
slow 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 C

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

2008-03-14 Thread Rickey, Kyle W
e, it would dump all that data 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,

[python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Rickey, Kyle W
F6) LIKE '%"""+search_term.lower()+"""%'""", conn) while not rs.EOF: lst = [] 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 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

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

Re: [python-win32] odbc timeouts

2008-02-01 Thread Rickey, Kyle W
Thanks Tim, I'll give that a shot -Kyle Rickey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, February 01, 2008 3:12 PM To: Python-Win32 List Subject: Re: [python-win32] odbc timeouts Rickey, Kyle W wrote: > > Is it

[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

Re: [python-win32] Global Window Messages

2008-01-21 Thread Rickey, Kyle W
However, I get 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=65529&package_id=7 4417 -Kyle Rickey -Original M

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 wr

[python-win32] Global Window Messages

2008-01-21 Thread Rickey, Kyle W
y/ms683212.aspx RegisterWindowMessage http://msdn2.microsoft.com/en-us/library/ms644947(VS.85).aspx LoadLibrary http://msdn2.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