Hello
I have got a problem with the desktop htmlviewer in windows.
I found a great tool to design database schemas:
https://github.com/ondras/wwwsqldesigner
There is a live demo in this link:
https://ondras.zarovi.cz/sql/demo/
I downloaded the zip file, and I created a new project with a htmlviewer and a pushbutton. The pushbutton Action event is simple:
If DebugBuild = True Then
HtmlViewer1.LoadPage GetFolderItem("").Parent.Child(“index.html”)
Else
HtmlViewer1.LoadPage GetFolderItem("").Child(“index.html”)
End If
It works good in MacOS. I can execute the javascript commands, like this:
Dim jsSrc As String
jsSrc = “document.getElementById(‘saveload’).click();”
HTMLViewer1.ExecuteJavaScript(jsSrc)
But in Windows the html not load correctly. I tried to change the renderer from Native to WebKit but I got the same result.
I tried to recognize all the rows in the html and the javascript files. In the end of the html there is a
This tag not run in Windows.
What is the problem? The program in MacOS works good, without problem, but not in Windows. I tried it in Windopws 10, 7, XP.
Thank for the help!
Roland