Movatterモバイル変換


[0]ホーム

URL:


Win32 / MS Binder

Mark HammondMarkH 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.MissingdefaultNamedNotOptArg=pythoncom.MissingdefaultUnnamedArg=pythoncom.MissingChange all 3 to use "pythoncom.Empty".  If this fixes the problem please let me know...Mark.


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp