
Quote from DaviddeArgentina on January 11, 2023, 4:59 pm@darbdenral
very ingenious... don't you think?
Greetings from Buenos Aires
very ingenious... don't you think?
Greetings from Buenos Aires

Quote from Darbdenral on January 11, 2023, 10:43 pmvery ingenious... don't you think?
@daviddeargentina
Yes, the creative precision with which it was executed is commendable! :)
very ingenious... don't you think?
Yes, the creative precision with which it was executed is commendable! :)

Quote from CN_Iceman on January 16, 2023, 1:25 pmI found it a very interesting plugin, as some of my programs still use Internet Explorer and I have to update them.
Yesterday I bought the plugin and after the installation and activation process with my serial number the plugin did not work. The sample programs did not work either.
I updated Microsoft Edge WebView2 runtime to its latest version, restarted the computer and everything was back to normal.
I was testing the examples and now they were working normally... for a while. When I got to the 4th or 5th program the plugin stopped working again. The web pages were no longer displayed.
I have written to @darbdenral, the author of the plugin, but I have not had any answer yet (I guess because of the time difference between our countries). Is there anyone here with the plugin having problems?
Regards.
I found it a very interesting plugin, as some of my programs still use Internet Explorer and I have to update them.
Yesterday I bought the plugin and after the installation and activation process with my serial number the plugin did not work. The sample programs did not work either.
I updated Microsoft Edge WebView2 runtime to its latest version, restarted the computer and everything was back to normal.
I was testing the examples and now they were working normally... for a while. When I got to the 4th or 5th program the plugin stopped working again. The web pages were no longer displayed.
I have written to @darbdenral, the author of the plugin, but I have not had any answer yet (I guess because of the time difference between our countries). Is there anyone here with the plugin having problems?
Regards.


Quote from Darbdenral on January 17, 2023, 12:55 amHi @cn_iceman
Thanks for your purchase, I'm sorry you have had problems. I do believe this is related to your cache and or Microsoft runtime files.
I sent you an email with instructions and pictures from the support desk. Please follow those instructions and reply to support where I can provide better service with video, images and such.
thanks!
Hi @cn_iceman
Thanks for your purchase, I'm sorry you have had problems. I do believe this is related to your cache and or Microsoft runtime files.
I sent you an email with instructions and pictures from the support desk. Please follow those instructions and reply to support where I can provide better service with video, images and such.
thanks!

Quote from CN_Iceman on January 17, 2023, 8:37 amHi @darbdenral
Thank you for your response.
I hope you didn't mind my stating my problem here. I did it because there are people here with very good ideas and there is a lot of help for users.
Also because maybe we can help from here to possible users with the same situation.
I just replied to your email. I have done everything you told me and I still have the problem.
I'm starting to think it's more of a Windows 11 problem than anything else, since the plugin worked correctly on several occasions.
It seems that WebView2 is already integrated and does not allow an uninstall in the usual way, so I have used the Command Line in Administrator mode.
So from:
C:\Program Files (x86)\Microsoft\EdgeWebView\Application\109.0.1518.52\InstallerI executed the command:
setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstallThen I reinstalled WebView2, with reboot included. I cleared the cache and nothing, everything remains the same.
I have tested the plugin in NeoBook and VisualNEO Win and I have the same problem.
Let's see if I get a PC with Windows 10 and I can do some tests, to rule out whether or not it is a problem of the operating system.
Greetings.
Hi @darbdenral
Thank you for your response.
I hope you didn't mind my stating my problem here. I did it because there are people here with very good ideas and there is a lot of help for users.
Also because maybe we can help from here to possible users with the same situation.
I just replied to your email. I have done everything you told me and I still have the problem.
I'm starting to think it's more of a Windows 11 problem than anything else, since the plugin worked correctly on several occasions.
It seems that WebView2 is already integrated and does not allow an uninstall in the usual way, so I have used the Command Line in Administrator mode.
So from:
C:\Program Files (x86)\Microsoft\EdgeWebView\Application\109.0.1518.52\Installer
I executed the command:
setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall
Then I reinstalled WebView2, with reboot included. I cleared the cache and nothing, everything remains the same.
I have tested the plugin in NeoBook and VisualNEO Win and I have the same problem.
Let's see if I get a PC with Windows 10 and I can do some tests, to rule out whether or not it is a problem of the operating system.
Greetings.


