Click here to Skip to main content
15,896,493 members
Home / Discussions / C#
   

C#

 
GeneralLogging all Incoming and Outgoing Data on specified port Pin
Gustav Paul12-Mar-05 7:49
sussGustav Paul12-Mar-05 7:49 
GeneralRe: Logging all Incoming and Outgoing Data on specified port Pin
Dave Kreskowiak12-Mar-05 17:55
mveDave Kreskowiak12-Mar-05 17:55 
Questionhow to communicate with a web site Pin
Mohsen Saad12-Mar-05 6:48
Mohsen Saad12-Mar-05 6:48 
AnswerRe: how to communicate with a web site Pin
Judah Gabriel Himango12-Mar-05 6:54
sponsorJudah Gabriel Himango12-Mar-05 6:54 
GeneralRe: how to communicate with a web site Pin
Mohsen Saad12-Mar-05 7:06
Mohsen Saad12-Mar-05 7:06 
GeneralRe: how to communicate with a web site Pin
Judah Gabriel Himango12-Mar-05 7:12
sponsorJudah Gabriel Himango12-Mar-05 7:12 
AnswerRe: how to communicate with a web site Pin
Ghazi H. Wadi12-Mar-05 7:44
Ghazi H. Wadi12-Mar-05 7:44 
AnswerRe: how to communicate with a web site Pin
Bahadir Cambel12-Mar-05 23:31
Bahadir Cambel12-Mar-05 23:31 
I developed a similar application ...Here is the my solution..
First , I created a web service which gets the input , then regarding to these inputs , returns the results...
In the web service
<code>
[WebMethod(Description="Login Operation")]
public string Login(string userName,string password)
{
HttpWebRequest req = (HttpWebRequest) HttpWebRequest.Create("http://[www.desiredsite.com/login.aspx?name="+userName+"&password="+passWord)
req.KeepAlive = false;
HttpWebResponse resp = (HttpWebResponse) req.GetResponse();			
StreamReader sr = new StreamReader(resp.GetResponseStream(), System.Text.Encoding.UTF8);	
string all = sr.ReadToEnd();//So far you send the info, thus you get string having the result page 
...//In these lines of code , regarding to the html structure, you should wrap the info you need
...// clean up the unnecessary tags and find whether the login is succeeded or not by manipulating html
...
return resultString;//This will be the web service's respond string to the application.
</code>

AnswerRe: how to communicate with a web site Pin
tonaxxl13-Mar-05 5:03
tonaxxl13-Mar-05 5:03 
GeneralRepaint frame Pin
Robske12-Mar-05 6:39
Robske12-Mar-05 6:39 
GeneralRe: Repaint frame Pin
Judah Gabriel Himango12-Mar-05 6:58
sponsorJudah Gabriel Himango12-Mar-05 6:58 
General'fit to page' future when printing HTML document Pin
simcho9912-Mar-05 1:01
simcho9912-Mar-05 1:01 
GeneralRe: 'fit to page' future when printing HTML document Pin
Judah Gabriel Himango12-Mar-05 7:00
sponsorJudah Gabriel Himango12-Mar-05 7:00 
GeneralRe: 'fit to page' future when printing HTML document Pin
simcho9913-Mar-05 20:26
simcho9913-Mar-05 20:26 
Generalmultithreading and web request help needed Pin
enterlong11-Mar-05 23:33
enterlong11-Mar-05 23:33 
GeneralRe: multithreading and web request help needed Pin
Judah Gabriel Himango12-Mar-05 7:03
sponsorJudah Gabriel Himango12-Mar-05 7:03 
GeneraliAnywhere.Data.AsaClient Pin
sreejith ss nair11-Mar-05 21:51
sreejith ss nair11-Mar-05 21:51 
GeneralRe: iAnywhere.Data.AsaClient Pin
S. Senthil Kumar11-Mar-05 22:35
S. Senthil Kumar11-Mar-05 22:35 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair11-Mar-05 23:22
sreejith ss nair11-Mar-05 23:22 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde12-Mar-05 2:06
Robert Rohde12-Mar-05 2:06 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair12-Mar-05 19:03
sreejith ss nair12-Mar-05 19:03 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde12-Mar-05 21:09
Robert Rohde12-Mar-05 21:09 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair12-Mar-05 21:38
sreejith ss nair12-Mar-05 21:38 
GeneralRe: iAnywhere.Data.AsaClient Pin
sreejith ss nair13-Mar-05 17:23
sreejith ss nair13-Mar-05 17:23 
GeneralRe: iAnywhere.Data.AsaClient Pin
Robert Rohde13-Mar-05 19:24
Robert Rohde13-Mar-05 19:24 

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.