Export with OLE Interface without content file and Custom error page

Author Message
olsztynski 01/10/2005 12:50 pm
Hello,

I am using Offline with the OLE Automation Interface.

I want to Export a project but without creating the content file. It`s working well directly in Offline but not in OLE where i always have the content file.

An other point is that I export my project in CHM format and i would like to know if it is possible to replace the pages "The page cannot be displayed" by a custom error page ? The error pages come from links that we have not downloaded.

Thanks.
Oleg Chernavin 01/10/2005 01:24 pm
OK. I can add Export2 function which will have the ability to suppress creating contents.htm files. Would that work for you?

Regarding the missing file page - it is generated by MS IE automatically and cannot be overwritten. Sorry.

Best regards,
Oleg Chernavin
MP Staff
olsztynski 01/11/2005 03:51 am
Hello,

A new function Export2 is a good solution for me.

And it is ok, i understand the problem for the missing file.


Thanks,

Bertrand Olsztynski.

> OK. I can add Export2 function which will have the ability to suppress creating contents.htm files. Would that work for you?
>
> Regarding the missing file page - it is generated by MS IE automatically and cannot be overwritten. Sorry.
>
> Best regards,
> Oleg Chernavin
> MP Staff
Oleg Chernavin 01/11/2005 09:57 am
OK. I just added it:

IOEProject.Export2:

Export2(Directory: WideString; PutTo: OEExportPutTo; PlainDir: Integer;
AddStandardExtensions: Integer; PreserveOnlineURLs: Integer;
FilenamesFormat: OEFilenamesFormat; MakeAutorunCD: Integer;
CreateContentsFile: Integer; RecentlyLoadedFiles: Integer;
AddOriginalURLs: Integer);

The updated oe.exe file is here:

http://www.metaproducts.com/download/betas/oee1911.zip

Oleg.
olsztynski 01/11/2005 11:23 am
It works very well and solve my problem.


Thanks !
Oleg Chernavin 01/11/2005 02:40 pm
You are welcome!

Oleg.