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

2007-04-04 Thread Michael March
Just a quick follow-up.. Since getting past the issue of how to determine the name of the COM object... my programming adventures of scripting to access Mercury Quality Center has been insanely great. The first thing I did was 'port' some of the VB examples to Python and just in number of lines th

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

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