sure
But i dont think the problem is there, because even the image url in the background-image in the css file does not work. I think all local urls are not working on VB webbrowser, and as I said b4 urls need to be working in all browsers including VB .
Code:
Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
If realTimeChange = True Then
If fn.Contains(".css") Or fn.Contains(".js") Then
If My.Computer.FileSystem.FileExists(LastActivePage) Then
My.Computer.FileSystem.WriteAllText(fn, RichTextBox1.Text, False)
ScriptOutput.DocumentText = My.Computer.FileSystem.ReadAllText(LastActivePage)
Else
ScriptOutput.DocumentText = ""
End If
Else
My.Computer.FileSystem.WriteAllText(fn, RichTextBox1.Text, False)
ScriptOutput.DocumentText = My.Computer.FileSystem.ReadAllText(fn)
End If
End If
End Sub
Thanks,
Mike