Results 1 to 6 of 6

Thread: Internet Zone Idenifier

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2010
    Posts
    1,462

    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?

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,120

    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>

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2010
    Posts
    1,462

    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.

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2010
    Posts
    1,462

    Re: Internet Zone Idenifier

    That compromise is probably what I'm stuck with. (I'm the only user btw)
    Thanks.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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
  •  



Click Here to Expand Forum to Full Width