Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhi guys, how to rename the existing macro in vc? Pin
nenfa6-Dec-09 15:30
nenfa6-Dec-09 15:30 
AnswerRe: hi guys, how to rename the existing macro in vc? Pin
nenfa6-Dec-09 15:55
nenfa6-Dec-09 15:55 
QuestionContinue to Get "Read Only" under Properties in Windows Explorer after I reset it Pin
Larry Mills Sr6-Dec-09 14:18
Larry Mills Sr6-Dec-09 14:18 
AnswerRe: Continue to Get "Read Only" under Properties in Windows Explorer after I reset it Pin
«_Superman_»6-Dec-09 14:46
professional«_Superman_»6-Dec-09 14:46 
QuestionSharing memory between dll and application with HeapAlloc ? Pin
yarp6-Dec-09 7:04
yarp6-Dec-09 7:04 
AnswerRe: Sharing memory between dll and application with HeapAlloc ? Pin
Luc Pattyn6-Dec-09 8:07
sitebuilderLuc Pattyn6-Dec-09 8:07 
GeneralRe: Sharing memory between dll and application with HeapAlloc ? Pin
yarp6-Dec-09 10:06
yarp6-Dec-09 10:06 
QuestionWebBrowser control error INET_E_DOWNLOAD_FAILURE Pin
navinavi6-Dec-09 6:04
navinavi6-Dec-09 6:04 
I have implemented a small web server inside a dialog application that host the web browser control.

On a good scenario, this is what happens: I pass the url to the webbrowser control and it downloads all files from my server and displays it correctly. Something like:
CString navigateTo;
navigateTo.Format((TEXT("http://127.0.0.1:%d/%s")), m_nListeningSocketPort, GetFileName() );

try  {
    m_IExplorer.Navigate( navigateTo, 0, 0, 0, 0 );
}
...

explorer then gets all the files needed from the web server and all is ok. Then I disconnect from internet and from that point on internet explorer doesn't download anything. It doesnt even try to contact the server!

Events go like this:
http://127.0.0.1:52953/some_page.htm
BeforeNavigate2Webbrowser()
DownloadBeginWebbrowser()
DownloadBeginWebbrowser()
DownloadBeginWebbrowser()
DownloadBeginWebbrowser()
NavigateErrorWebbrowser():: URL: http://127.0.0.1:52953/some_page.htm
BeforeNavigate2Webbrowser():: URL: res://ieframe.dll/dnserrordiagoff_webOC.htm#http://127.0.0.1:52953/some_page.htm
DownloadBeginWebbrowser()
DownloadBeginWebbrowser()
NavigateComplete2Webbrowser():: URL: http://127.0.0.1:52953/some_page.htm


NavigateError() reports INET_E_DOWNLOAD_FAILURE. Can anyone explain what's going on? How can I force the web browser to contact to local web server? I implemented additinal test to verify server is up and running, and it's all good.
AnswerRe: WebBrowser control error INET_E_DOWNLOAD_FAILURE Pin
2249176-Dec-09 19:23
2249176-Dec-09 19:23 
AnswerRe: WebBrowser control error INET_E_DOWNLOAD_FAILURE Pin
Sarath C7-Dec-09 0:46
Sarath C7-Dec-09 0:46 
AnswerRe: WebBrowser control error INET_E_DOWNLOAD_FAILURE Pin
navinavi7-Dec-09 1:13
navinavi7-Dec-09 1:13 
QuestionHow to run an app in admin mode in Vista and 7 Pin
Patcher326-Dec-09 3:12
Patcher326-Dec-09 3:12 
AnswerRe: How to run an app in admin mode in Vista and 7 Pin
krmed6-Dec-09 4:57
krmed6-Dec-09 4:57 
AnswerRe: How to run an app in admin mode in Vista and 7 Pin
«_Superman_»6-Dec-09 4:58
professional«_Superman_»6-Dec-09 4:58 
AnswerRe: How to run an app in admin mode in Vista and 7 Pin
Kushagra Tiwari6-Dec-09 19:34
Kushagra Tiwari6-Dec-09 19:34 
GeneralRe: How to run an app in admin mode in Vista and 7 Pin
Patcher3230-Apr-10 11:50
Patcher3230-Apr-10 11:50 
QuestionHow to disable/enable menu items when using CMFCMenuBar in Visual Studio 2008 Feature Pack Pin
Blade_Bao5-Dec-09 20:51
Blade_Bao5-Dec-09 20:51 
AnswerRe: How to disable/enable menu items when using CMFCMenuBar in Visual Studio 2008 Feature Pack Pin
krmed6-Dec-09 5:08
krmed6-Dec-09 5:08 
QuestionRe: How to disable/enable menu items when using CMFCMenuBar in Visual Studio 2008 Feature Pack Pin
Blade_Bao12-Dec-09 1:53
Blade_Bao12-Dec-09 1:53 
QuestionSHGetSpecialFolderPath or SHGetFolderPath Pin
includeh105-Dec-09 9:39
includeh105-Dec-09 9:39 
AnswerRe: SHGetSpecialFolderPath or SHGetFolderPath Pin
LunaticFringe5-Dec-09 9:52
LunaticFringe5-Dec-09 9:52 
GeneralRe: SHGetSpecialFolderPath or SHGetFolderPath Pin
Bram van Kampen5-Dec-09 14:28
Bram van Kampen5-Dec-09 14:28 
GeneralRe: SHGetSpecialFolderPath or SHGetFolderPath PinPopular
David Crow5-Dec-09 17:21
David Crow5-Dec-09 17:21 
AnswerRe: SHGetSpecialFolderPath or SHGetFolderPath PinPopular
Iain Clarke, Warrior Programmer5-Dec-09 21:04
Iain Clarke, Warrior Programmer5-Dec-09 21:04 
QuestionWhere to call AnimateWindow during DoModal Pin
emmmatty15-Dec-09 0:27
emmmatty15-Dec-09 0:27 

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.