Click here to Skip to main content
15,885,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help! WAB API problem, searched all the webspace but no results! Pin
Atony Chen24-Feb-06 23:43
Atony Chen24-Feb-06 23:43 
GeneralRe: Help! WAB API problem, searched all the webspace but no results! Pin
ThatsAlok26-Feb-06 19:10
ThatsAlok26-Feb-06 19:10 
Questionabout Solution habit Pin
FlyWithYou23-Feb-06 18:08
FlyWithYou23-Feb-06 18:08 
AnswerRe: about Solution habit Pin
Blake Miller24-Feb-06 5:19
Blake Miller24-Feb-06 5:19 
QuestionCAsyncSocket::OnReceive not getting called Pin
nsrsetty23-Feb-06 18:07
nsrsetty23-Feb-06 18:07 
QuestionCHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 17:56
vivek.s.vivek23-Feb-06 17:56 
AnswerRe: CHttpConnection - Post method Pin
jigneshrpatel23-Feb-06 18:46
jigneshrpatel23-Feb-06 18:46 
GeneralRe: CHttpConnection - Post method Pin
vivek.s.vivek23-Feb-06 21:36
vivek.s.vivek23-Feb-06 21:36 
Dear jigneshrpatel ,
Thanks for ur quick reply. Ya I make an attempt thru
CHttpFile: SendRequest(). still not working.

code is!..
pStrVerb = POST;

pServer = session.GetHttpConnection(lpstrServer, usPort,
pstrUserName, pstrPassword);
pFile = pServer->OpenRequest(pstrVerb, strFile, pstrReferer);

CString strFile= "\mypage\getdata.asp ";
pFile = pServer->OpenRequest(pstrVerb, strFile, pstrReferer);
//,1, &pstrAcceptTypes, pstrVersion, dwHttpRequestFlags);
pFile->AddRequestHeaders(szHeaders);
pFile->AddRequestHeaders("User-Agent: GetWebFile/1.0\r\n", HTTP_ADDREQ_FLAG_ADD_IF_NEW);
CString CStrTempQueryString = _T("txtpname=Winrunner&txtptype=Testing");
pFile->SendRequest(NULL, 0,(LPVOID)(LPCTSTR)CStrTempQueryString,CStrTempQueryString.GetLength());
pFile->QueryInfoStatusCode(dwRet);

I want these data (txtpname=Winrunner&txtptype=Testing") in ASP page

Note:
I also change the code to

CString CStrTempQueryString = _T("?txtpname=Winrunner&txtptype=Testing"); still not working.

Kindly do it ASAP. Thanks for ur effort.


viveks

viveks
GeneralRe: CHttpConnection - Post method Pin
ThatsAlok26-Feb-06 18:48
ThatsAlok26-Feb-06 18:48 
QuestionCHttpConnection web request for post method Pin
murali_utr23-Feb-06 17:40
murali_utr23-Feb-06 17:40 
AnswerRe: CHttpConnection web request for post method Pin
murali_utr23-Feb-06 23:02
murali_utr23-Feb-06 23:02 
QuestionA Question On GDI+ Pin
Shuang. Wu23-Feb-06 17:39
Shuang. Wu23-Feb-06 17:39 
QuestionQuestion regarding SafeArrays Pin
godspeed12323-Feb-06 17:39
godspeed12323-Feb-06 17:39 
AnswerRe: Question regarding SafeArrays Pin
Michael Dunn23-Feb-06 17:43
sitebuilderMichael Dunn23-Feb-06 17:43 
Questionhelp++ Pin
jobits1223-Feb-06 15:29
jobits1223-Feb-06 15:29 
AnswerRe: help++ Pin
Michael Dunn23-Feb-06 17:40
sitebuilderMichael Dunn23-Feb-06 17:40 
AnswerRe: help++ Pin
ThatsAlok26-Feb-06 18:10
ThatsAlok26-Feb-06 18:10 
Questionhelp c++ Pin
jobits1223-Feb-06 14:50
jobits1223-Feb-06 14:50 
AnswerRe: help c++ Pin
Ryan Binns23-Feb-06 15:00
Ryan Binns23-Feb-06 15:00 
AnswerRe: help c++ Pin
BadKarma23-Feb-06 20:36
BadKarma23-Feb-06 20:36 
AnswerRe: help c++ Pin
ThatsAlok23-Feb-06 21:42
ThatsAlok23-Feb-06 21:42 
QuestionRe: help c++ Pin
David Crow24-Feb-06 3:14
David Crow24-Feb-06 3:14 
QuestionEnding Thread Problems Pin
tbrake23-Feb-06 14:03
tbrake23-Feb-06 14:03 
AnswerRe: Ending Thread Problems Pin
Ryan Binns23-Feb-06 14:10
Ryan Binns23-Feb-06 14:10 
GeneralRe: Ending Thread Problems Pin
tbrake23-Feb-06 14:17
tbrake23-Feb-06 14:17 

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.