megatronixs
Registered User.
- Local time
- Tomorrow, 00:37
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
It seems that finding information on how to show a word document inside a web browser control in a form is a hard thing to do.
I tried the below, but it just opens in a word window instead of the web browser objct in the form. Any clues where I go wrong?
Greetings.
It seems that finding information on how to show a word document inside a web browser control in a form is a hard thing to do.
I tried the below, but it just opens in a word window instead of the web browser objct in the form. Any clues where I go wrong?
Code:
Private Sub Command823_Click()
Dim sFileName As String
sFileName = "C:\files\doc_2015.doc"
WebBrowser2.navigate sFileName
End Sub
Greetings.