Quote from Darbdenral on January 18, 2023, 12:59 amYou said that the plugin worked on your system, you evaluated the plugin and purchased then it stopped working after registering. What changed? We've concluded through support that we're using the same Webview2 version, so that appears to be Ok but maybe not. Language is not an issue as users from Italy, Argentina, Germany and more have registered and now over 100 installations. We even swapped a pub from your computer (different language) to mine, which worked fine for me. We know It's not a problem with any of the sample applications. You said you have now deleted the cache and tried different locations and that did not work either. I also sent you another updated plugin but that did not work on your system or change anything.
Thanks for your patience, your problem seems quite unique, we've been working back and forth troubleshooting now through support, swapping files etc. However, it appears that all of our attempts have been unsuccessful. I've tried everything I know to do with what we have to work with. At this point the browser may be failing to initialize on your system in a fashion not captured by the plugin environment. A failed initialization can be caused by a number of factors, most of which we have already addressed.
Our next step is to take the plugin out of the equation where we can possibly capture an error message not visible in the plugin/dll environment. I'll work on something to troubleshoot your system and see if we can narrow it down and send it through support.
thanks!
You said that the plugin worked on your system, you evaluated the plugin and purchased then it stopped working after registering. What changed? We've concluded through support that we're using the same Webview2 version, so that appears to be Ok but maybe not. Language is not an issue as users from Italy, Argentina, Germany and more have registered and now over 100 installations. We even swapped a pub from your computer (different language) to mine, which worked fine for me. We know It's not a problem with any of the sample applications. You said you have now deleted the cache and tried different locations and that did not work either. I also sent you another updated plugin but that did not work on your system or change anything.
Thanks for your patience, your problem seems quite unique, we've been working back and forth troubleshooting now through support, swapping files etc. However, it appears that all of our attempts have been unsuccessful. I've tried everything I know to do with what we have to work with. At this point the browser may be failing to initialize on your system in a fashion not captured by the plugin environment. A failed initialization can be caused by a number of factors, most of which we have already addressed.
Our next step is to take the plugin out of the equation where we can possibly capture an error message not visible in the plugin/dll environment. I'll work on something to troubleshoot your system and see if we can narrow it down and send it through support.
thanks!

Quote from CN_Iceman on January 18, 2023, 10:08 amHi @darbdenral
The truth is that the evaluation of the plugin was quite brief, as I saw in the forum that people were very happy with it. I downloaded it, installed it and I think I tried the first two example programs that come with it.
I bought the plugin, registered it and ran a couple more examples to understand how the commands work and adapt them to my programs, as I need to replace the Internet Explorer windows as soon as possible.
I definitely don't think it's a problem with the plugin... I'm convinced of it. What I don't understand is that without having changed anything, now the Webview2 part doesn't work.
As I already commented, Edge is my default browser since 1 year ago (before it was Google Chrome). I have some extensions added (mostly ad blocking, privacy and little else), but the browser works perfectly for me.
I didn't know Webview, but from what I see there are already many applications that use it so in principle everything should be fine, but it is clear that there is something that is not working and I greatly appreciate that you give me a hand to try to solve it... that's why besides writing you directly through the technical support, I put this in the VisualNEO forum... we both know that there are good people there with good ideas and are always willing to lend a hand. I hope you don't mind.
I will keep testing and researching to see if I can find something on my end and wait to see if you come up with something else to try.
Again thanks for the help.
Hi @darbdenral
The truth is that the evaluation of the plugin was quite brief, as I saw in the forum that people were very happy with it. I downloaded it, installed it and I think I tried the first two example programs that come with it.
I bought the plugin, registered it and ran a couple more examples to understand how the commands work and adapt them to my programs, as I need to replace the Internet Explorer windows as soon as possible.
I definitely don't think it's a problem with the plugin... I'm convinced of it. What I don't understand is that without having changed anything, now the Webview2 part doesn't work.
As I already commented, Edge is my default browser since 1 year ago (before it was Google Chrome). I have some extensions added (mostly ad blocking, privacy and little else), but the browser works perfectly for me.
I didn't know Webview, but from what I see there are already many applications that use it so in principle everything should be fine, but it is clear that there is something that is not working and I greatly appreciate that you give me a hand to try to solve it... that's why besides writing you directly through the technical support, I put this in the VisualNEO forum... we both know that there are good people there with good ideas and are always willing to lend a hand. I hope you don't mind.
I will keep testing and researching to see if I can find something on my end and wait to see if you come up with something else to try.
Again thanks for the help.

