Home > Software engineering >  ObjSource not object
ObjSource not object

Time:09-17

Under the code error, but can't find the reason, big help, genuflect is begged not appreciate

CodePudding user response:

Shell. The Application object of the NameSpace () function,
Role is "create Folder object and returns the specified Folder,"

And your incoming parameters myZipFile is a "file", not "folder"!
Then it returns the result should be Null,
You behind reoccupy ObjSource to call its interface function, will go wrong, of course,

In addition: CSV format file, it is no compression?
Generally XLSX, docx Office documents, such as is compressed with zip format

CodePudding user response:

reference 1/f, a toast to invite the bright moon response:
Shell. The Application object of the NameSpace () function,
Role is "create Folder object and returns the specified Folder,"

And your incoming parameters myZipFile is a "file", not "folder"!
Then it returns the result should be Null,
You behind reoccupy ObjSource to call its interface function, will go wrong, of course,

In addition: CSV format file, it is no compression?
Generally XLSX, docx Office documents, such as is compressed with zip format
thank you
  • Related