Server Threw An Exception

S

Sandeep Negi

Hello Friends,

I am opening word 2000 using internet explorer control in
vb.net apllication. I am facing problem in Bullets and
numbering word dialog control,
Error-
1. Bullets And Numbering Dialog
2. Then select Numbering tab
3. Then Click Customize button
4. In Customize Numbered List Dialog box appears

If I press cancel button

"Server Threw An Exception Error Arises" and word stop
responding

I have Window 2000 os
Sample Source Code-
*******************************************
Friend WithEvents AxWebBrowser1 As AxSHDocVw.AxWebBrowser
******************************************
Dim oDocument As Word.Document
oDocument = AxWebBrowser1.Document
Try
oDocument.Application.Dialogs().Item
(Word.WdWordDialog.wdDialogFormatBulletsAndNumbering).Show
()
Catch exp As Exception
MsgBox(exp.ToString)
End Try
*******************************************



I will be thankful for all, who check the above problem
and reply me.
Thanks and regards Sandeep Negi.
 
Top