Task Pane

S

Steve

I would like to hide a custom task pane that I have created, so i have added
the following code to the onload event

Dim oTaskPane As HTMLTaskPaneObject = thisXDocument.View.Window.TaskPanes(0)
oTaskPane.Visible = False

and get the following error

System.NullReferenceException
Object reference not set to an instance of an object.

any suggestions on how to hide the task pane, until i open it on a onchange
event.
 

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

Top