DOC to Any Converter

Microsoft Excel Application entry missing in DCOMCNFG

VeryDOC DOC to Any Converter Home Page,

https://www.verydoc.com/doc-to-any.html

Hi I'm using windows 7 home premium. I have an application in ASP.Net which uses Excel Application Object. It used to work fine in XP but in Windows 7 I'm getting an error as mentioned below:

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

I need to give permissions to Microsoft Excel Application in DCOM config but I can't seem to find this in windows 7. It used to be there in earlier versions but now its not there. I tried to reinstall Office 2007 but still I couldn't find it in DCOM config. Please suggest where I can give permissions to MS Excel Application so that my application runs without errors.
----------------------------------------------------------------------
1. Control Panel -> Administrative Tools -> Component Services
2. Console Root -> Component Services -> Computers -> My Computer -> DCOM Config
3. Right-Click 'Microsoft Excel Application' and choose Properties
4. Click 'Security' tab
5. Customize 'Launch and Activation Permissions'
6. Add the local ASPNET user and give it all permissions

----------------------------------------------------------------------
Thanks for the reply.. the problem is that there is no "Microsoft Excel Application" in dcomcnfg.. I'm not able to find it there. I reinstalled Office 2007 also, but still I couldn't find it there.
----------------------------------------------------------------------
I have the same problem. I took a look in the registry to find the correct CLSID from the appID but I did not found anything. Is there any workaround or solution ?

Best regards
----------------------------------------------------------------------
I found a solution to this problem by giving permissions at system level by following the steps below
1. go to DCOMCNFG
2. In the left tree structure, right click on My Computer and select Properties
3. Click on COM SECURITY tab
4. Give Permissions to Network Service and Users in the "Access Permissions" and "Launch and Activation Permissions" by clicking the Edit Default buttons.

Now check your application.
----------------------------------------------------------------------
This does not fully work. Having changed the settings according to your solution, I could create excel reports (via asp.net, iis and office). however, a day later, this no longer worked although the permissions are still assigned to the network account (and the account of the iis pool). There must be another setting that affects using Office/Excel in IIS 7.5 on Windows Server 2008/Windows 7

Any help is appreciated
----------------------------------------------------------------------
Use MMC comexp.msc /32 on Windows 7 x64
----------------------------------------------------------------------
This solution is ...

- Windows 2008 Server x64
Please make this folder.
C:\Windows\SysWOW64\config\systemprofile\Desktop

- Windows 2008 Server x86
Please make this folder.
C:\Windows\System32\config\systemprofile\Desktop
----------------------------------------------------------------------

We faced similar kind of issues and found some workarounds ...

1. Issue in opening word document (from DCOM component, in windows 2008 64 bit machines)
create folder called "Desktop" under "C:\Windows\SysWOW64\config\systemprofile" or "C:\Windows\System32\config\systemprofile" as mentioned in http://social.msdn.microsoft.com/Forums/en/innovateonoffice/thread/b81a3c4e-62db-488b-af06-44421818ef91

2. Issue in printing
configure word to run as "Interactive user"

Steps to configure word to run as “Interactive User”
1. open registry editor (regedit)
2. Search for winword.exe, copy the AppId/Guid for word from “HKEY_CLASSES_ROOT\AppID\WINWORD.EXE”
3. Open Compent Services (dcomcnfg), Go to Computers->MyComputer->DCOM Cnfg
4. Select the application with the guid copied from registry.
5. Right click on it, select properties, select Identity tab, select “Interactive User”, click on “Apply” button.
----------------------------------------------------------------------

See Also:

Windows Service Running Word via DCOM
http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/742e4b7c-594d-4c10-8bae-f8d398d0e190/

