-
Jan 18th, 2021, 08:45 PM
#1
Thread Starter
Frenzied Member
Internet Zone Idenifier
I wish to get rid os the Windows Popup "Do you want to open This File" etc
Thanks to fafalone I have refernce OLEXP and the code to detect/remove the identifier.
But the popup happens beforehand e.g. my VB test is only
MsgBox command : End
But I still see the popup. Does this mean its a Windows thing and must be accepted, or is there someway around it?
-
Jan 19th, 2021, 05:10 AM
#2
Re: Internet Zone Idenifier
Which code are you talking about?
Add your file to a ZIP file and then extract with overwrite to get rid of the Alternative Data Stream (ADS) that triggers "Internet zone downloaded file" popup (or whatever the warning is).
cheers,
</wqw>
-
Jan 19th, 2021, 05:45 PM
#3
Thread Starter
Frenzied Member
Re: Internet Zone Idenifier
> Which code are you talking about?
Some Vb6 routines. One detects the zone identifier, and another that removes it. All good - but if you use Windows right click menu (having setup a destination with %1 to send command to vb6) the warning is shown before VB6 has a chance to run or find/remove it.
So any solution would be outside Vb6 but thought I'd ask anyway.
Thanks for the Zip idea. I'll try that.. but it may be easier/quicker just to close the popup.
-
Jan 19th, 2021, 09:50 PM
#4
Re: Internet Zone Idenifier
This security fence is there for a good reason.
You can always try a compromise:
Let the warning dialog tell the user about the potential threat. If the user approves the run anyway, the program can scrub the Zone.Identifier stream, preferably after asking for approval.
-
Jan 19th, 2021, 10:28 PM
#5
Thread Starter
Frenzied Member
Re: Internet Zone Idenifier
That compromise is probably what I'm stuck with. (I'm the only user btw)
Thanks.
-
Jan 20th, 2021, 12:21 AM
#6
Re: Internet Zone Idenifier
If you are the only user then you can just clear the setting through the Explorer Properties dialog.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|