Readme for updating CWebview2.bas to AfxNova_webview2_2026
Hi, just updated the ‘AfxNova-WebView2’ , to integrate a Help Tool for the Docs for ‘AfxNova’ as html.
taken from examples latest in AfxNova-Main dated …_260528_1945 sha 998d7f1 …
Changes
* i.e. 1rst: regex (```\r\n---\r\n)# -> (```\r\n\r\n---\r\n\r\n)#
* 2nd: regex (---\r\n)# -> (---\r\n\r\n)#
* and adapting "Docs" folder names i.e. Webview2 : - docs\WebWiev2 -> docs\Webview2
* { A copy of AfxNova-Main-Readme is also available in html-folder }
* Even when .md-docs are updated, the maintenance is an easy-peasy task (took me only 15 minutes)
* The converted .Md-to-.html can just exchanged inside the folder structure.
- it may be used any Browser locally
* OR on a Webserver (if you like)
* OR also within IKO 1.3 TOOLS
* ... without or with an adapted Jose's CW_Webview2.bas
* Fitting dir_name_idx.html as page index in this structure let me use it as an offline Help
* Integrating in Tiko is no rocket science. * It works a simple tool , but it helps a lot.
* File structure : html,css only ( no java,.js no php * no need !)
3. Optional
- Compiling sample of AfxNova_WebView2_2026.bas sample
- Creating/adapting some lines of code in the AfxNovaWeb.ini-file
- Adapting some lines of the org. CW_Webviev2.bas for updated AfxNova_webview2.bas ,
- changing the pWebView2.Navigate(weburl) + start-index could be called from the app.
- i.e. Instruction are in the CW_Snippet{1,2,3}_WebView2.txt for the CW_WebView2_2026.bas.
Archive:
* The '_TestPan_AfxNovaWeb2_2026.zip' archive contains
- AfxNova_webview2_2026.bas
* The zipped Readme
{org_CW_WebView2.bas + snippets.txt(3)) + AfxNovaWeb.ini + this Readme.}
- and the AfxNova_Web as html structured folder
Info:
* As the comiled Webview2-app is to large for upload ,
attached is only the sources (*.bas,*.ini) in a zip.
The names of the ini-file :AfxNovaWeb.ini is hardcoded in the source.
* Please do not forget to adapt it to your needs at least in the ini-file.
* here the template for the ini-file :
[AfxNovaWeb]
Root="V:\_testpan\_AfxNovaWeb14\AfxNova_idx.html"
Puri="file:///"
* Comiling with Tiko and AfxNova of _260528_1945 sha 998d7f1... needs
* proj.folder : (work.tiko) new project: manifest.xml,resource.rc
.\AfxNova_WebView2_2026.bas (sample)
.\loader.js
.\WebView2Loader.dll
.\AfxNovaWeb.ini
and UserDatafolder (applicable, if default is not %TEMP%)
* and if testing at least:
.\AfxNova_WebView2_2026.exe + .\AfxNovaWeb.ini + Userdatafolder/Temp
Have Fun !