A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/092251.html below:

MS Binder

Win32 / MS BinderMark Hammond MarkH at ActiveState.com
Tue Apr 24 23:17:27 EDT 2001
Matthew Turk wrote:

> it says COM error - invalid argument.  I'm pretty sure the keyword is
> correct - it's directly out of hte MS Help file, as well as I get
> invalid keyword errors when I try filename or Filename or fileName.
> Now, this obviously adds a specific file.  But when I try to add a new
> section by *type* instead of by file, it works perfectly (i.e.
> binder.Sections.Add(Type = "Excel.Sheet") or some such).


Try opening the makepy generated file for the binder, and locate the lines:

defaultNamedOptArg=pythoncom.Missing
defaultNamedNotOptArg=pythoncom.Missing
defaultUnnamedArg=pythoncom.Missing

Change all 3 to use "pythoncom.Empty".  If this fixes the problem please 
let me know...

Mark.


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4