Code: Select all
MyGui := Gui()
WB := MyGui.Add("ActiveX", "w980 h640", "Shell.Explorer").Value ; The last parameter is the name of the ActiveX component.
WB.Navigate("file:///C:\Test.pdf") ; This is specific to the web browser control.
MyGui.Show()
Maybe someone has a solution to this. Thanks Simon