Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting data into combo boxes Pin
keegan3-Jul-03 3:25
keegan3-Jul-03 3:25 
GeneralRe: Getting data into combo boxes Pin
Cedric Moonen3-Jul-03 3:39
Cedric Moonen3-Jul-03 3:39 
GeneralRe: Getting data into combo boxes Pin
keegan3-Jul-03 3:56
keegan3-Jul-03 3:56 
Generalobject drawing Pin
jotham3-Jul-03 2:09
jotham3-Jul-03 2:09 
GeneralRe: object drawing Pin
Member 4242593-Jul-03 2:52
Member 4242593-Jul-03 2:52 
GeneralRe: object drawing Pin
basementman3-Jul-03 4:42
basementman3-Jul-03 4:42 
QuestionHow to detect Internet connection Pin
HemantR...3-Jul-03 1:44
HemantR...3-Jul-03 1:44 
AnswerRe: How to detect Internet connection Pin
Ryan Binns3-Jul-03 1:50
Ryan Binns3-Jul-03 1:50 
raghute_h wrote:
How can i detect the live internet connection?

There are a couple of ways. One is to detect when a modem dials, but that only works for dial-up connections. For LAN connections, you can try to connect to a remote system, eg. Ping a server that you know exists. It you can get to the server, then the internet connection is active. If you can't it doesn't necessarily mean that the connection is not active - the server might be down, so you have to ping a few servers, such as microsoft, google, yahoo, msn etc. If all of them don't work, then you can reasonably assume that the internet connection is not working. If one of them works, then the connection is definitely working.

Hope this helps,

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

AnswerRe: How to detect Internet connection Pin
David Crow3-Jul-03 3:00
David Crow3-Jul-03 3:00 
AnswerRe: How to detect Internet connection Pin
Ravi Bhavnani3-Jul-03 3:08
professionalRavi Bhavnani3-Jul-03 3:08 
GeneralRe: How to detect Internet connection Pin
Ryan Binns3-Jul-03 4:10
Ryan Binns3-Jul-03 4:10 
GeneralReal Time performance problem Pin
Anonymous3-Jul-03 0:40
Anonymous3-Jul-03 0:40 
GeneralRe: Real Time performance problem Pin
Ryan Binns3-Jul-03 1:17
Ryan Binns3-Jul-03 1:17 
GeneralRe: Real Time performance problem Pin
Valeria Bogdevich3-Jul-03 1:27
Valeria Bogdevich3-Jul-03 1:27 
Generaltrap a-z keys!!! Pin
xxhimanshu2-Jul-03 23:18
xxhimanshu2-Jul-03 23:18 
GeneralRe: trap a-z keys!!! Pin
Mil102-Jul-03 23:37
Mil102-Jul-03 23:37 
GeneralRe: trap a-z keys!!! Pin
Mathias S.3-Jul-03 0:26
Mathias S.3-Jul-03 0:26 
GeneralIAccessible Pin
anshumanshinde2-Jul-03 21:01
anshumanshinde2-Jul-03 21:01 
GeneralIn-proc to out-of-proc Pin
In-At2-Jul-03 20:27
In-At2-Jul-03 20:27 
GeneralCComboBoxEx Pin
bigmirror2-Jul-03 17:36
bigmirror2-Jul-03 17:36 
QuestionHow to use Vector in the VC++? Pin
David12152-Jul-03 17:25
David12152-Jul-03 17:25 
AnswerRe: How to use Vector in the VC++? Pin
Abbas_Riazi2-Jul-03 19:12
professionalAbbas_Riazi2-Jul-03 19:12 
AnswerRe: How to use Vector in the VC++? Pin
Andrew Walker2-Jul-03 19:37
Andrew Walker2-Jul-03 19:37 
GeneralCDialogBar Pin
alex742-Jul-03 14:32
alex742-Jul-03 14:32 
GeneralRe: CDialogBar Pin
dexo2-Jul-03 15:27
dexo2-Jul-03 15:27 

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.