# Server Programming

> Run TXTextControl as an automation server in Windows Scripting Host or IIS with EnableAutomationServer, and see the dialog and display members it can't use.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Integration Guide > Server Programming
- **1566 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/integration/automation-server/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/integration/automation-server/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/integration/automation-server/llms-full.txt

---

Scripting engines such as Windows Scripting Host or Internet Information Server can use TX Text Control ActiveX as an automation server. Read on for the method that turns it on and the members a script cannot use while it runs this way.

### Enable the Automation Server

> Important
>
> **Call EnableAutomationServer First.** After your script creates the `TXTextControl` automation object, the first call must be [EnableAutomationServer](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/enableautomationserver-method/llms-full.txt). It returns `True` if the control now works as an automation server and `False` otherwise.

All properties and methods of `TXTextControl` can then be used, except those that need a visible surface: dialog boxes, toolbars and all features that change how a document is displayed.

### Members You Cannot Use

The following properties and methods cannot be used when `TXTextControl` works as an automation server:

| Member | Description |
|---|---|
| [BackStyle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/backstyle-property/llms-full.txt) | Returns or sets a value indicating whether the background of the control is transparent or opaque. |
| [ButtonBarHandle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/buttonbarhandle-property/llms-full.txt) | Specifies the button bar control to be used with the control. |
| [CanCopy](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/cancopy-property/llms-full.txt) | Informs whether a part of the document has been selected and can be copied to the clipboard. |
| [CanPaste](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/canpaste-property/llms-full.txt) | Informs whether the clipboard contains a format that can be pasted into the document. |
| [Clip](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clip-method/llms-full.txt) | Performs clipboard operations. |
| [ClipChildren](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clipchildren-property/llms-full.txt) | Determines whether child controls are excluded from the update area. |
| [ClipSiblings](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/clipsiblings-property/llms-full.txt) | Determines whether sibling controls are excluded from the update area. |
| [ControlChars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/controlchars-property/llms-full.txt) | Specifies whether control characters are visible. |
| [DataText](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/datatext-property/llms-full.txt) | Enables the control to be used as a bound control. |
| [DataTextFormat](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/datatextformat-property/llms-full.txt) | Determines the data format when the control is used as a bound control. |
| [Enabled](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/enabled-property/llms-full.txt) | Returns or sets a value that determines whether the control can respond to user-generated events. |
| [FindReplace](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/findreplace-method/llms-full.txt) | Displays a **Find** or **Replace** dialog box. |
| [FontDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontdialog-method/llms-full.txt) | Invokes the built-in font dialog box. |
| [FormFieldDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddialog-method/llms-full.txt) | Invokes the built-in dialog box for setting formatting attributes of form fields. |
| [GetLineFromPoint](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinefrompoint-method/llms-full.txt) | Returns the index of the line which contains a given point. |
| [hWnd](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/hwnd-property/llms-full.txt) | Returns a handle to the control. |
| [InputPosFromPoint](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/inputposfrompoint-method/llms-full.txt) | Returns the text input position belonging to a certain geometric position. |
| [ListAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/listattrdialog-method/llms-full.txt) | Invokes the built-in dialog box to set the attributes of bulleted and numbered lists. |
| [LockWindowUpdate](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/lockwindowupdate-property/llms-full.txt) | Disables or reenables redrawing. |
| [MousePointer](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/mousepointer-property/llms-full.txt) | Returns or sets a value indicating the type of mouse pointer. |
| [PageNumberDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagenumberdialog-method/llms-full.txt) | Invokes the built-in dialog box for setting formatting attributes of page numbers. |
| [ParagraphDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/paragraphdialog-method/llms-full.txt) | Invokes the built-in paragraph attributes dialog box. |
| [Refresh](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/refresh-method/llms-full.txt) | Forces a complete repaint of the control. |
| [RulerHandle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/rulerhandle-property/llms-full.txt) | Specifies the horizontal ruler control to be used with the control. |
| [SaveToMemory](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/savetomemory-method/llms-full.txt) | Returns a byte array containing text data in a specified format. Use [SaveToMemoryBuffer](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/savetomemorybuffer-method/llms-full.txt) instead. |
| [ScrollBars](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollbars-property/llms-full.txt) | Returns or sets a value indicating whether the control has horizontal or vertical scroll bars. |
| [ScrollPosX](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollposx-property/llms-full.txt) | Specifies the position of the horizontal scroll bar. |
| [ScrollPosY](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/scrollposy-property/llms-full.txt) | Specifies the position of the vertical scroll bar. |
| [SizeMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sizemode-property/llms-full.txt) | Specifies whether the control can be moved or resized at run time. |
| [StatusBarHandle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/statusbarhandle-property/llms-full.txt) | Specifies the status bar control to be used with the control. |
| [StyleDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/styledialog-method/llms-full.txt) | Invokes the built-in dialog box for creating, deleting and modifying formatting styles. |
| [TabDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tabdialog-method/llms-full.txt) | Invokes the built-in dialog box that enables tabs to be set. |
| [TableAttrDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableattrdialog-method/llms-full.txt) | Invokes the built-in table attributes dialog box. |
| [TableInsertDialog](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/tableinsertdialog-method/llms-full.txt) | Invokes the built-in table insert dialog box. |
| [VerticalRulerHandle](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/verticalrulerhandle-property/llms-full.txt) | Specifies the vertical ruler control to be used with the control. |
| [ZoomFactor](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/zoomfactor-property/llms-full.txt) | Specifies the zoom factor for the control. |

### Related Pages

- [ASP and VBScript](https://docs.textcontrol.com/tx-text-control-activex/integration/asp/llms-full.txt): use TX Text Control in Microsoft Internet Information Server with ASP.
- [Installing TX Text Control on a Server](https://docs.textcontrol.com/tx-text-control-activex/installation/server/llms-full.txt): set up TX Text Control on the server.
- [Server Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/server/llms-full.txt): the members of the Server Programming category.

---

## Nearby

- **Previous:** [Online Store: An Advanced ASP Example](https://docs.textcontrol.com/tx-text-control-activex/integration/asp/online-store/llms-full.txt)
- **Next:** [Setting the DPI Awareness](https://docs.textcontrol.com/tx-text-control-activex/integration/dpi-scaling/llms-full.txt)
