Click here to Skip to main content
16,004,727 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Checking net connection on a machine Pin
neha.agarwal2712-Oct-07 21:01
neha.agarwal2712-Oct-07 21:01 
GeneralRe: Checking net connection on a machine Pin
Hamid_RT12-Oct-07 21:31
Hamid_RT12-Oct-07 21:31 
GeneralRe: Checking net connection on a machine Pin
neha.agarwal2712-Oct-07 22:01
neha.agarwal2712-Oct-07 22:01 
QuestionRe: Checking net connection on a machine Pin
Hamid_RT12-Oct-07 22:58
Hamid_RT12-Oct-07 22:58 
AnswerRe: Checking net connection on a machine Pin
neha.agarwal2712-Oct-07 23:07
neha.agarwal2712-Oct-07 23:07 
QuestionRe: Checking net connection on a machine Pin
Hamid_RT13-Oct-07 8:28
Hamid_RT13-Oct-07 8:28 
QuestionRe: Checking net connection on a machine Pin
Hamid_RT20-Oct-07 19:35
Hamid_RT20-Oct-07 19:35 
AnswerRe: Checking net connection on a machine Pin
chandu00412-Oct-07 21:57
chandu00412-Oct-07 21:57 
i have a quicker and temporary solution for you.
but not sure, weather it suits your application.
1.go to command prompt and type ipconfig.
2.you will see the ip settings.
3.next, disable the internetconnection and see ipconfig.
4.in my system, it gives win 2000 ip configuration, and that should apply for your system also.
5.so got the difference?
apart from your code which you have previoulsy executed, you can add this ipconfig in a systemcommand (obviously by redirecting the output to a file)
and see weather the connection is enabled or not.
and one more alternative is,
you can google to find some application,(which i studied few days ago) like "how to find the unique ID of the network card in the computer"
in this application, the function returns the ID if the network is enabled
i think this will also be helpful, until some master gives you a simple technique. even iam eagerly waiting for that.
gud luck.


Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.

QuestionDraw a transparent rectangle Pin
$uresh $hanmugam12-Oct-07 18:52
$uresh $hanmugam12-Oct-07 18:52 
AnswerRe: Draw a transparent rectangle Pin
led mike12-Oct-07 19:11
led mike12-Oct-07 19:11 
GeneralRe: Draw a transparent rectangle Pin
Mark Salsbery13-Oct-07 7:22
Mark Salsbery13-Oct-07 7:22 
AnswerRe: Draw a transparent rectangle Pin
chandu00412-Oct-07 19:58
chandu00412-Oct-07 19:58 
GeneralRe: Draw a transparent rectangle Pin
$uresh $hanmugam12-Oct-07 22:29
$uresh $hanmugam12-Oct-07 22:29 
GeneralRe: Draw a transparent rectangle Pin
chandu00413-Oct-07 0:04
chandu00413-Oct-07 0:04 
GeneralRe: Draw a transparent rectangle Pin
Mark Salsbery13-Oct-07 7:19
Mark Salsbery13-Oct-07 7:19 
GeneralRe: Draw a transparent rectangle Pin
Mark Salsbery13-Oct-07 7:33
Mark Salsbery13-Oct-07 7:33 
AnswerRe: Draw a transparent rectangle Pin
Hamid_RT12-Oct-07 20:50
Hamid_RT12-Oct-07 20:50 
QuestionAcesssing printer Pin
Deepu Antony12-Oct-07 18:46
Deepu Antony12-Oct-07 18:46 
AnswerRe: Acesssing printer Pin
led mike12-Oct-07 19:05
led mike12-Oct-07 19:05 
AnswerRe: Acesssing printer Pin
Hamid_RT12-Oct-07 20:53
Hamid_RT12-Oct-07 20:53 
QuestionLibrary including problem Pin
ashishbhatt12-Oct-07 17:42
ashishbhatt12-Oct-07 17:42 
AnswerRe: Library including problem Pin
zakkas248312-Oct-07 18:24
zakkas248312-Oct-07 18:24 
GeneralRe: Library including problem Pin
ashishbhatt12-Oct-07 18:42
ashishbhatt12-Oct-07 18:42 
GeneralRe: Library including problem Pin
zakkas248312-Oct-07 18:58
zakkas248312-Oct-07 18:58 
Questionabout data packet Pin
Michel_Huang12-Oct-07 15:40
Michel_Huang12-Oct-07 15:40 

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.