Welcome Guest Search | Active Topics | Sign In | Register

How can I let use different temp folder in EO in different instances of my executable? Options
Mikhael
Posted: Friday, April 29, 2022 8:58:03 AM
Rank: Newbie
Groups: Member

Joined: 6/24/2020
Posts: 4
Hello,

Could you please tell me how can I let use different temp folder in EO.Pdf.HtmlToPdf.ConvertHtml() and in EO.WebBrowser in different instances of my executable?

I need to protect myself from sharing the same temp folder in different instances of my application executable.

My application main functions are converting HTML files to PDF and printing HTML files.

Mikhael
eo_support
Posted: Friday, April 29, 2022 10:37:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
Hi,

You can use the following line to set cache path before you call anything else:

Code: C#
EO.WebEngine.EngineOptions.Default.CachePath = your_cache_path;


Make sure you set it to a different path for every instance of your application. This works both for EO.Pdf and EO.WebBrowser.

Thanks!
Mikhael
Posted: Friday, April 29, 2022 12:24:13 PM
Rank: Newbie
Groups: Member

Joined: 6/24/2020
Posts: 4
Thank you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.