Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
Questiongettting table name Pin
saqib8211-Oct-06 22:33
saqib8211-Oct-06 22:33 
AnswerRe: gettting table name Pin
AETaylor11-Oct-06 22:37
AETaylor11-Oct-06 22:37 
AnswerRe: gettting table name Pin
Bright Zhang11-Oct-06 23:16
Bright Zhang11-Oct-06 23:16 
AnswerRe: gettting table name Pin
quiteSmart12-Oct-06 2:25
quiteSmart12-Oct-06 2:25 
Questionhow to create webboard for c# Pin
isis_preaw11-Oct-06 22:29
isis_preaw11-Oct-06 22:29 
QuestionEntering Next Character in the Text Box using VB 6 Pin
ghelai_cute11-Oct-06 22:28
ghelai_cute11-Oct-06 22:28 
AnswerRe: Entering Next Character in the Text Box using VB 6 Pin
mav.northwind12-Oct-06 10:23
mav.northwind12-Oct-06 10:23 
QuestionWMI enabl disable in c# Pin
Tauseef A11-Oct-06 22:26
Tauseef A11-Oct-06 22:26 
hi guys i am trying to disable my lan adapter card and again enable it ,,

i am using WMI and the following code ,, but i am getting an exception

"The method is not implemented by any class" why is that ? and how to resolve this issue ,,, can any help me please,,,
=========================
ObjectQuery oQuery = new System.Management.ObjectQuery("Select * from Win32_networkadapter")
string[] o = new string[1];
ManagementObjectSearcher oSearcher = new ManagementObjectSearcher(oQuery);
ManagementObjectCollection oReturnCollection = oSearcher.Get();
foreach (ManagementObject oReturn in oReturnCollection)
{
Console.WriteLine(oReturn["macaddress"].ToString().ToLower());
oReturn.InvokeMethod("disable",(object[])o);

i also use the same code with the statement
oReturn.InvokeMethod("enable",(object[])o);
====================

}

please help me out


thanks in advance

hello
QuestionGood book referance on User Controls Design Pin
eyalRF11-Oct-06 22:19
eyalRF11-Oct-06 22:19 
GeneralRe: Good book referance on User Controls Design Pin
Bright Zhang11-Oct-06 23:19
Bright Zhang11-Oct-06 23:19 
GeneralRe: Good book referance on User Controls Design Pin
Berlus12-Oct-06 6:46
Berlus12-Oct-06 6:46 
QuestionglutBitmapCharacter / glutBitmapString crash [modified] Pin
Anti-Distinctlyminty11-Oct-06 22:16
Anti-Distinctlyminty11-Oct-06 22:16 
AnswerRe: glutBitmapCharacter / glutBitmapString crash Pin
emdstyle15-Feb-10 6:25
emdstyle15-Feb-10 6:25 
Questionthe bug of datetimepicker control? Pin
Bright Zhang11-Oct-06 22:09
Bright Zhang11-Oct-06 22:09 
AnswerRe: the bug of datetimepicker control? Pin
Stefan Troschuetz11-Oct-06 23:06
Stefan Troschuetz11-Oct-06 23:06 
GeneralRe: the bug of datetimepicker control? Pin
Bright Zhang11-Oct-06 23:15
Bright Zhang11-Oct-06 23:15 
QuestionC# User Controls Pin
eyalRF11-Oct-06 22:00
eyalRF11-Oct-06 22:00 
AnswerRe: C# User Controls Pin
Bright Zhang11-Oct-06 23:22
Bright Zhang11-Oct-06 23:22 
QuestionEvent handler. Pin
Mandaar Kulkarni11-Oct-06 21:43
Mandaar Kulkarni11-Oct-06 21:43 
AnswerRe: Event handler. Pin
drabiger11-Oct-06 21:47
drabiger11-Oct-06 21:47 
GeneralRe: Event handler. Pin
Mandaar Kulkarni11-Oct-06 22:04
Mandaar Kulkarni11-Oct-06 22:04 
GeneralRe: Event handler. Pin
Mandaar Kulkarni11-Oct-06 22:04
Mandaar Kulkarni11-Oct-06 22:04 
GeneralRe: Event handler. Pin
drabiger12-Oct-06 20:11
drabiger12-Oct-06 20:11 
QuestionResetting Floating-Point Control Pin
myNameIsRon11-Oct-06 21:15
myNameIsRon11-Oct-06 21:15 
QuestionDynamic Casting Pin
Mazdak11-Oct-06 21:08
Mazdak11-Oct-06 21:08 

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.