hi, can vb6 detect if the unit is connected to a router or have a connection to the net or LAN ? example: if the user is disconnected to the LAN, a msgbox will appear that the unit is not connected, if connected nothing to worry about :) same as an ATM machine, if it has connection the ATM can be used, if not the screen of the machine will be in red and has a msg on it. :) thanks for help !
jemartalaban_1
0
Light Poster
Recommended Answers
Jump to PostI tried this code and it seemed to work.
Jump to PostFor this type, you need to remove the close button on the form by changing its properties.
then to close the form, you have to place the button on the form and code it as
Private Sub button1_click() me.hide() End Sub
By Implementing this, you will …
Jump to PostOr, you could put a timer on the form that runs the same code as command1.
If the connection is lost it pops a msgbox, or changes the color of a shape object in the corner of the form. Use a module boolean variable for up or down and give …
All 11 Replies
Klahr_R
0
Newbie Poster
jemartalaban_1
0
Light Poster
ss125
18
Posting Whiz in Training
Klahr_R
0
Newbie Poster
razamughal67
0
Light Poster
chaziz
0
Newbie Poster
ss125
18
Posting Whiz in Training
DM Galaxy
-6
Junior Poster in Training
Klahr_R
0
Newbie Poster
DM Galaxy
-6
Junior Poster in Training
Klahr_R
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.