Re: [python-win32] Using DirectShow API to access webcam

2018-08-17 Thread Joe
f your interested, I will post my progress on SO. Kind regards, Joe An "interface" in COM terms, described by an IID, is just a set of functions declarations.  It defines the things you can do with an object, but it is not actually an object.  A "CLSID", on the other hand,

[python-win32] Using DirectShow API to access webcam

2018-08-16 Thread Joe
_error: (-2147220990, 'CONNECT_E_CANNOTCONNECT', None, None) Could someone of you point me in the right direction and maybe put together a few lines to get me started? Kind regards, Joe ___ python-win32 mailing list python-win32@python.org h

[python-win32] pywintypes.com_error- no data source was provided when sending outlook attachment

2016-03-20 Thread Joe via python-win32
Hello,Iam trying to send an email through outlook 2010 on a win 7 64 bit oswith python 2.7 32 bit and win32com 32 bit. I am using the same codeexample found in many Google search results. This chunk of code willrun fine if I rem out the attachment, but once I try adding theattachment, I get an e

[python-win32] win32api & win32gui help

2014-03-02 Thread Joe Bennett
gger32") print "hwnd= ", hwnd message = win32api.RegisterWindowMessage("Logger32 3") win32api.PostMessage(hwnd,message,1,9) test = win32gui.GetMessage(hwnd,0,0) print "GetMessage: ", test Thanks -Joe KA3NAM

Re: [python-win32] Write to address on PhysicalDisk

2009-11-30 Thread Joe Grado
It appears you need to use the win32 interface for write access to physical drives. CAUTION: This code writes over the first sector of a USB drive. for physical_disk in c.Win32_DiskDrive (Index=1,InterfaceType='USB'): sector_size = int(physical_disk.BytesPerSector) total_sector

[python-win32] Write to address on PhysicalDisk

2009-11-28 Thread Joe Grado
I am trying to zero an entire usb drive including the boot sector. The code below works perfect but if I try to open the drive in write mode(wb) then I get this error message: IOError: [Errno 2] No such file or directory: u'.\\PHYSICALDRIVE1' Code: Select all import binascii import wm

Re: [python-win32] ODBC date and time issues

2008-10-06 Thread Joe Healy
Roger Upole wrote: Joe Healy wrote: Roger, Thanks for this, they were exactly the sort of changes I had in mind, but with very little knowledge about how to go and make them. We will try to build from source, but have not tried this before. We'll let you know how we go with this. W

Re: [python-win32] ODBC date and time issues

2008-10-05 Thread Joe Healy
ailed) instructions from http://mail.python.org/pipermail/python-win32/2006-November/005254.html and hope for the best We are also happy to test any builds you send us. We'll know fairly quickly if there have been any behavior changes or problems. Thanks again, Joe Roger Upole wrote: Coinciden

[python-win32] ODBC date and time issues

2008-10-05 Thread Joe Healy
hon-win32, with New Zealand and Australian time zone changes for Sept/Oct 2008 on Vista, XP and Server 2003. As an aside, the testDates method in test_odbc.py looks a little bit strange. Is it actually testing against the string 'd' instead of the variable d? Thanks in advance, Joe i

[python-win32] screenshot of a window?

2005-03-22 Thread magic joe
Thats a nice coincidence I'm also looking for screenshot but then only for a certain window. Still need to know how to find a certain window and then get its coordinates. J. ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org