VN:F [1.9.20_1166]
Rating: 7.7/10 (6 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Raster to Text OCR Command Line

How to convert encrypted PDF to TXT with original PDF layout

VeryDOC Raster to Text OCR Converter Command Line allows Windows users to convert encrypted PDF to TXT with original PDF layout through command line instantly.

Sometimes, encrypted PDF files are not easy to be converted, or they are not retained in original PDF layout when they need to be converted in relevant conversion. So, then, VeryDOC Raster to Text OCR Converter Command Line could be your best choice, which not only help you retain original layout, but also help you with other operations flexibly. For more information about this software, please check its homepage from link above. And now, the next paragraphs tells you how to get encrypted PDF converted to TXT with original PDF layout through commands:

Step1. Download software

Please download package of its trial version from here:

Download VeryDOC Raster to Text OCR Converter Command Line

And then, after download, you need to extract its folder to your computer, where there are essential executive file, “readme.txt”, etc. for later process, and after that folder is in your computer, it means trial version of this application is yours. 🙂

Step2. Run cmd.exe

If you are beginner in commands, maybe you want to ask why run cmd.exe. So let me tell you, running cmd.exe can help you open command prompt, which is right environment of commands in Windows systems.

Step3. Convert encrypted PDF file to TXT with original PDF layout

After command prompt is opened, please understand parameters below and refer to examples to fulfill your process:

  • Parameters:

-ownerpwd <string>: set owner password for encrypted PDF file

-userpwd <string>: set user password for encrypted PDF file

-layout: maintain original physical layout

  • Examples:

pdf2txtocr.exe –ownerpwd 123765 –userpwd 456321 –layout C:\in.pdf C:\out.txt

where:

pdf2txtocr.exe: call executive file “pdf2txtocr.exe”

C:\in.pdf: specify input PDF file

C:\out.txt: specify output TXT file

After you use this trial version software to accomplish process like above, and you can get TXT file with original PDF layout exactly in targeting folder. However, there are some watermarks in produced TXT file, yes, it must be, for it is trial version. So if you want to avoid this kind of watermarks, you can get full version of this software from here:

Purchase VeryDOC Raster to Text OCR Converter Command Line

Thank you for reading this article to know how to use VeryDOC Raster to Text OCR Converter Command Line to convert encrypted PDF file to TXT file with original PDF layout through commands. 🙂

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Raster to Text OCR Command Line

How to convert specified pages PDF to text

Please do not hesitate to use VeryDOC Raster to Text OCR Converter Command Line to convert specified pages PDF to text through command line in Windows systems.

VeryDOC Raster to Text OCR Converter Command Line not only support converting PDF file to text file and raster image to text, but also support lots of text properties, various languages for OCR technology, and even setting specified pages for converting PDF file, etc.. So if you are interested in how to realize specified PDF pages conversion to text, why not just directly read the following paragraphs? 🙂

First of all, please download package of trial version for free here:

Download VeryDOC Raster to Text OCR Converter Command Line

And then, after you extract its content to your computer, trial version software can be used later. 🙂

Firstly, please run cmd.exe to open command prompt for later typing of commands and parameters. Then, please allow me to show you relevant parameters:

  • -firstpage <int>: set first PDF page to convert
  • -lastpage <int>: set last PDF page to convert

And then, as you know, the parameters above need to be typed in command prompt window, and here is example for you to refer to:

pdf2txtocr.exe -firstpage 2 -lastpage 3 C:\in.pdf C:\out.txt

Note: this example tells you how to convert 2nd and 3rd pages of PDF file to text. 🙂

  • pdf2txtocr.exe: call executive file “pdf2txtocr.exe”
  • C:\in.pdf: specify source PDF file
  • C:\out.txt: specify output text file

After you use software to start conversion, later on, text file can be generated from specified pages of input PDF file.

If you visit homepage of VeryDOC Raster to Text OCR Converter Command Line, you will see there are much more functions that this software can accomplish for your better work. However, here, thank you for reading this article based on describing how to convert specified pages PDF file to text through commands. Of course, you can bookmark this page if you want to know more practical articles here later. And finally, to get this software that will not leave watermark on produced file, please go to purchase page:

Purchase VeryDOC Raster to Text OCR Converter Command Line

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Raster to Text OCR Command Line

How to set color depth when rendering PDF to image data of text

This article aims to provide you with command line way to render PDF to image data of text and set color depth, and you can keep reading this article to get more details.

First, you need to know which tool we need to use for the later process, it is VeryDOC Raster to Text OCR Converter Command Line. This tool allows lots of operations to happen in basic process from PDF file to text and setting text properties flexibly and professionally. And of course, even when image color depth needs to be set, which is located in source PDF file, this software also support rendering image data from PDF file to text file. So by now, if my description arises your interest at this tool, please feel free to download trial version here, which means watermark will be left on produced file.

Download VeryDOC Raster to Text OCR Converter Command Line

Then, here are details to use this tool to set color depth during rendering PDF to image data of text through commands:

Step1. Open command prompt

You need to run cmd.exe to open running environment of commands for Windows systems, and then, command prompt can be popped on screen directly.

Step2. Render PDF to image data of text and edit image color depth

It is not complex for you to fulfill these operation at all, and all you need to do is just to refer to the following example and then input your own commands and parameters to accomplish them in your own computer. So, firstly, here is relevant parameter you need to know:

-bitcount <int>: set color depth when render PDF page to image data, it can be set 1, 8, 24, default is 8bit

NOTE: if source PDF file is image PDF, suppose you would not use OCR technology to scan detail characters, image PDF will be converted to image data text. Or, source PDF contains images, this parameter still work:)

