PDA

View Full Version : Active X Server with .NET can't load/find bookmarks


MikeLo
August 21, 2004, 01:12:50
Hi, I'm evaluating Text Control's Active X Server product and I'm having problems getting some of the functionality to work. The main need I'm hoping to fill with TextControl is to have a server based process that can take a word doc with bookmarks and an xml doc with bookmark names and data, and output a PDF.

I'm following some examples that TextControl provided in some calls with my company and I'm unable to reproduce the functionality using .NET.

I'm able to create the TXTextControl object and run the load method to pull in the word Doc with the proper format code of '9', but the Find command isn't able to match anything on the doc. I'm unable to match single characters, bookmarks, anything. All calls to the Find command return '-1'. I don't know if the problem is with the Load or the Find.

What am I doing wrong? Is this just not working with .NET?

Mike

MikeLo
August 21, 2004, 01:57:17
Figured it out. Wasn't calling the EnableAutomationServer command.