> Hi!
>
> I'have a problem with this code :
>
> import win32gui
> fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0]
> print fname
>
> The InitialDir is not set. It's already the last dir opened, and not my
> request.
>
> Any idea ? Thanks by advance.
>
> Michel Claveau
I
Mark Hammond wrote:
>> Forgive my ignorance but those are my first steps with com. Does that
>> mean I should create and register a COM server?
>
> You should create one - you probably don't need to register it.
>
>> Basically I'm trying to reimplement the following code in python:
>>
>> http://w
> Forgive my ignorance but those are my first steps with com. Does that
> mean I should create and register a COM server?
You should create one - you probably don't need to register it.
> Basically I'm trying to reimplement the following code in python:
>
> http://www.codeproject.com/internet/CMa
Mark Hammond wrote:
>> I'd like to ask for help on how to create a valid event Sink
>> which I can
>> pass to the Advise() method of a message stores table.
>
> This might be tricky unless pywin32 already has support for the specific
> interface you need.
I want to receive 'new mail' notification
> I'd like to ask for help on how to create a valid event Sink
> which I can
> pass to the Advise() method of a message stores table.
This might be tricky unless pywin32 already has support for the specific
interface you need.
> Any class I made up so far gives the same error:
>
> File "", line 3
On 09/05/07, Michel Claveau <[EMAIL PROTECTED]> wrote:
> I'have a problem with this code :
>
> import win32gui
> fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0]
> print fname
>
> The InitialDir is not set. It's already the last dir opened, and not my
> request.
>
> Any idea ?
Hi!
I'have a problem with this code :
import win32gui
fname=win32gui.GetOpenFileNameW(InitialDir="C:\\dev")[0]
print fname
The InitialDir is not set. It's already the last dir opened, and not my
request.
Any idea ? Thanks by advance.
Michel Claveau
_
Larry Bates schrieb:
> Mark Hammond wrote:
>>> I'm writing a win32 service in Python. I'd like to add a
>>> tray icon displayed
>>> whenever the service is running. I have played around with
>>> SysTrayIcon.py
>>> [1], but if a user logs off and logs back on, the tray icon
>>> disappears even
>>>
Larry Bates wrote:
> Please accept my apology for hijacking this thread, but it is exactly
> what I want to implement. I have a COM object that is doing an upload.
> I want a system tray icon that:
>
> 1) Shows a heartbeat (upload progress indicator)
> 2) Provides the user with a way to cancel th
Mark Hammond wrote:
>> I'm writing a win32 service in Python. I'd like to add a
>> tray icon displayed
>> whenever the service is running. I have played around with
>> SysTrayIcon.py
>> [1], but if a user logs off and logs back on, the tray icon
>> disappears even
>> though the service is still r
Alrighty, I'll keep looking in to it. I think it is easy to make the buffers
get returned as a python list. Almost all the code exists to help with that.
The tough part is telling the COM that the array being passed IN needs to
become a Safe Array where the size of each element is only VT_UI1. The
11 matches
Mail list logo