Re: XP SP2, OLECMDID_COPY no longer works (no error, no copy!)

From: mayayana (mayaXXyana1a_at_mindYYspring.com)
Date: 09/08/04


Date: Wed, 08 Sep 2004 12:57:25 GMT


  It's probably the "Local Machine Lockdown" in SP2,
which overrides IE security settings. See here:
http://www.jsware.net/jsware/iewacky.html#scrinfo

--
--
John Cullen <eturtle@address.com> wrote in message
news:3bd954a8.0409080201.559831e3@posting.google.com...
> For one of our projects we implemented (in C++) a webbrowser control
> based on the IWebBrowser2 interface. This code has worked fine under
> all OSes for a couple of years now, however after installing XP SP2
> suddenly the ability to programmatically copy the content of an
> embedded browser to the clipboard has ceased to function. The relevant
> code could not be much simpler:
>
> ExecWB( OLECMDID_SELECTALL, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL
> );
> ExecWB( OLECMDID_COPY, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL );
> ExecWB( OLECMDID_CLEARSELECTION, OLECMDEXECOPT_DONTPROMPTUSER, NULL,
> NULL );
>
> I know this change is related to the new security features implemented
> in SP2, but does anyone know *how to get around it*?? When using
> script, and a normal browser window, it's possbile to have the new
> information bar popup asking if the user wishes to allow the operation
> of not, however for an embedded browser, in the middle of an
> application, this is neither acceptable, nor possible.
>
> Attempts to correct the problem by changing the various security and
> advanced IE settings (e.g. allow scripting etc.) have not resulted in
> any success.
>
> Incidentally, printing, via OLECMDID_PRINT, continues to work as
> expected.
>
> If anyone can shed any light on this problem, I'll be eternally
> grateful :-) And if anyone *does* reply, please *also* reply to my
> email address because I'm posting via Google Groups, and replies take
> 6-9 hours to appear :-(
>
> Many thanks,
>
> John
>
> --
> Email: jjcullen AT yahoo DOT com


Relevant Pages

  • Re: Your current security settings do not allow this file to be downlo
    ... You may be up against the "local machine lockdown" feature of IE6 XP SP2. ... You will, of course, be giving up some of the enhanced security of the XP ... Then I get the 'Your current security settings do not allow....' ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: SP2 installed: Problems.. Uninstall=New Problem (SpoolerSubsystemA
    ... I didnt change any security levels. ... security update CD for my WIN98PC) so during install of SP2 I did 'try' to ... After the SP2 install, I got the undesirable effects noted. ... > to set the security settings to the default settings. ...
    (microsoft.public.windowsxp.help_and_support)
  • Good Riddance SP2
    ... I have no problems with SP2 or Media Player 9. ... >message about Security Settings unable to play files I ...
    (microsoft.public.windowsxp.general)
  • Re: Unable to download/run ActiveX controls
    ... Your current security settings prohibit running Active X ... Test Your ActiveX Installation ... change the security settings for this zone? ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: is XP SP2 RC2 advisable for the average FCKGW user?
    ... > copies," said Microsoft group product manager Barry Goffe. ... > internet security and avoiding responsibility for the consequences ... As we have said - SP2 will be available for all legitimate users of Windows ...
    (microsoft.public.windowsxp.basics)