Quote from CN_Iceman on January 18, 2023, 5:11 pmHello everyone.
I just wanted to report that @darbdenral has been helping me since day one and it seems he has already found a solution.
Today he sent me a program that generates a log when executed and the program worked perfectly for me, so things are looking good.
I am waiting for more instructions to finish solving the problem and see what the problem was. At least, I hope so. ;-)
Best regards.
Hello everyone.
I just wanted to report that @darbdenral has been helping me since day one and it seems he has already found a solution.
Today he sent me a program that generates a log when executed and the program worked perfectly for me, so things are looking good.
I am waiting for more instructions to finish solving the problem and see what the problem was. At least, I hope so. ;-)
Best regards.

Quote from CN_Iceman on January 21, 2023, 5:55 pmHello again.
After several days of testing here and there, the conclusion was that the problem was not the ezEdge plugin, but something in my system that did not allow the correct execution between the plugin and Webview2.
After testing on another computer and finding that everything worked perfectly, I decided to reinstall Windows 11 from scratch, and now everything is back to normal.
Although @darbdenral already knows this because I have told him privately, I want to publicly thank him for his help and his tireless commitment from the first moment. He has done nothing but testing, modifying the plugin for more tests, looking for information, giving me ideas and more ideas even losing hours of sleep, because of the distance that separates us from where we live.
Once again, it shows that the current VisualNEO community and the one coming from NeoBook, we form a solid group that is willing to help as much as possible to the rest of the community without asking anything in return. I am proud to be part of this great community.
Greetings to everyone and of course especially to Brad.
Hello again.
After several days of testing here and there, the conclusion was that the problem was not the ezEdge plugin, but something in my system that did not allow the correct execution between the plugin and Webview2.
After testing on another computer and finding that everything worked perfectly, I decided to reinstall Windows 11 from scratch, and now everything is back to normal.
Although @darbdenral already knows this because I have told him privately, I want to publicly thank him for his help and his tireless commitment from the first moment. He has done nothing but testing, modifying the plugin for more tests, looking for information, giving me ideas and more ideas even losing hours of sleep, because of the distance that separates us from where we live.
Once again, it shows that the current VisualNEO community and the one coming from NeoBook, we form a solid group that is willing to help as much as possible to the rest of the community without asking anything in return. I am proud to be part of this great community.
Greetings to everyone and of course especially to Brad.

Quote from Darbdenral on January 22, 2023, 1:34 amHello @cn_iceman
It was my pleasure working with you from one side of the world to the other! Your positive attitude, patience and determination to find a solution was admirable. You never once complained or gave up while we explored different ideas, truly inspiring.
Yes, the sense of community and camaraderie here is honestly remarkable. I especially enjoy how many of us are from different countries and come together here with a high level of support, respect and understanding for one another.
I wish you all the best.
thanks!
Hello @cn_iceman
It was my pleasure working with you from one side of the world to the other! Your positive attitude, patience and determination to find a solution was admirable. You never once complained or gave up while we explored different ideas, truly inspiring.
Yes, the sense of community and camaraderie here is honestly remarkable. I especially enjoy how many of us are from different countries and come together here with a high level of support, respect and understanding for one another.
I wish you all the best.
thanks!

