I've created some html pages and an application using vb2005 express.
My program set html to webbrowser using method DocumentText... I've
found sometimes in some PC, webbrowser shows html code without
interpreting it...Do you have any solution?
code follows:
Public Class Form1
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e
As System.EventArg s) Handles Button1.Click
Dim bg As String
bg =
My.Computer.Fil eSystem.ReadAll Text(Applicatio n.StartupPath &
"\prova.htm ")
WebBrowser1.Doc umentText = bg
While Me.WebBrowser1. IsBusy = True
Application.DoE vents()
End While
End Sub
End Class
Thanks for your attention.
My program set html to webbrowser using method DocumentText... I've
found sometimes in some PC, webbrowser shows html code without
interpreting it...Do you have any solution?
code follows:
Public Class Form1
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e
As System.EventArg s) Handles Button1.Click
Dim bg As String
bg =
My.Computer.Fil eSystem.ReadAll Text(Applicatio n.StartupPath &
"\prova.htm ")
WebBrowser1.Doc umentText = bg
While Me.WebBrowser1. IsBusy = True
Application.DoE vents()
End While
End Sub
End Class
Thanks for your attention.