Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I want to show a line in a window Pin
bloodwinner15-Sep-06 0:59
bloodwinner15-Sep-06 0:59 
GeneralRe: I want to show a line in a window Pin
Cedric Moonen15-Sep-06 1:01
Cedric Moonen15-Sep-06 1:01 
GeneralRe: I want to show a line in a window Pin
Hamid_RT15-Sep-06 1:12
Hamid_RT15-Sep-06 1:12 
AnswerRe: I want to show a line in a window Pin
_AnsHUMAN_ 15-Sep-06 0:52
_AnsHUMAN_ 15-Sep-06 0:52 
AnswerRe: I want to show a line in a window Pin
Christian Graus15-Sep-06 1:07
protectorChristian Graus15-Sep-06 1:07 
AnswerRe: I want to show a line in a window Pin
Stephen Hewitt15-Sep-06 1:16
Stephen Hewitt15-Sep-06 1:16 
QuestionRemovable Storage Manager help required. Pin
Touseef Afzal15-Sep-06 0:11
Touseef Afzal15-Sep-06 0:11 
QuestionHTTP 401 login with Iwebbrowser2 Pin
ayol1212215-Sep-06 0:07
ayol1212215-Sep-06 0:07 
Hi all, i'm trying to implement a tool that navigate automatically on a site, using iwebbrowser. The problem is that this site has httaccess, so when i do Navigate to that url, it opens a login popup with "Authentication Required". This popup is not html, so i don't know how to fill it with username and password.
I thought that this code was a good idea:

HINTERNET     m_hInternetSession;
	HINTERNET	  m_hHttpConnection;

	if (!AfxParseURL(m_sURLToDownload, m_dwServiceType, m_sServer, m_sObject, m_nPort))
	{
			TRACE(_T("Failed to parse the URL: %s\n"), m_sURLToDownload);
			return false;
	}
	m_hInternetSession = ::InternetOpen(AfxGetAppName(), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
	if (m_hInternetSession == NULL)
	{
		TRACE(_T("Failed in call to InternetOpen, Error:%d\n"), ::GetLastError());
		return false;
	}

	m_hHttpConnection = ::InternetConnect(m_hInternetSession, m_sServer, m_nPort, m_sUserName, 
		m_sPassword, m_dwServiceType, 0, (DWORD) this);


But this has no correlation with iwebbrowser2..so even using this code before navigating to that page the http 401 "authentication required" message is still there.

Please Help Frown | :( Frown | :(
QuestionVery very Urgent : Getting the color value of a pixel for 16-bpp bitmap Pin
uday kiran janaswamy14-Sep-06 23:57
uday kiran janaswamy14-Sep-06 23:57 
AnswerRe: Very very Urgent : Getting the color value of a pixel for 16-bpp bitmap Pin
Christian Graus15-Sep-06 0:25
protectorChristian Graus15-Sep-06 0:25 
Questionfile structure of a pst file Pin
neha.agarwal2714-Sep-06 23:56
neha.agarwal2714-Sep-06 23:56 
AnswerRe: file structure of a pst file Pin
Christian Graus15-Sep-06 0:33
protectorChristian Graus15-Sep-06 0:33 
GeneralRe: file structure of a pst file Pin
neha.agarwal2715-Sep-06 0:48
neha.agarwal2715-Sep-06 0:48 
AnswerRe: file structure of a pst file Pin
Hamid_RT15-Sep-06 0:54
Hamid_RT15-Sep-06 0:54 
GeneralRe: file structure of a pst file Pin
neha.agarwal2715-Sep-06 1:26
neha.agarwal2715-Sep-06 1:26 
GeneralRe: file structure of a pst file Pin
David Crow15-Sep-06 3:52
David Crow15-Sep-06 3:52 
GeneralRe: file structure of a pst file Pin
Hamid_RT15-Sep-06 7:28
Hamid_RT15-Sep-06 7:28 
Questionquick watching vector variable Pin
9ine14-Sep-06 23:52
9ine14-Sep-06 23:52 
AnswerRe: quick watching vector variable Pin
Nibu babu thomas15-Sep-06 0:08
Nibu babu thomas15-Sep-06 0:08 
GeneralRe: quick watching vector variable Pin
krmed15-Sep-06 4:33
krmed15-Sep-06 4:33 
GeneralRe: quick watching vector variable Pin
Nibu babu thomas17-Sep-06 17:39
Nibu babu thomas17-Sep-06 17:39 
QuestionUNICODE, MULTIBYTE problem Pin
_anil_14-Sep-06 23:44
_anil_14-Sep-06 23:44 
AnswerRe: UNICODE, MULTIBYTE problem Pin
Rinu_Raj15-Sep-06 0:05
Rinu_Raj15-Sep-06 0:05 
GeneralRe: UNICODE, MULTIBYTE problem Pin
_anil_17-Sep-06 18:07
_anil_17-Sep-06 18:07 
QuestionHow to modify LPCTSTR contet? Pin
bosfan14-Sep-06 23:16
bosfan14-Sep-06 23: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.