Click here to Skip to main content
15,914,413 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralScanning documents with VB.Net Pin
James Williams29-Aug-02 7:05
James Williams29-Aug-02 7:05 
GeneralNA Pin
reddy12398729-Aug-02 8:59
reddy12398729-Aug-02 8:59 
GeneralRe: Scanning documents with VB.Net Pin
James Williams3-Sep-02 7:31
James Williams3-Sep-02 7:31 
Generalelapse with time!! Pin
drmzunlimited29-Aug-02 2:19
drmzunlimited29-Aug-02 2:19 
GeneralRe: elapse with time!! Pin
Lasse1-Sep-02 8:17
Lasse1-Sep-02 8:17 
Generalerror while trying to create a random text display Pin
sukino28-Aug-02 19:34
sukino28-Aug-02 19:34 
GeneralRe: error while trying to create a random text display Pin
Lasse29-Aug-02 8:43
Lasse29-Aug-02 8:43 
GeneralSystem.Windows.Forms.SystemInformation Pin
Ray Cassick28-Aug-02 17:34
Ray Cassick28-Aug-02 17:34 
Ok, maybe I am dumb here but I am trying to detect if my computer is connected to the network.

I spend about 15 minutes going through the docs and I find the System.Windows.Forms.SystemInformation class with Network property. Seems all too easy...

I do the following:
<br />
  Dim NetInfo As System.Windows.Forms.SystemInformation<br />
<br />
  If NetInfo.Network = True Then<br />
     pnlIndicator.BackColor = Color.Green<br />
<br />
  Else<br />
     pnlIndicator.BackColor = Color.Red<br />
<br />
  End If<br />

...and I figure, heay great, I should get a green panel when I have my net cable plugged in and it should go read when my cable gets unplugged (I placed this code into a timer tic event hander).

NOPE. Does not seem to do anything...

Anyone have any darn ideas?
GeneralRe: System.Windows.Forms.SystemInformation Pin
Paul Riley28-Aug-02 18:55
Paul Riley28-Aug-02 18:55 
GeneralRe: System.Windows.Forms.SystemInformation Pin
Ray Cassick28-Aug-02 19:08
Ray Cassick28-Aug-02 19:08 
GeneralRe: System.Windows.Forms.SystemInformation Pin
Paul Riley28-Aug-02 19:11
Paul Riley28-Aug-02 19:11 
GeneralRe: System.Windows.Forms.SystemInformation Pin
Anonymous26-Sep-02 7:14
Anonymous26-Sep-02 7:14 
Generalvb - loading dlls Pin
Anonymous28-Aug-02 5:29
Anonymous28-Aug-02 5:29 
GeneralRe: vb - loading dlls Pin
Nick Parker30-Aug-02 8:47
protectorNick Parker30-Aug-02 8:47 
GeneralModem Hook Again... Pin
_RoCKeT_27-Aug-02 10:11
_RoCKeT_27-Aug-02 10:11 
Generalvb.net messenger Pin
Anonymous27-Aug-02 10:08
Anonymous27-Aug-02 10:08 
GeneralRe: vb.net messenger Pin
Gautam Panemangalore27-Aug-02 21:09
Gautam Panemangalore27-Aug-02 21:09 
GeneralColour key words in an RTF box Pin
1.21 Gigawatts27-Aug-02 4:15
1.21 Gigawatts27-Aug-02 4:15 
GeneralRe: Colour key words in an RTF box Pin
Lasse27-Aug-02 6:36
Lasse27-Aug-02 6:36 
GeneralRe: Colour key words in an RTF box Pin
Ray Cassick27-Aug-02 12:18
Ray Cassick27-Aug-02 12:18 
QuestionCan use VB.Net and Crystal Report 8.5 ? Pin
Member 337723426-Aug-02 22:59
Member 337723426-Aug-02 22:59 
GeneralGet computer name in VB6 Pin
Rulle26-Aug-02 21:59
Rulle26-Aug-02 21:59 
GeneralRe: Get computer name in VB6 Pin
Anonymous27-Aug-02 6:28
Anonymous27-Aug-02 6:28 
GeneralRe: Get computer name in VB6 Pin
Nick Parker27-Aug-02 8:04
protectorNick Parker27-Aug-02 8:04 
GeneralRe: Get computer name in VB6 (simpler) Pin
Gautam Panemangalore27-Aug-02 18:47
Gautam Panemangalore27-Aug-02 18:47 

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.