Weird Error.

T

technoknight

I am into PowerPoint Automation. I need to make the Task Pane visible in a
PowerPoint programmatically. I am doing this:
App_.CommandBars("Task Pane").Visible = True

Where App_ is my application (i.e. PowerPoint)

But, it gives me an automation error. Why is it happening? Please suggest
something soon. Its urgent.

Thanks in advance. :)
 
H

Hans Werner Hofmann

I am into PowerPoint Automation. I need to make the Task Pane visible in a
PowerPoint programmatically. I am doing this:
App_.CommandBars("Task Pane").Visible = True

Where App_ is my application (i.e. PowerPoint)

But, it gives me an automation error. Why is it happening? Please suggest
something soon. Its urgent.

Perhaps, you do not have a Window to set the Task Pane to...
 
Top