Dear all my friends
I am searching for an alternative activex control of web brower and come to the mobileFX WebKitX ActiveX
Company tells that cannot support Access or any other VBA applications, despite that web site tells that can be used.
Legal Link to download the ActiveX: Link. Please try it, it has excellent features and an easy uninstall !!!
So I downloaded the trial and the control works fine with Access Forms.
I used code from the VB6 examples that are provided with some changes. But I have a problem passing "settings" to the control.
I believe it is a declarations problem since it works fine with VB6 but I miss something in VBA.
Lets say that the name of the embedded control to my form is "WebKitXCEF33"
But this is not working
Compile gives an error to the "Private Sub WebKitXCEF33_OnCreate" with the description
"Procedure declaration does not match description or event or procedure having the same name"
Any ideas from the specialists ?
Thanks a lot
I am searching for an alternative activex control of web brower and come to the mobileFX WebKitX ActiveX
Company tells that cannot support Access or any other VBA applications, despite that web site tells that can be used.
Legal Link to download the ActiveX: Link. Please try it, it has excellent features and an easy uninstall !!!
So I downloaded the trial and the control works fine with Access Forms.
I used code from the VB6 examples that are provided with some changes. But I have a problem passing "settings" to the control.
I believe it is a declarations problem since it works fine with VB6 but I miss something in VBA.
Lets say that the name of the embedded control to my form is "WebKitXCEF33"
Code:
Private Sub WebKitXCEF33_OnBrowserReady()
WebKitXCEF33.Move 0, 0, 15000, 8000
WebKitXCEF33.IPC_TIMEOUT_MILLIS = 5000
WebKitXCEF33.EnableHighDPISupport
WebKitXCEF33.DownloadScripts = True
WebKitXCEF33.Open "www.google.com"
End Sub
But this is not working
Code:
Private Sub WebKitXCEF33_OnCreate(ByVal Settings As WebKitXCEF3Lib.iSettings, CommandLineSwitches As String)
Settings.plugins = True
Settings.cache_path = CurrentProject.Path + "\MyCache"
Settings.application_cache = CurrentProject.Path + "\MyAppCache"
End sub
Compile gives an error to the "Private Sub WebKitXCEF33_OnCreate" with the description
"Procedure declaration does not match description or event or procedure having the same name"
Any ideas from the specialists ?
Thanks a lot