Click here to Skip to main content
15,918,706 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGreying out checkboxes in TreeView Pin
nitingonsalves20-Feb-03 8:24
nitingonsalves20-Feb-03 8:24 
GeneralTerminating Applications in VC++ Pin
Anonymous20-Feb-03 8:18
Anonymous20-Feb-03 8:18 
GeneralRe: Terminating Applications in VC++ Pin
AlexO20-Feb-03 8:56
AlexO20-Feb-03 8:56 
GeneralDynamic linking MFC Pin
User 988520-Feb-03 6:55
User 988520-Feb-03 6:55 
GeneralRe: Dynamic linking MFC Pin
valikac20-Feb-03 7:25
valikac20-Feb-03 7:25 
GeneralRe: Dynamic linking MFC Pin
Florian Heidenreich20-Feb-03 8:17
Florian Heidenreich20-Feb-03 8:17 
Questionvector::iterator: difference = index? Pin
peterchen20-Feb-03 6:41
peterchen20-Feb-03 6:41 
AnswerRe: vector::iterator: difference = index? Pin
Joaquín M López Muñoz20-Feb-03 6:50
Joaquín M López Muñoz20-Feb-03 6:50 
GeneralHelp in getting the UNC path Pin
ElizabethC20-Feb-03 6:26
ElizabethC20-Feb-03 6:26 
GeneralRe: Help in getting the UNC path Pin
Joaquín M López Muñoz20-Feb-03 6:41
Joaquín M López Muñoz20-Feb-03 6:41 
GeneralRe: Help in getting the UNC path Pin
ElizabethC20-Feb-03 7:35
ElizabethC20-Feb-03 7:35 
GeneralRe: Help in getting the UNC path Pin
Joaquín M López Muñoz20-Feb-03 7:40
Joaquín M López Muñoz20-Feb-03 7:40 
GeneralMFC Extension DLL Pin
orcun colak20-Feb-03 6:18
orcun colak20-Feb-03 6:18 
GeneralRe: MFC Extension DLL Pin
valikac20-Feb-03 7:29
valikac20-Feb-03 7:29 
GeneralRe: MFC Extension DLL Pin
converdb20-Feb-03 12:01
converdb20-Feb-03 12:01 
Generalvery simple question Pin
davzfr20-Feb-03 6:01
davzfr20-Feb-03 6:01 
General'specia 'message box Pin
Anonymous20-Feb-03 5:47
Anonymous20-Feb-03 5:47 
GeneralRe: 'specia 'message box Pin
Chris Losinger20-Feb-03 6:50
professionalChris Losinger20-Feb-03 6:50 
GeneralRe: 'specia 'message box Pin
Anonymous20-Feb-03 22:50
Anonymous20-Feb-03 22:50 
GeneralC++ DLL and MFC Pin
uapc20-Feb-03 5:35
sussuapc20-Feb-03 5:35 
GeneralRe: C++ DLL and MFC Pin
Iain Clarke, Warrior Programmer20-Feb-03 6:17
Iain Clarke, Warrior Programmer20-Feb-03 6:17 
GeneralRe: C++ DLL and MFC Pin
Anonymous20-Feb-03 7:02
Anonymous20-Feb-03 7:02 
GeneralWebbrowser control annoying security alert dialogs Pin
GriffonRL20-Feb-03 5:33
GriffonRL20-Feb-03 5:33 
Hello,

I'm using the webbrowser control in an application where the crawling is totally automated.
The problem is that sometimes the browser try to crawl an archive file or whatever. In that case a security alert dialog box pops up and my webbrowser control waits for this dialog to close.
I already succeded removing all Javascript dialogs by implementing the IDocHostShowUI interface and by putting the control into the "silent" mode (put_silent()).
I also implemented the IDocHostUIHandler to return S_OK or S_FALSE wherever possible to get rid of a maximum of MSHTML UI unwanted behaviours.
But I still get this security alert dialogs and I have no ideas of how to avoid them.

The only solution I found for the moment is to filter the links the webbrowser control can crawl in a page by removing files containing 'zip','rar','mp3','jpg','gif'... And so on.
But this solution is not perfect because of the number of possible file types and because sometimes you can't even guess what it is from the URL.
If only the webbrowser control could allow me to access the HTTP file headers before display, to guess what it is from the content-type !

But even if I can filter the URL I crawl, I would really like a solution to remove the security alert dialogs.
I also tried to tweak the Internet Explorer options to avoid prompts and dialogs but I didn't solve this problem.

Any idea ?

Thanks,


R. LOPES
Just programmer.
GeneralRe: Webbrowser control annoying security alert dialogs Pin
Todd Smith20-Feb-03 8:14
Todd Smith20-Feb-03 8:14 
GeneralRe: Webbrowser control annoying security alert dialogs Pin
GriffonRL20-Feb-03 21:30
GriffonRL20-Feb-03 21:30 

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.