Quote from CN_Iceman on January 22, 2023, 10:08 amHello. Good Morning
After reinstalling Windows 11 from scratch, the plugin works perfectly and I'm already adding it to my apps to replace Internet Explorer.
In one of the examples accompanying the plugin, @darbdenral suggested going to the WebView2 web page for the user to download and install the runtimes files. I have gone a little further and have made a couple of subroutines with what the program needs to work correctly.
I share it here in case it is of interest to anyone.
In my case, the WebView2Loader.dll library is embedded within the executable. It only occupies 105KB and thus there is no need to download it from the Internet or search for it on the Hard Disk.
This subroutine checks if WebView2Loader.dll is in the program folder. If it isn't, it extracts it.
:Check_WebView2 FileExists "[Pubdir]WebView2Loader.dll" "[Hay]" If "[Hay]" "<>" "True" ExtractFile "[Embedded]WebView2Loader.dll" "[PubDir]WebView2Loader.dll" EndIf Return
Also, it is necessary to have WebView2 installed on the system. From what I've seen, the latest Windows 10 and Windows 11 updates already include WebView2 by default, but if it doesn't, we will have to lead the user by the hand to download and install it, or we can use this subroutine to download it directly and have it run to make life easier for the user.
:ezEdge_Initialize ezEdgeAvailable "[isEdgeAvailable]" "[Result]" If "[isEdgeAvailable]" "=" "True" ezEdgeCreate "Rectangle_WEB" "[TempDir]edgecache" "ezEdge_Initilized" "[WEB]" "[Result]" Else If "[isEdgeAvailable]" "=" "False" MessageBox "ERROR: Required files are missing." "Your system is missing some files required to run Microsoft WebView2 correctly.|This is a new component for this program to display web data through Microsoft Edge|instead of the old Internet Explorer.||Don't worry, you only have to do a small download from the Official Microsoft Website and install|the necessary files.||As soon as the installer is downloaded, it will be executed and the program will close.|When the installation is finished you can run this program again.||Do you want to do it now?" "YES|NO" "[YESNO]" If "[YESNO]" "=" "1" .Download Link -> https://go.microsoft.com/fwlink/p/?LinkId=2124703 .Download File -> MicrosoftEdgeWebview2Setup.exe DownloadFile "https://go.microsoft.com/fwlink/p/?LinkId=2124703" "[TempDir]MicrosoftEdgeWebview2Setup.exe" "" Run "[TempDir]MicrosoftEdgeWebview2Setup.exe" "" "RunOnce" "" "" Else Exit "" "" EndIf EndIf EndIf ReturnI hope this helps you.
Greetings.
Hello. Good Morning
After reinstalling Windows 11 from scratch, the plugin works perfectly and I'm already adding it to my apps to replace Internet Explorer.
In one of the examples accompanying the plugin, @darbdenral suggested going to the WebView2 web page for the user to download and install the runtimes files. I have gone a little further and have made a couple of subroutines with what the program needs to work correctly.
I share it here in case it is of interest to anyone.
In my case, the WebView2Loader.dll library is embedded within the executable. It only occupies 105KB and thus there is no need to download it from the Internet or search for it on the Hard Disk.
This subroutine checks if WebView2Loader.dll is in the program folder. If it isn't, it extracts it.
:Check_WebView2
FileExists "[Pubdir]WebView2Loader.dll" "[Hay]"
If "[Hay]" "<>" "True"
ExtractFile "[Embedded]WebView2Loader.dll" "[PubDir]WebView2Loader.dll"
EndIf
Return
Also, it is necessary to have WebView2 installed on the system. From what I've seen, the latest Windows 10 and Windows 11 updates already include WebView2 by default, but if it doesn't, we will have to lead the user by the hand to download and install it, or we can use this subroutine to download it directly and have it run to make life easier for the user.
:ezEdge_Initialize
ezEdgeAvailable "[isEdgeAvailable]" "[Result]"
If "[isEdgeAvailable]" "=" "True"
ezEdgeCreate "Rectangle_WEB" "[TempDir]edgecache" "ezEdge_Initilized" "[WEB]" "[Result]"
Else
If "[isEdgeAvailable]" "=" "False"
MessageBox "ERROR: Required files are missing." "Your system is missing some files required to run Microsoft WebView2 correctly.|This is a new component for this program to display web data through Microsoft Edge|instead of the old Internet Explorer.||Don't worry, you only have to do a small download from the Official Microsoft Website and install|the necessary files.||As soon as the installer is downloaded, it will be executed and the program will close.|When the installation is finished you can run this program again.||Do you want to do it now?" "YES|NO" "[YESNO]"
If "[YESNO]" "=" "1"
.Download Link -> https://go.microsoft.com/fwlink/p/?LinkId=2124703
.Download File -> MicrosoftEdgeWebview2Setup.exe
DownloadFile "https://go.microsoft.com/fwlink/p/?LinkId=2124703" "[TempDir]MicrosoftEdgeWebview2Setup.exe" ""
Run "[TempDir]MicrosoftEdgeWebview2Setup.exe" "" "RunOnce" "" ""
Else
Exit "" ""
EndIf
EndIf
EndIf
Return
I hope this helps you.
Greetings.

