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

C#

 
AnswerRe: Get image bound Pin
AB777120-Mar-06 0:44
AB777120-Mar-06 0:44 
GeneralRe: Get image bound Pin
Cliffer20-Mar-06 0:55
Cliffer20-Mar-06 0:55 
GeneralRe: Get image bound Pin
AB777120-Mar-06 1:19
AB777120-Mar-06 1:19 
QuestionSearch function in Crystal Report Pin
angelagke19-Mar-06 23:44
angelagke19-Mar-06 23:44 
AnswerRe: Search function in Crystal Report Pin
albCode20-Mar-06 0:26
albCode20-Mar-06 0:26 
QuestionHow To check for the internet connection Pin
mahammadhusen19-Mar-06 23:30
mahammadhusen19-Mar-06 23:30 
AnswerRe: How To check for the internet connection Pin
AB777120-Mar-06 0:39
AB777120-Mar-06 0:39 
GeneralRe: How To check for the internet connection Pin
Pietman Kahl20-Mar-06 0:59
professionalPietman Kahl20-Mar-06 0:59 
Your proposal can work but the better way to do it is as follows (from MSDN):

Uri myUri = new Uri("http://www.yahoo.com");<br />
// Create a 'HttpWebRequest' object for the specified url. <br />
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(myUri); <br />
// Send the request and wait for response.<br />
HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse(); <br />
if (myHttpWebResponse.StatusCode == HttpStatusCode.OK)<br />
    Console.WriteLine("\nRequest succeeded and the requested information is in the response ,Description : {0}",<br />
                        myHttpWebResponse.StatusDescription);<br />
if (myUri.Equals(myHttpWebResponse.ResponseUri))<br />
    Console.WriteLine("\nThe Request Uri was not redirected by the server");<br />
else<br />
    Console.WriteLine("\nThe Request Uri was redirected to :{0}",myHttpWebResponse.ResponseUri);<br />
// Release resources of response object.<br />
myHttpWebResponse.Close(); 


I used to be vain.... BUT now I'm perfect!
AnswerRe: How To check for the internet connection Pin
akyriako7820-Mar-06 1:10
akyriako7820-Mar-06 1:10 
GeneralRe: How To check for the internet connection Pin
Pietman Kahl20-Mar-06 1:15
professionalPietman Kahl20-Mar-06 1:15 
QuestionMouseClick Issue Pin
Pietman Kahl19-Mar-06 23:16
professionalPietman Kahl19-Mar-06 23:16 
AnswerRe: MouseClick Issue Pin
AB777119-Mar-06 23:40
AB777119-Mar-06 23:40 
GeneralRe: MouseClick Issue Pin
Pietman Kahl19-Mar-06 23:47
professionalPietman Kahl19-Mar-06 23:47 
GeneralRe: MouseClick Issue Pin
AB777119-Mar-06 23:55
AB777119-Mar-06 23:55 
GeneralRe: MouseClick Issue Pin
Pietman Kahl20-Mar-06 0:05
professionalPietman Kahl20-Mar-06 0:05 
GeneralRe: MouseClick Issue Pin
Pietman Kahl20-Mar-06 0:23
professionalPietman Kahl20-Mar-06 0:23 
GeneralRe: MouseClick Issue Pin
AB777120-Mar-06 0:33
AB777120-Mar-06 0:33 
GeneralRe: MouseClick Issue Pin
Pietman Kahl20-Mar-06 0:42
professionalPietman Kahl20-Mar-06 0:42 
GeneralRe: MouseClick Issue Pin
AB777120-Mar-06 0:49
AB777120-Mar-06 0:49 
GeneralRe: MouseClick Issue Pin
Pietman Kahl20-Mar-06 1:09
professionalPietman Kahl20-Mar-06 1:09 
AnswerRe: MouseClick Issue Pin
Baeltazor21-Feb-10 21:10
Baeltazor21-Feb-10 21:10 
QuestionOverlapped windows controls Pin
balkang19-Mar-06 22:08
balkang19-Mar-06 22:08 
AnswerRe: Overlapped windows controls Pin
Ahmad Mahmoud [candseeme]19-Mar-06 22:17
Ahmad Mahmoud [candseeme]19-Mar-06 22:17 
QuestionHaving problem with class decaration when Building a class libraray Pin
Tony_Joh19-Mar-06 21:48
Tony_Joh19-Mar-06 21:48 
AnswerRe: Having problem with class decaration when Building a class libraray Pin
Ahmad Mahmoud [candseeme]19-Mar-06 22:02
Ahmad Mahmoud [candseeme]19-Mar-06 22:02 

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.