Then, here are examples that you can refer to:

pdf2txtocr.exe -bitcount 1 C:\in.pdf C:\out.txt

pdf2txtocr.exe -bitcount 8 C:\in.pdf C:\out.txt

pdf2txtocr.exe –ocr -bitcount 24 C:\in.pdf C:\out.txt

note: the 1st, 2nd examples show us how to render normal PDF file to text with specific image color depth when there are some images in source PDF; the 3rd example shows us how to edit color depth during using OCR technology to render scanned PDF file to image data of text and set image color depth.

where:

  • pdf2txtocr.exe: call executive file “pdf2txtocr.exe”
  • C:\in.pdf: specify input PDF file
  • C:\out.txt: specify output TXT file
  • -ocr: enable OCR function for scanned PDF file

After you use our tool to convert PDF file to image data of text and set image color depth through commands, targeting text file containing specific color depth images can be produced into destination folder directly and instantly. 🙂

For more articles about this software with more functions, welcome to visit here frequently. And for full version of VeryDOC Raster to Text OCR Converter Command Line, please click following icon:

Buy VeryDOC Raster to Text OCR Converter Command Line

Thank you for reading this article, which aims to show you how to set color depth when rendering PDF to image data of text through commands.

VN:F [1.9.20_1166]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Raster to Text OCR Command Line

How to convert scanned PDF/raster image to text in various languages

The utility VeryDOC Raster to Text OCR Converter Command Line could help you convert scanned PDF/raster to text in various languages flexibly on Windows platforms.

This application supports recognizing text in images, recognizing text in scanned PDF and converting PDF to plain text professionally. Also it supports converting scanned image files to plain Text files including TIFF, JPG, PNG, BMP, GIF, PCX, TGA, JP2, PNM and MNG, which is able to retain original layout of PDF documents. Moreover, this tool supports English, French, German, Italian, Czech, Danish, Dutch, Norwegian, Polish, Portuguese, Spanish, Swedish, etc. various languages.

If you want to get trial version of this application, welcome to click following icon, then you can get ZIP file, and after you extract its content to your computer, trial version could be yours.

Download VeryDOC Raster to Text OCR Converter Command Line

Then, in the next paragraphs, I will show you how to realize converting raster/scanned PDF to text in various languages, if you want to know that, just focus on the followings: 🙂

Step1. Run cmd.exe

Command Prompt window is operating environment of commands on Windows platforms. You can run cmd.exe to open it directly, after you get Run dialog box on screen. After elementary environment is opened, commands could be typed directly. 🙂

Step2. Convert scanned PDF/raster file to text in various languages

Here some parameters need to be typed in command prompt window, when you want to use OCR  technology to convert scanned PDF in supported languages:

  • -ocr: enable OCR function for scanned PDF file
  • -lang <string>: choose the language for OCR engine, e.g., –lang eng, –lang deu, etc.

And here are examples for you to refer to below:

pdf2txtocr.exe -ocr -lang eng C:\in.pdf C:\out.txt

pdf2txtocr.exe -ocr -lang deu C:\in.pdf C:\out.txt

However, if you want to use this software to convert raster image file, just type commands directly without OCR parameters, for program has been set to help you convert raster image to editable text directly without helping of specific OCR parameters. And if you understand what I mentioned above, here are some examples to help you convert raster file to text:

pdf2txtocr.exe C:\in.tif C:\out.txt

pdf2txtocr.exe C:\in.jpg C:\out.txt

After you follow my steps above to input commands with or without parameters above to convert scanned PDF/PDF or raster image, once you use VeryDOC Raster to Text OCR Converter Command Line, targeting text of editable could be instantly produced from each of them separately. 🙂

Here is end of this article, and I hope it can be helpful to you some time. However, to know more practical functions of this application, just download trial version to read “readme.txt” or just follow us in articles that will be updated later. 🙂 Thank you for reading this article here with me, which is about how to convert scanned PDF/raster image to text in various languages. And at last, here is purchase entrance if you want to get full version of VeryDOC Raster to Text OCR Converter Command Line. 🙂

Purchase VeryDOC Raster to Text OCR Converter Command Line

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)