Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: drag window wothout titlebar Pin
Alvaro Mendez11-Nov-03 7:45
Alvaro Mendez11-Nov-03 7:45 
GeneralRe: drag window wothout titlebar Pin
Judah Gabriel Himango11-Nov-03 10:27
sponsorJudah Gabriel Himango11-Nov-03 10:27 
GeneralReading a used file Pin
j-hannemann11-Nov-03 6:16
j-hannemann11-Nov-03 6:16 
GeneralRe: Reading a used file Pin
Eric Gunnerson (msft)11-Nov-03 13:54
Eric Gunnerson (msft)11-Nov-03 13:54 
GeneralRe: Reading a used file Pin
j-hannemann11-Nov-03 23:58
j-hannemann11-Nov-03 23:58 
GeneralRe: Reading a used file Pin
Eric Gunnerson (msft)12-Nov-03 11:36
Eric Gunnerson (msft)12-Nov-03 11:36 
GeneralRe: Reading a used file Pin
j-hannemann12-Nov-03 21:16
j-hannemann12-Nov-03 21:16 
Generalproblems when copying an wmi object Pin
wfettich11-Nov-03 5:20
wfettich11-Nov-03 5:20 
What's wrong with this code?

I'm trying to create a new Win32_NetworkAdapterConfiguration object using

C# and copy an older object into it. I get the "Provider is not capable

of the attempted operation" exception at the CopyTo


path = "Win32_NetworkAdapterConfiguration=1";
ManagementObject MyOldConf = new ManagementObject(path);
MyOldConf.Get();
path = "Win32_NetworkAdapterConfiguration";
ManagementClass MyClass = new ManagementClass(path);
MyClass.Get();
ManagementObject MyNewConf = MyClass.CreateInstance();
MyClass.Put();
tr("MyNewConf "+ MyNewConf.ToString());

MyOldConf.CopyTo(MyNewConf.Path); //ERROR!!!
Console.WriteLine("new conf : " + MyNewConf["Description"]);
GeneralNeed no setup... Pin
Amirjalaly11-Nov-03 4:56
Amirjalaly11-Nov-03 4:56 
GeneralRe: Need no setup... Pin
Judah Gabriel Himango11-Nov-03 5:11
sponsorJudah Gabriel Himango11-Nov-03 5:11 
GeneralRe: Need no setup... Pin
Heath Stewart11-Nov-03 7:06
protectorHeath Stewart11-Nov-03 7:06 
QuestionHow to customize the printPreviewDialog? Pin
Member 67887511-Nov-03 4:39
Member 67887511-Nov-03 4:39 
AnswerRe: How to customize the printPreviewDialog? Pin
Heath Stewart11-Nov-03 7:00
protectorHeath Stewart11-Nov-03 7:00 
Generalprotect my program Pin
eafares26511-Nov-03 3:56
eafares26511-Nov-03 3:56 
GeneralRe: protect my program Pin
Heath Stewart11-Nov-03 6:57
protectorHeath Stewart11-Nov-03 6:57 
Generalextended procedure for sql server Pin
mhmoud rawas11-Nov-03 1:20
mhmoud rawas11-Nov-03 1:20 
GeneralRe: extended procedure for sql server Pin
Heath Stewart11-Nov-03 3:10
protectorHeath Stewart11-Nov-03 3:10 
GeneralRe: extended procedure for sql server Pin
mhmoud rawas11-Nov-03 18:43
mhmoud rawas11-Nov-03 18:43 
GeneralRe: extended procedure for sql server Pin
Heath Stewart11-Nov-03 18:55
protectorHeath Stewart11-Nov-03 18:55 
GeneralRe: extended procedure for sql server Pin
Heath Stewart11-Nov-03 3:12
protectorHeath Stewart11-Nov-03 3:12 
GeneralRight to left problem Pin
Mohaqeq200211-Nov-03 0:41
sussMohaqeq200211-Nov-03 0:41 
GeneralRe: Right to left problem Pin
Heath Stewart11-Nov-03 3:19
protectorHeath Stewart11-Nov-03 3:19 
QuestionIs MS Access transaction-aware? Pin
CillyMe10-Nov-03 23:53
CillyMe10-Nov-03 23:53 
AnswerRe: Is MS Access transaction-aware? Pin
Hesham Amin11-Nov-03 0:41
Hesham Amin11-Nov-03 0:41 
GeneralRe: Is MS Access transaction-aware? Pin
CillyMe11-Nov-03 2:02
CillyMe11-Nov-03 2:02 

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.