venkadesh4u
asked on
Visual Basic 6.0 How do i Disable the Open Save Dialog Box in Web Browser Control
While Opening the Word Document in Web browser Control in Vb 6.0 Open Save Cancel Dialog Box is appearing for Open. This Dialog as same as Dowload Dialog Box. How to Suppress or Hide it.
At the Same time while opening the another Word Document, It is askign the Save Confirmation Message.
How to Disable this Dialog Boxs in Web browser Control in visual basic 6.0
Please Help me about this.
At the Same time while opening the another Word Document, It is askign the Save Confirmation Message.
How to Disable this Dialog Boxs in Web browser Control in visual basic 6.0
Please Help me about this.
ASKER
Above comment for Opening the Word File.....
By using this Code, While Opeing the Word File inWeb Browser Control(Project --> Cmponents --> Microsoft Internet Controls) is Showing the Open Save Dialog Box to Open
For your Reference Screen Shot of the Dialog box is Attached.
My Question is how to suppress or hide or disable this dialog box.
By using this Code, While Opeing the Word File inWeb Browser Control(Project --> Cmponents --> Microsoft Internet Controls) is Showing the Open Save Dialog Box to Open
For your Reference Screen Shot of the Dialog box is Attached.
My Question is how to suppress or hide or disable this dialog box.
Private Sub LoadDoc(ByVal strFileName As String)
WebBrowser1.Navigate2 strFileName
End Sub
Dialog.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the Reply...
Dim wrdApp as Word.Application
Dim wrdDoc as Word.Document
Set WrdApp = CreateObject("Word.Applica
Set wrdDoc = wrdApp.Documents.Open("C:\
To clos a document without saving:
wrdDoc.Close wrdDoNotSaveChanges