TX Text Control Activex - Error: 80040112

G

Guest

Hi,

I'm using a control called "TX Text Control Activex Server" load and display
word documents and export them as pdf, rtf ...etc
and this is the code that should load a word document the export it as pdf:

Tx4oleLib.TXLicenseManager objLC;
Tx4oleLib.TXTextControlClass objTX;
objLC = new Tx4oleLib.TXLicenseManagerClass();
objTX = new Tx4oleLib.TXTextControlClass();
string docPath = "C:\\Clients\\Kempsey\\warrning.doc";
objTX.Load(docPath, 0, 9,0);

BUT, its giving me this error when it comes to the forth line:
"objTX = new Tx4oleLib.TXTextControlClass();" - trying to create an instance
of "Tx4oleLib.TXTextControlClass();"

"Creating an instance of the COM component with CLSID
{AB949AC1-EC97-11D9-9E2B-004005A9ABD2} from the IClassFactory failed due to
the following error: 80040112. "
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top