2023-08-22, 14:43:59
(This post was last modified: 2023-08-22, 14:52:09 by KLYNCH@APTEAN.COM.)
It is showing in the default gray as if nothing is being rendered. I tried changing
it to Red just to be sure and it stays Red after the Navigation.
This is the log, it's on mode 2
Creating new log...
2023-08-22 10:40:45.463 Event OnDestroy Destroying $15038C
2023-08-22 10:40:45.463 Destroying control $0000
2023-08-22 10:40:47.335
2023-08-22 10:40:47.335 -------------------------------------------------------------------------
2023-08-22 10:40:47.335 ------ Starting new WebView2 instance ------
2023-08-22 10:40:47.335 -------------------------------------------------------------------------
2023-08-22 10:40:47.335 Application: C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE (9032)
2023-08-22 10:40:47.335 Win32
2023-08-22 10:40:47.335 Current Directory: C:\Users\klynch\AppData\Local\Temp\WinMDS
2023-08-22 10:40:47.335 AntView loaded C:\PROGRA~1\AntView\Win32\AntView.ocx
2023-08-22 10:40:47.335 AntView version 1.1.270.0
2023-08-22 10:40:47.335 User: klynch
2023-08-22 10:40:47.335 Log Level: 2
2023-08-22 10:40:47.335 Initializing defaults
2023-08-22 10:40:47.351 EventSink changed, creating inplace object $0000
2023-08-22 10:40:47.351 Reading Version = 1.1.270
2023-08-22 10:40:47.351 Configuring default userDataFolder.
2023-08-22 10:40:47.351 userDataFolder C:\Users\klynch\AppData\Local\Temp\VB6.EXE.WebView2\
2023-08-22 10:40:47.351 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2023-08-22 10:40:47.351 Creating window $4D08E8
2023-08-22 10:40:49.940 Test if WebView2 control is OK.
2023-08-22 10:40:49.940 Start async creation of the WebView2 control.
2023-08-22 10:40:49.940 BrowserExecutableFolder:
2023-08-22 10:40:49.956 UserDataFolder: C:\Users\klynch\AppData\Local\Temp\VB6.EXE.WebView2\
2023-08-22 10:40:49.956 Setting environment options: chrome flags: [] Language [] Min. Browser version [95.0.1020.44] Single Sign On False
2023-08-22 10:40:49.956 Reading InstallPath = C:\Program Files\AntView
2023-08-22 10:40:49.956 Trying to load the loader DLL as C:\Program Files\AntView\Win32\WebView2Loader.dll
2023-08-22 10:40:49.956 LoadLibrary "C:\Program Files\AntView\Win32\WebView2Loader.dll" result $68090000
2023-08-22 10:40:49.956 Loading from InstallPath : success.
2023-08-22 10:40:49.956 Loaded as C:\Program Files\AntView\Win32\WebView2Loader.dll
2023-08-22 10:40:49.956 Version = 1.0.1108.44
2023-08-22 10:40:49.956 Assigning loader library procedures.
2023-08-22 10:40:49.956 Assigned loader library procedures.
2023-08-22 10:40:51.511 CreateAsync Success $4D08E8
2023-08-22 10:40:51.511 WebView2 version 109.0.1518.115
2023-08-22 10:40:51.511 Event OnCreateWebviewCompleted HResult = 0x00000000 (S_OK)
2023-08-22 10:40:51.511 Navigate http://rs6000d.tshinc.com:7373/basemenus/MAIN.MENU
2023-08-22 10:40:51.528 Event OnNavigationStarting
2023-08-22 10:40:51.528 Uri http://rs6000d.tshinc.com:7373/basemenus/MAIN.MENU
2023-08-22 10:40:51.529 NavigationId 4
2023-08-22 10:40:51.530 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.530 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.633 Event OnHistoryChanged
2023-08-22 10:40:51.640 Event OnSourceChanged IsNewDocument True
2023-08-22 10:40:51.641 Event OnContentLoading IsErrorPage False NavigationId 4
2023-08-22 10:40:51.641 Event OnHistoryChanged
2023-08-22 10:40:51.642 Event OnDocumentTitleChanged : Main Menu
2023-08-22 10:40:51.643 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.643 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.644 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.645 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.645 Event OnDOMContentLoaded NavigationId 4
2023-08-22 10:40:51.646 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.646 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.647 Event OnNavigationCompleted IsSuccess True webError 0 NavigationId 4
So I was reading another thread below about the Modal form and I tried
adding:
dataform.menubrowser.visible = false
dataform.menubrowser.visible = true
and it worked, it made the webpage appear.
Not sure why it was needed though.
it to Red just to be sure and it stays Red after the Navigation.
This is the log, it's on mode 2
Creating new log...
2023-08-22 10:40:45.463 Event OnDestroy Destroying $15038C
2023-08-22 10:40:45.463 Destroying control $0000
2023-08-22 10:40:47.335
2023-08-22 10:40:47.335 -------------------------------------------------------------------------
2023-08-22 10:40:47.335 ------ Starting new WebView2 instance ------
2023-08-22 10:40:47.335 -------------------------------------------------------------------------
2023-08-22 10:40:47.335 Application: C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE (9032)
2023-08-22 10:40:47.335 Win32
2023-08-22 10:40:47.335 Current Directory: C:\Users\klynch\AppData\Local\Temp\WinMDS
2023-08-22 10:40:47.335 AntView loaded C:\PROGRA~1\AntView\Win32\AntView.ocx
2023-08-22 10:40:47.335 AntView version 1.1.270.0
2023-08-22 10:40:47.335 User: klynch
2023-08-22 10:40:47.335 Log Level: 2
2023-08-22 10:40:47.335 Initializing defaults
2023-08-22 10:40:47.351 EventSink changed, creating inplace object $0000
2023-08-22 10:40:47.351 Reading Version = 1.1.270
2023-08-22 10:40:47.351 Configuring default userDataFolder.
2023-08-22 10:40:47.351 userDataFolder C:\Users\klynch\AppData\Local\Temp\VB6.EXE.WebView2\
2023-08-22 10:40:47.351 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2023-08-22 10:40:47.351 Creating window $4D08E8
2023-08-22 10:40:49.940 Test if WebView2 control is OK.
2023-08-22 10:40:49.940 Start async creation of the WebView2 control.
2023-08-22 10:40:49.940 BrowserExecutableFolder:
2023-08-22 10:40:49.956 UserDataFolder: C:\Users\klynch\AppData\Local\Temp\VB6.EXE.WebView2\
2023-08-22 10:40:49.956 Setting environment options: chrome flags: [] Language [] Min. Browser version [95.0.1020.44] Single Sign On False
2023-08-22 10:40:49.956 Reading InstallPath = C:\Program Files\AntView
2023-08-22 10:40:49.956 Trying to load the loader DLL as C:\Program Files\AntView\Win32\WebView2Loader.dll
2023-08-22 10:40:49.956 LoadLibrary "C:\Program Files\AntView\Win32\WebView2Loader.dll" result $68090000
2023-08-22 10:40:49.956 Loading from InstallPath : success.
2023-08-22 10:40:49.956 Loaded as C:\Program Files\AntView\Win32\WebView2Loader.dll
2023-08-22 10:40:49.956 Version = 1.0.1108.44
2023-08-22 10:40:49.956 Assigning loader library procedures.
2023-08-22 10:40:49.956 Assigned loader library procedures.
2023-08-22 10:40:51.511 CreateAsync Success $4D08E8
2023-08-22 10:40:51.511 WebView2 version 109.0.1518.115
2023-08-22 10:40:51.511 Event OnCreateWebviewCompleted HResult = 0x00000000 (S_OK)
2023-08-22 10:40:51.511 Navigate http://rs6000d.tshinc.com:7373/basemenus/MAIN.MENU
2023-08-22 10:40:51.528 Event OnNavigationStarting
2023-08-22 10:40:51.528 Uri http://rs6000d.tshinc.com:7373/basemenus/MAIN.MENU
2023-08-22 10:40:51.529 NavigationId 4
2023-08-22 10:40:51.530 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.530 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.633 Event OnHistoryChanged
2023-08-22 10:40:51.640 Event OnSourceChanged IsNewDocument True
2023-08-22 10:40:51.641 Event OnContentLoading IsErrorPage False NavigationId 4
2023-08-22 10:40:51.641 Event OnHistoryChanged
2023-08-22 10:40:51.642 Event OnDocumentTitleChanged : Main Menu
2023-08-22 10:40:51.643 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.643 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.644 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.645 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.645 Event OnDOMContentLoaded NavigationId 4
2023-08-22 10:40:51.646 Event OnWebResourceResponseReceived
2023-08-22 10:40:51.646 OnWebResourceResponseReceived not send as is disabled.
2023-08-22 10:40:51.647 Event OnNavigationCompleted IsSuccess True webError 0 NavigationId 4
So I was reading another thread below about the Modal form and I tried
adding:
dataform.menubrowser.visible = false
dataform.menubrowser.visible = true
and it worked, it made the webpage appear.
Not sure why it was needed though.