Click here to Skip to main content
16,019,619 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: User Control Developed in C# not appearing in VC++ Pin
Zac Howland20-Sep-06 8:18
Zac Howland20-Sep-06 8:18 
QuestionCalling SHBrowseForFolder from unmanaged VC++ code? Pin
BarryOg20-Sep-06 4:38
BarryOg20-Sep-06 4:38 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
Chris Losinger20-Sep-06 4:40
professionalChris Losinger20-Sep-06 4:40 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
led mike20-Sep-06 4:42
led mike20-Sep-06 4:42 
QuestionRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
David Crow20-Sep-06 5:18
David Crow20-Sep-06 5:18 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
Zac Howland20-Sep-06 5:25
Zac Howland20-Sep-06 5:25 
GeneralRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
BarryOg20-Sep-06 9:06
BarryOg20-Sep-06 9:06 
Questioncopying HTML from a CWebBrowser in XP sp2 [modified] Pin
Maximilien20-Sep-06 4:04
Maximilien20-Sep-06 4:04 
I'm trying to implement a copy ( to clipboard ) from a IWebBrowser2; this is what I'm doing, and it works on Win2K, but not on XP, especially SP2.

We generate HTML on the fly and "give" it to the browser, it's not based on a HTML file.

HRESULT hr;
// select the entire document
hr = _Browser->ExecWB(OLECMDID_SELECTALL, OLECMDEXECOPT_DODEFAULT, NULL, NULL);

// copy the text to Clipboard
hr = _Browser->ExecWB( OLECMDID_COPY, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL);

// clear the selection
hr = _Browser->ExecWB( OLECMDID_CLEARSELECTION, OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL);



After Further reading ...

There is a new "Local Machine Zone Lockdown" setting that seems to restrict some operations, like the one above.

one suggestion from Microsoft that might be working for us ( I will try it ) is to add the "Mark of the Web" on the HTML, something like :

<!-- saved from url=(0014)about:internet -->
<!-- saved from url=(0020)http://www.phdcc.com -->


but I'm not sure this will work from HTML not from a "real" web page ...


Anyone with a clue ?

Thanks.



-- modified at 10:30 Wednesday 20th September, 2006


Maximilien Lincourt
Your Head A Splode - Strong Bad

AnswerRe: copying HTML from a CWebBrowser in XP sp2 Pin
led mike20-Sep-06 4:51
led mike20-Sep-06 4:51 
GeneralRe: copying HTML from a CWebBrowser in XP sp2 Pin
Maximilien20-Sep-06 5:00
Maximilien20-Sep-06 5:00 
GeneralRe: copying HTML from a CWebBrowser in XP sp2 Pin
led mike20-Sep-06 5:06
led mike20-Sep-06 5:06 
QuestionHow to read Windows Registry Pin
himuskanhere20-Sep-06 3:37
himuskanhere20-Sep-06 3:37 
GeneralRe: How to read Windows Registry Pin
Matt Godbolt20-Sep-06 3:59
Matt Godbolt20-Sep-06 3:59 
AnswerRe: How to read Windows Registry Pin
Hamid Taebi20-Sep-06 4:03
professionalHamid Taebi20-Sep-06 4:03 
AnswerRe: How to read Windows Registry Pin
pavan_sw20-Sep-06 20:48
pavan_sw20-Sep-06 20:48 
QuestionHow to read Windows Registry Pin
himuskanhere20-Sep-06 3:35
himuskanhere20-Sep-06 3:35 
AnswerRe: How to read Windows Registry Pin
Jörgen Sigvardsson20-Sep-06 3:38
Jörgen Sigvardsson20-Sep-06 3:38 
AnswerRe: How to read Windows Registry Pin
_AnsHUMAN_ 20-Sep-06 3:44
_AnsHUMAN_ 20-Sep-06 3:44 
AnswerRe: How to read Windows Registry Pin
David Crow20-Sep-06 3:56
David Crow20-Sep-06 3:56 
Questionquesion about string Pin
zizzzz20-Sep-06 3:29
zizzzz20-Sep-06 3:29 
AnswerRe: quesion about string Pin
Zac Howland20-Sep-06 3:31
Zac Howland20-Sep-06 3:31 
AnswerRe: quesion about string Pin
toxcct20-Sep-06 3:34
toxcct20-Sep-06 3:34 
GeneralRe: quesion about string Pin
Jörgen Sigvardsson20-Sep-06 3:36
Jörgen Sigvardsson20-Sep-06 3:36 
GeneralRe: quesion about string [edited] Pin
toxcct20-Sep-06 3:38
toxcct20-Sep-06 3:38 
AnswerRe: quesion about string Pin
Hamid Taebi20-Sep-06 4:16
professionalHamid Taebi20-Sep-06 4:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.