Export with OLE Interface without content file and Custom error page
|olsztynski||01/10/2005 12:50 pm|
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.
|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.
|olsztynski||01/11/2005 03:51 am|
A new function Export2 is a good solution for me.
And it is ok, i understand the problem for the missing file.
> 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:
Export2(Directory: WideString; PutTo: OEExportPutTo; PlainDir: Integer;
AddStandardExtensions: Integer; PreserveOnlineURLs: Integer;
FilenamesFormat: OEFilenamesFormat; MakeAutorunCD: Integer;
CreateContentsFile: Integer; RecentlyLoadedFiles: Integer;
The updated oe.exe file is here:
|olsztynski||01/11/2005 11:23 am|
|It works very well and solve my problem.
|Oleg Chernavin||01/11/2005 02:40 pm|
|You are welcome!