Suppressing should be ok because when I click YES to continue my script still works as expected.
I tried to add the screenshot to this post but the preview does not show it. So I added a link to the image below.
https://www.dropbox.com/s/w6nurv70hkrg5 ... r.PNG?dl=0
Here is the code that is causing the catastrophic failure.
Code: Select all
ActiveNetwork = ;if the pc is not connected to any network then ActiveNetwork := INetwork.GetName() is skipped,
for INetwork in ComObjCreate("{DCB00C01-570F-4A9B-8D69-199FDBA5723B}").GetNetworks(1)
ActiveNetwork := INetwork.GetName()
if ActiveNetwork =
return