Re: Problems with COM interface

2001-07-15 Thread Luciano Ramalho
> When I type gen_app. in PythonWin, the autocompletion > > list members are; Do not depend so much on autocompletion to understand an interface. One of Python's greatest strengths is the fact that it is extremely dynamic, allowing objects to acquire new attributes/methods at runtime. Mark Hammo

RE: Problems with COM interface

2001-07-14 Thread Kent Tenney
What about simply "gen_app.Activate()" ? >>> gen_app.Activate() Traceback (most recent call last): File "", line 1, in ? File "c:\python21\win32com\gen_py\8C025610-7F9C-11D2-A604-C05CF0F8x0x1x0.py", line 218, in Activate return self._oleobj_.InvokeTypes(0x10, LCID, 1, (24, 0),

RE: Problems with COM interface

2001-07-13 Thread Mark Hammond
> >>> gen_app > > > >>> gen_app.default_interface.Activate() What about simply "gen_app.Activate()" ? > Traceback (most recent call last): File "", > line 1, in ?TypeError: unbound method Activate() must be called > with instance as first argument > Evidently I have the class, not a

Problems with COM interface

2001-07-13 Thread Kent Tenney
Howdy, I need to import ~ 14,000 filename/keyword sets from a .csv file into Canto Cumulus, an image management app. and I'm a bit over my head with this stuff. If the following is enough to provide some direction, I'd appreciate it. here's my code; import win32com.client from win