Quote from Ivanes82 on June 29, 2023, 9:45 pmHi, I am delighted with your plugin, but I am having an error and I don't know if I am doing something wrong or the plugin has a bug, I hope you can help me.
In the web page that I have open in the browser, I have the following javascript function:
function test () {
text = "example";
return text;
}if I execute this function from visualneo with:
ezEdgeExecScript "RectangleBrowser" "test();" "[jsResult]" "[Result]"
Instead of returning "example" it returns "example[#13][#10]"This happens with all variables.
if with the browser response I try to do an if
If "[jsResult]" "=" "example"
SetVar "[files.db.mdb.code.description]" """
Else
SetVar "[files.db.mdb.mdb.code.description]" "[jsResult]"
EndIfI always skip the else and for it to work I need to put the if in the following way:
If "[jsResult]" "=" "example[#13][#10]"
SetVar "[files.db.mdb.mdb.code.description]" ""
Else
SetVar "[files.db.mdb.mdb.code.description]" "[jsResult]"
EndIfWhy do I always get those hidden characters in the browser responses?
I had a hard time figuring out that I was getting these hidden characters.
To find out that I was getting visualneo from the browser I saved the browser response in a text file and opened it with notepad++:
Thank you very much for your time.
Hi, I am delighted with your plugin, but I am having an error and I don't know if I am doing something wrong or the plugin has a bug, I hope you can help me.
In the web page that I have open in the browser, I have the following javascript function:
function test () {
text = "example";
return text;
}
if I execute this function from visualneo with:
ezEdgeExecScript "RectangleBrowser" "test();" "[jsResult]" "[Result]"
Instead of returning "example" it returns "example[#13][#10]"
This happens with all variables.
if with the browser response I try to do an if
If "[jsResult]" "=" "example"
SetVar "[files.db.mdb.code.description]" """
Else
SetVar "[files.db.mdb.mdb.code.description]" "[jsResult]"
EndIf
I always skip the else and for it to work I need to put the if in the following way:
If "[jsResult]" "=" "example[#13][#10]"
SetVar "[files.db.mdb.mdb.code.description]" ""
Else
SetVar "[files.db.mdb.mdb.code.description]" "[jsResult]"
EndIf
Why do I always get those hidden characters in the browser responses?
I had a hard time figuring out that I was getting these hidden characters.
To find out that I was getting visualneo from the browser I saved the browser response in a text file and opened it with notepad++:

Thank you very much for your time.

Quote from Darbdenral on June 30, 2023, 4:01 am@ivanes82
Hi, I'm away from my test system right now but I'll check on this and get back to you soon. Sounds like a line feed is being sent in the function, I'll know more later..
thanks!
Hi, I'm away from my test system right now but I'll check on this and get back to you soon. Sounds like a line feed is being sent in the function, I'll know more later..
thanks!

Quote from Darbdenral on June 30, 2023, 9:36 am@ivanes82
Yes, there was an issue that should now be resolved, converting from JS .. And along the way I increased the speed of this function too.. ;)
See how this works
https://links.tropicdesigns.net/EgF6
Thanks!
Yes, there was an issue that should now be resolved, converting from JS .. And along the way I increased the speed of this function too.. ;)
See how this works
https://links.tropicdesigns.net/EgF6
Thanks!

