Click here to Skip to main content
15,914,074 members
Home / Discussions / C#
   

C#

 
GeneralRe: turning on console... Pin
Philip Fitzsimons23-Jan-03 2:51
Philip Fitzsimons23-Jan-03 2:51 
GeneralRe: turning on console... Pin
jtmtv1823-Jan-03 6:26
jtmtv1823-Jan-03 6:26 
GeneralParsing Word document in C# Pin
Vin Kamat22-Jan-03 23:45
Vin Kamat22-Jan-03 23:45 
GeneralRe: Parsing Word document in C# Pin
Stephane Rodriguez.23-Jan-03 2:35
Stephane Rodriguez.23-Jan-03 2:35 
GeneralC# integration with FLEX Pin
anjana22-Jan-03 22:53
anjana22-Jan-03 22:53 
Generaldifference between Web and win form controls Pin
Member 58691322-Jan-03 21:58
Member 58691322-Jan-03 21:58 
GeneralRe: difference between Web and win form controls Pin
Stephane Rodriguez.23-Jan-03 2:01
Stephane Rodriguez.23-Jan-03 2:01 
GeneralRe: difference between Web and win form controls Pin
TigerNinja_23-Jan-03 7:20
TigerNinja_23-Jan-03 7:20 
GeneralRe: difference between Web and win form controls Pin
Stephane Rodriguez.23-Jan-03 8:24
Stephane Rodriguez.23-Jan-03 8:24 
GeneralMessageLoop... Pin
gekoscan22-Jan-03 21:31
gekoscan22-Jan-03 21:31 
GeneralRe: MessageLoop... Pin
Stephane Rodriguez.23-Jan-03 2:36
Stephane Rodriguez.23-Jan-03 2:36 
GeneralRe: MessageLoop... Pin
David Stone23-Jan-03 7:02
sitebuilderDavid Stone23-Jan-03 7:02 
QuestionProperties and objects (question about speed)? Pin
jinz22-Jan-03 20:44
jinz22-Jan-03 20:44 
AnswerRe: Properties and objects (question about speed)? Pin
Daniel Turini23-Jan-03 1:13
Daniel Turini23-Jan-03 1:13 
QuestionSSH From C# classes? Pin
cwkingjr22-Jan-03 17:57
cwkingjr22-Jan-03 17:57 
AnswerRe: SSH From C# classes? Pin
David Stone22-Jan-03 18:33
sitebuilderDavid Stone22-Jan-03 18:33 
GeneralC# arrays Pin
Nick Blumhardt22-Jan-03 17:26
Nick Blumhardt22-Jan-03 17:26 
GeneralRe: C# arrays Pin
Nick Blumhardt22-Jan-03 20:36
Nick Blumhardt22-Jan-03 20:36 
GeneralWMI and C# Pin
Bo Hunter22-Jan-03 14:29
Bo Hunter22-Jan-03 14:29 
GeneralRe: WMI and C# Pin
David Stone22-Jan-03 18:38
sitebuilderDavid Stone22-Jan-03 18:38 
GeneralRe: WMI and C# Pin
thematt23-Jan-03 11:02
thematt23-Jan-03 11:02 
I am assuming you are using WMI to get the network status. The problem you may be that certain adapters do not have an actual instance when you check the status. For example the WAN Miniport (PPTP) will not have a status all the time (if it does at all). WHen you loop through your ManagementCollection you will get a NullReferenceException -
Bo Hunter wrote:
object ref not set to an instance

object ref not set to an instance. To get around this you should catch the error, or narrow your WQL. If there is a certain adapter you are checking for let me know. I will post some code. I hope this is along the lines of what you are after.

Matt is a network administrator for an insurance company in the midwest. He is shamelessly looking for Windows programming side work.
GeneralGetting current assembly path Pin
Luis Alonso Ramos22-Jan-03 9:12
Luis Alonso Ramos22-Jan-03 9:12 
GeneralRe: Getting current assembly path Pin
David Stone22-Jan-03 9:36
sitebuilderDavid Stone22-Jan-03 9:36 
GeneralRe: Getting current assembly path Pin
Luis Alonso Ramos22-Jan-03 9:57
Luis Alonso Ramos22-Jan-03 9:57 
GeneralSystems Analysis and Design Pin
Jassim Rahma22-Jan-03 6:38
Jassim Rahma22-Jan-03 6:38 

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.