Click here to Skip to main content
15,887,355 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: UniCode To Ansi Conversion problem Pin
Jack Puppy15-Sep-05 1:11
Jack Puppy15-Sep-05 1:11 
GeneralRe: UniCode To Ansi Conversion problem Pin
fjlv200515-Sep-05 15:58
fjlv200515-Sep-05 15:58 
Questionwarning for compiler option /GX Pin
logicaldna14-Sep-05 23:12
logicaldna14-Sep-05 23:12 
QuestionGPRS Pin
_tasleem14-Sep-05 23:11
_tasleem14-Sep-05 23:11 
AnswerRe: GPRS Pin
ThatsAlok15-Sep-05 18:09
ThatsAlok15-Sep-05 18:09 
QuestionHuffman Encoding Pin
edurach14-Sep-05 22:29
edurach14-Sep-05 22:29 
AnswerRe: Huffman Encoding Pin
Rage14-Sep-05 22:41
professionalRage14-Sep-05 22:41 
QuestionSimulate post at webpage Pin
Daniel Strigl14-Sep-05 22:10
Daniel Strigl14-Sep-05 22:10 
I want to simulate an input and post into a web page and than download the web page that is opened after the correct input! The web page exists of an user input form with userid and password, after input the correct data and pressing the submit button another web page will be opened.

I have tried to download the web page with the following code (I am using the CAmHttpSocket class at http://www.codeproject.com/internet/amhttputils.asp):

int _tmain(int argc, _TCHAR* argv[])
{
CAmHttpSocket http;

char* p = "userid=xxx&pwd=xxx";

char* s = http.GetPage(
_T("https://orawww.uibk.ac.at/public_prod/owa/pk205.frame_lv_termine_lzk?termin_id_in=3678"),
true, p, strlen(p));

int i = http.GetPageStatusCode();

printf("%s\n", s);

printf("%d\n", i);

return 0;
}

My problem is that I don't know how to simulate the input and pressing the submit button!

How can I pass the userid and the possword?

Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. Wink | ;)

-- modified at 4:46 Thursday 15th September, 2005
QuestionRenaming Tree Nodes Pin
laiju14-Sep-05 20:41
laiju14-Sep-05 20:41 
QuestionWhat is the Anotomy of Encarta? Pin
shoaibnawaz14-Sep-05 20:30
shoaibnawaz14-Sep-05 20:30 
AnswerRe: What is the Anotomy of Encarta? Pin
vikas amin14-Sep-05 21:36
vikas amin14-Sep-05 21:36 
QuestionHow to print the page for right of screen !!! Pin
ebinaini14-Sep-05 19:51
ebinaini14-Sep-05 19:51 
QuestionHow to wait for thread & if no response within time abort it Pin
karmendra_js14-Sep-05 19:32
karmendra_js14-Sep-05 19:32 
AnswerRe: How to wait for thread & if no response within time abort it Pin
PJ Arends14-Sep-05 19:52
professionalPJ Arends14-Sep-05 19:52 
GeneralRe: How to wait for thread & if no response within time abort it Pin
karmendra_js14-Sep-05 21:05
karmendra_js14-Sep-05 21:05 
GeneralRe: How to wait for thread & if no response within time abort it Pin
HumanOsc14-Sep-05 21:59
HumanOsc14-Sep-05 21:59 
GeneralRe: How to wait for thread & if no response within time abort it Pin
David Crow15-Sep-05 7:43
David Crow15-Sep-05 7:43 
GeneralRe: How to wait for thread & if no response within time abort it Pin
ThatsAlok15-Sep-05 18:15
ThatsAlok15-Sep-05 18:15 
GeneralRe: How to wait for thread & if no response within time abort it Pin
David Crow16-Sep-05 2:18
David Crow16-Sep-05 2:18 
AnswerRe: How to wait for thread & if no response within time abort it Pin
Roger Stoltz14-Sep-05 21:45
Roger Stoltz14-Sep-05 21:45 
GeneralRe: How to wait for thread & if no response within time abort it Pin
karmendra_js14-Sep-05 22:04
karmendra_js14-Sep-05 22:04 
GeneralRe: How to wait for thread & if no response within time abort it Pin
HumanOsc14-Sep-05 22:40
HumanOsc14-Sep-05 22:40 
AnswerRe: How to wait for thread & if no response within time abort it Pin
karmendra_js14-Sep-05 23:03
karmendra_js14-Sep-05 23:03 
GeneralRe: How to wait for thread & if no response within time abort it Pin
Roger Stoltz14-Sep-05 23:22
Roger Stoltz14-Sep-05 23:22 
GeneralRe: How to wait for thread & if no response within time abort it Pin
karmendra_js14-Sep-05 23:43
karmendra_js14-Sep-05 23:43 

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.