opening Word document in axwebbrowser

A

Aerojade

C# - Visual Studio 2005 - Word 2003 - Windows XP


I have created a custom button and added it to the MS Word Standard Toolbar.
On clicking this button, i get a Windows Form that states weather the Current
active document is saved or not saved.

When i open any Word document in an AxwebBrowser object inside a Windows
Form, i find the standard toolbar and see my custom button. It works just
fine.

But when i run another instance of the Application and open another file in
the AxWebBrowser, i find that i am able to use the Custom button only in the
second instance of the application. In the Earlier(First instance) i am not
able to even click the button. No only that, all the buttons in the toolbar
do not seem to function at all(Bold...Italic...Allignment etc)

Why is this happening and how can i resolve it. Please help. Thankyou.
 
J

Jay Freedman

C# - Visual Studio 2005 - Word 2003 - Windows XP


I have created a custom button and added it to the MS Word Standard Toolbar.
On clicking this button, i get a Windows Form that states weather the Current
active document is saved or not saved.

When i open any Word document in an AxwebBrowser object inside a Windows
Form, i find the standard toolbar and see my custom button. It works just
fine.

But when i run another instance of the Application and open another file in
the AxWebBrowser, i find that i am able to use the Custom button only in the
second instance of the application. In the Earlier(First instance) i am not
able to even click the button. No only that, all the buttons in the toolbar
do not seem to function at all(Bold...Italic...Allignment etc)

Why is this happening and how can i resolve it. Please help. Thankyou.

I think it's very unlikely that anyone here (in an end-user newsgroup) is going
to be able to answer that question. I suggest you'll get more results in a forum
where people are familiar with AxWebBrowser and C#, such as www.codeproject.com
or www.dotnet4all.com.
 

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