Wim Sandra
July 31, 2003, 16:10:30
Hi,
The TX Text Control ActiveX Server fails on the attached word document with the following code:
Tx4oleLib::ILicManagerPtr lic(__uuidof(Tx4oleLib::TXLicenseManager));
Tx4oleLib::_DTX4OLEPtr textControl(__uuidof(Tx4oleLib::TXTextControl));
textControl->EnableAutomationServer();
textControl->Load((char *) _fullPathName.c_str(), 0, 9);
textControl->ViewMode = 2;
textControl->PageHeight = 16837;
textControl->PageWidth = 11906;
It does not fail without the "textControl->EnableAutomationServer();"
Wim
The TX Text Control ActiveX Server fails on the attached word document with the following code:
Tx4oleLib::ILicManagerPtr lic(__uuidof(Tx4oleLib::TXLicenseManager));
Tx4oleLib::_DTX4OLEPtr textControl(__uuidof(Tx4oleLib::TXTextControl));
textControl->EnableAutomationServer();
textControl->Load((char *) _fullPathName.c_str(), 0, 9);
textControl->ViewMode = 2;
textControl->PageHeight = 16837;
textControl->PageWidth = 11906;
It does not fail without the "textControl->EnableAutomationServer();"
Wim