Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting docx to pdf
Message
From
02/05/2019 10:36:54
 
 
To
02/05/2019 03:47:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
VB.NET
Category:
API
Miscellaneous
Thread ID:
01668348
Message ID:
01668362
Views:
28
>Like Rick said, use an external component. I've tried TextControl and TextDynamic. Back then (8 and 13 years ago) both were very capable and could be installed easily, the startup code with registration variables setting wasn't too complicated and both cost around 500€ for an activeX control. Nowadays both have .net versions. I'm still using TextControl for mass conversion of docx to pdf in several clients. Mind you, any floating frames in the .docx file will throw off the calculation of positions and there may be empty pages in the .pdf; everything else renders fine, small memory consumption and no leaks.
>The method of using Word itself may be OK for one document or two, but then oWord.quit() or there will be problems, sooner or later. When I tried to automate docx-to-pdf i Word itself, it was consuming about 20M per document (of perhaps 200K size in the average, containing perhaps 2K of text), which it never returned. I had to shut and relaunch Word at least on every 200 files or it would start crashing.

Automation from the Web is to be avoided. I will look at TextControl.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform