Modifying the Text of a Custom Task Pane

InfoPath supports a single custom task pane with HTML and, optionally, JScript or Visual Basic Scripting Edition (VBScript) code that’s contained in the HTML resource file you specify on the Advanced tab of the Form Options dialog box. You change the content of a custom task pane by replacing the resource file’s code with a String variable containing the revised code. Most custom task panes are viewrelated, so the most common event handler for changing task pane content is OnChangeView. Retrieving and setting task pane code requires adding a reference to the .NET-enabled Microsoft.mshtml Component Object Model (COM) component and an Imports mshtml statement before or after the Imports Microsoft.VisualBasic ...

Get Introducing Microsoft® Office InfoPath™ 2003 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.