Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Michael March
Arg! I typed too soon.. There were a ton of those strings in the file and one of them WAS the correct one! Thanks LAZY WEB! :) On 4/3/07, Mark Hammond <[EMAIL PROTECTED]> wrote: > > # This CoClass is known by the name 'TDClient80.AmarillusHash.1' > > > > Is that my golden ticket? > > You tell u

Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Mark Hammond
> # This CoClass is known by the name 'TDClient80.AmarillusHash.1' > > Is that my golden ticket? You tell us! :) But quite possibly. If that is the only occurance, it probably is. If there are others, you probably need to inspect the methods available to work out the correct one. Mark ___

Re: [python-win32] Win32 service with tray icon

2007-04-03 Thread Mark Hammond
> 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 running. I think the answer

Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Michael March
# This CoClass is known by the name 'TDClient80.AmarillusHash.1' Is that my golden ticket? On 4/3/07, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Newbie question.. > > > > I am trying to connect to a COM object.. and I can't figure > > how to code it.. > > You really need to consult the documenta

Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Mark Hammond
> Newbie question.. > > I am trying to connect to a COM object.. and I can't figure > how to code it.. You really need to consult the documentation for the object itself. > > In Makepy the name of the COM object is: > >OTA COM 9.0 Type LIbrary (1.0) Try opening the file generated by makepy -

[python-win32] Win32 service with tray icon

2007-04-03 Thread TC Hough
Hi all, 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 running. I think the answer i

Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Michael March
Here is what I get when I try that... >>> td = win32com.client.Dispatch("TDConnection") Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(d

Re: [python-win32] How to figure out the COM object name?

2007-04-03 Thread Tim Roberts
Michael March wrote: > I am trying to connect to a COM object.. and I can't figure how to code it.. > > In Makepy the name of the COM object is: >OTA COM 9.0 Type LIbrary (1.0) > > The DDL is: >OTAClient.dll > > The VB samples have stuff like this.. >Dim td as New TDConnection >td.I

[python-win32] How to figure out the COM object name?

2007-04-03 Thread Michael March
Newbie question.. I am trying to connect to a COM object.. and I can't figure how to code it.. In Makepy the name of the COM object is: OTA COM 9.0 Type LIbrary (1.0) The DDL is: OTAClient.dll The VB samples have stuff like this.. Dim td as New TDConnection td.InitConnectionEx "h