Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
AnswerRe: Font color Pin
leppie1-Dec-08 19:51
leppie1-Dec-08 19:51 
Question.net application hangs under vista Pin
zhyluopro1-Dec-08 7:31
zhyluopro1-Dec-08 7:31 
AnswerRe: .net application hangs under vista Pin
#realJSOP1-Dec-08 8:28
professional#realJSOP1-Dec-08 8:28 
GeneralRe: .net application hangs under vista Pin
Samer Aburabie1-Dec-08 10:43
Samer Aburabie1-Dec-08 10:43 
AnswerRe: .net application hangs under vista Pin
Paul Conrad1-Dec-08 11:26
professionalPaul Conrad1-Dec-08 11:26 
AnswerRe: .net application hangs under vista Pin
HosamAly1-Dec-08 19:45
HosamAly1-Dec-08 19:45 
GeneralRe: .net application hangs under vista Pin
#realJSOP1-Dec-08 23:54
professional#realJSOP1-Dec-08 23:54 
QuestionAutoLogin With C# To My Mail - Problems Pin
CRAZYCRICKET2251-Dec-08 6:41
CRAZYCRICKET2251-Dec-08 6:41 
hey,
two weeks ago i found this code:



HTMLDocument myDoc = new HTMLDocumentClass();
myDoc = (HTMLDocument)ie.Document;

// a quick look at the google html source reveals:
// <INPUT maxLength="256" size="55" name="q">
//
HTMLInputElement otxtSearchBox = (HTMLInputElement)myDoc.all.item("username", 0);

otxtSearchBox.value = "??????????";


HTMLInputElement otxtSearchBox2 = (HTMLInputElement)myDoc.all.item("password",0);

otxtSearchBox2.value = ""??????????";";
HTMLInputElement btnSearch = (HTMLInputElement)myDoc.all.item("oSubmit", 0);
btnSearch.click();



so I wanted to add a little gadget which checks if i got new mails.
So i found the HTTPWEBREQUEST consept :

HttpWebRequest request = (HttpWebRequest)
WebRequest.Create("http://newmail.walla.co.il/");

// execute the request
HttpWebResponse response = (HttpWebResponse)
request.GetResponse();

// we will read data via the response stream
Stream resStream = response.GetResponseStream();





The PROBLEM is I can't get into my mail with HTTPWEBREQUEST because it sends me to the login page.
The login page ,as long as i know uses GET method and i can't find a way to pass trough.

could someone help me somehow ? how can i fill these fields?
i was looking for the answers like 4 hours , trying changing cookies , NetworkCredential, Headers ,WSSE ..... with no success( i just don't know what to do)..

AnswerRe: AutoLogin With C# To My Mail - Problems Pin
Paul Conrad1-Dec-08 6:49
professionalPaul Conrad1-Dec-08 6:49 
GeneralRe: AutoLogin With C# To My Mail - Problems Pin
CRAZYCRICKET2252-Dec-08 3:33
CRAZYCRICKET2252-Dec-08 3:33 
AnswerRe: AutoLogin With C# To My Mail - Problems Pin
PH-MAT2-Dec-08 8:09
PH-MAT2-Dec-08 8:09 
GeneralRe: AutoLogin With C# To My Mail - Problems Pin
CRAZYCRICKET2252-Dec-08 9:53
CRAZYCRICKET2252-Dec-08 9:53 
QuestionWant to listen an event of other application Pin
Naveed7271-Dec-08 6:00
Naveed7271-Dec-08 6:00 
AnswerRe: Want to listen an event of other application Pin
Dave Kreskowiak1-Dec-08 7:43
mveDave Kreskowiak1-Dec-08 7:43 
Questionhelp in OleDbDataReader Pin
hassanasp1-Dec-08 5:59
hassanasp1-Dec-08 5:59 
AnswerRe: help in OleDbDataReader Pin
Wendelius1-Dec-08 6:12
mentorWendelius1-Dec-08 6:12 
GeneralRe: help in OleDbDataReader error message Pin
hassanasp1-Dec-08 6:27
hassanasp1-Dec-08 6:27 
GeneralRe: help in OleDbDataReader error message Pin
Wendelius1-Dec-08 9:31
mentorWendelius1-Dec-08 9:31 
Questionthread in C# Pin
dec821-Dec-08 3:41
dec821-Dec-08 3:41 
AnswerRe: thread in C# Pin
N a v a n e e t h1-Dec-08 3:45
N a v a n e e t h1-Dec-08 3:45 
AnswerRe: thread in C# Pin
Paul Conrad1-Dec-08 5:59
professionalPaul Conrad1-Dec-08 5:59 
QuestionHow to send a WNDPROC message to a listview control to simulate a click on a scrollbar arrow Pin
Darryl Borden1-Dec-08 3:18
Darryl Borden1-Dec-08 3:18 
AnswerRe: How to send a WNDPROC message to a listview control to simulate a click on a scrollbar arrow Pin
Simon P Stevens1-Dec-08 3:56
Simon P Stevens1-Dec-08 3:56 
QuestionTreeview inside DataGridView Pin
Piyush Vaishnav1-Dec-08 2:53
Piyush Vaishnav1-Dec-08 2:53 
AnswerRe: Treeview inside DataGridView Pin
Steve Westbrook1-Dec-08 5:04
Steve Westbrook1-Dec-08 5:04 

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.