ActiveX GUI + HTML5
Posted: 24 Jan 2016, 13:25
I'm trying to make the following HTML5 demo work in an AHK ActiveX Gui window:
Link to demo: http://html5demos.com/drag
The image on the html5 demos page says it should be IE compatible
![Image](http://i.imgur.com/nCj4sFb.png)
The error I get (js) is:
![Image](http://i.imgur.com/7ZkT0hv.png)
Link to demo: http://html5demos.com/drag
The image on the html5 demos page says it should be IE compatible
![Image](http://i.imgur.com/nCj4sFb.png)
Code: Select all
Gui Add, ActiveX, vdoc x0 y0 w800 h600, about:<!DOCTYPE html><meta http-equiv="X-UA-Compatible" content="IE=edge"> ; the "IE=edge" should force Shell.Explorer to use the latest IE renderer. I have internet explorer 11 and Microsoft Edge installed.
;doc.silent := true ; Surpress JS Error boxes, commented out for debugging
doc.Navigate("http://html5demos.com/drag")
Gui, Show, w800 h600, test
Return
GuiClose:
ExitApp
![Image](http://i.imgur.com/7ZkT0hv.png)