Quote from Ivanes82 on June 30, 2023, 2:43 pmQuote from Darbdenral on June 30, 2023, 9:36 am@ivanes82
Yes, there was an issue that should now be resolved, converting from JS .. And along the way I increased the speed of this function too.. ;)
See how this works
https://links.tropicdesigns.net/EgF6
Thanks!
Thank you very much @darbdenral. Your plugin is excellent, and the technical support even more so.
One small thing I just realized, is that when the variable has an empty string: var stringText = ""; The plugin returns as result double quotes "". I don't know if this behavior is expected or those quotes should not reach the visualneo variable.
Thank you very much for your time and professionalism. Regards.
Quote from Darbdenral on June 30, 2023, 9:36 amYes, there was an issue that should now be resolved, converting from JS .. And along the way I increased the speed of this function too.. ;)
See how this works
https://links.tropicdesigns.net/EgF6
Thanks!
Thank you very much @darbdenral. Your plugin is excellent, and the technical support even more so.
One small thing I just realized, is that when the variable has an empty string: var stringText = ""; The plugin returns as result double quotes "". I don't know if this behavior is expected or those quotes should not reach the visualneo variable.
Thank you very much for your time and professionalism. Regards.

Quote from Darbdenral on June 30, 2023, 10:19 pm@ivanes82 Ok, I see that now too, excellent catch!
I've updated the link with the fix:
https://links.tropicdesigns.net/EgF6Thanks!
Test function in action:
@ivanes82 Ok, I see that now too, excellent catch!
I've updated the link with the fix:
https://links.tropicdesigns.net/EgF6
Thanks!
Test function in action:
Uploaded files:
Quote from Ivanes82 on July 1, 2023, 6:38 amHi @darbdenral, first of all thank you for your time, I really appreciate it.
There is a problem, I do not know if it is the latest version or it happened in the previous ones too.
I explain you how to reproduce the problem:
In the web that is in the browser, there is a script that whenever it is called returns a text string:
var hello = "a"; function send () { return hello; }
In visualneo I have a button that calls this javascript function:
disableObject "PushButton62" ezEdgeExecScript "Rectangle5" "send();" "[received]" "[Result]" While "[Result]" "=" "" EndWhile If "[received]" "=" "" AlertBox "[Result]" "empty" EndIf SetVar "[received]" "" SetVar "[Result]" "" EnableObject "PushButton62"
When the button is pressed, the first thing to do is to disable the button, to avoid pressing it, before the process finishes.
we make the call to the javascript function.
with the while I wait until the call is completed.
If the answer is empty, an alert appears.
The javascript function always returns a text string, but in visualneo it randomly comes to me empty. Sometimes it is on the second click, sometimes on the thirtieth (It is completely random).
I think sometimes the result of whether the command was executed [result] is sent before the response is received from the server [received].
Again, thank you for your patience and time spent.
Hi @darbdenral, first of all thank you for your time, I really appreciate it.
There is a problem, I do not know if it is the latest version or it happened in the previous ones too.
I explain you how to reproduce the problem:
In the web that is in the browser, there is a script that whenever it is called returns a text string:
var hello = "a";
function send () {
return hello;
}
In visualneo I have a button that calls this javascript function:
disableObject "PushButton62" ezEdgeExecScript "Rectangle5" "send();" "[received]" "[Result]" While "[Result]" "=" "" EndWhile If "[received]" "=" "" AlertBox "[Result]" "empty" EndIf SetVar "[received]" "" SetVar "[Result]" "" EnableObject "PushButton62"
When the button is pressed, the first thing to do is to disable the button, to avoid pressing it, before the process finishes.
we make the call to the javascript function.
with the while I wait until the call is completed.
If the answer is empty, an alert appears.
The javascript function always returns a text string, but in visualneo it randomly comes to me empty. Sometimes it is on the second click, sometimes on the thirtieth (It is completely random).
I think sometimes the result of whether the command was executed [result] is sent before the response is received from the server [received].
Again, thank you for your patience and time spent.

Quote from Darbdenral on July 1, 2023, 8:31 am@ivanes82
It may be we introduced a problem, not sure. Anyways, send me an example pub if you would, one that duplicates the issue for me. I couldn't duplicate your issue here. If there were no html or web page initialized, you could probably get that error.
Thanks
It may be we introduced a problem, not sure. Anyways, send me an example pub if you would, one that duplicates the issue for me. I couldn't duplicate your issue here. If there were no html or web page initialized, you could probably get that error.
Thanks
Uploaded files: