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

C#

 
AnswerRe: Is there a Form.Shown Event equivalent in .Net 1.1? Pin
kubben27-Feb-07 5:36
kubben27-Feb-07 5:36 
GeneralRe: Is there a Form.Shown Event equivalent in .Net 1.1? Pin
Zoltan Balazs27-Feb-07 5:48
Zoltan Balazs27-Feb-07 5:48 
GeneralRe: Is there a Form.Shown Event equivalent in .Net 1.1? Pin
kubben27-Feb-07 6:01
kubben27-Feb-07 6:01 
GeneralRe: Is there a Form.Shown Event equivalent in .Net 1.1? Pin
Zoltan Balazs27-Feb-07 6:03
Zoltan Balazs27-Feb-07 6:03 
GeneralRe: Is there a Form.Shown Event equivalent in .Net 1.1? Pin
kubben27-Feb-07 6:30
kubben27-Feb-07 6:30 
QuestionRemoting, Sockets, .... [modified] Pin
Saaaaz27-Feb-07 5:14
Saaaaz27-Feb-07 5:14 
AnswerRe: Remoting, Sockets, .... Pin
originSH27-Feb-07 6:20
originSH27-Feb-07 6:20 
GeneralRe: Remoting, Sockets, .... Pin
Saaaaz28-Feb-07 3:24
Saaaaz28-Feb-07 3:24 
This looks like to be some thing that I actually need:

ConnectionOptions objConnectionOptions = new ConnectionOptions();
objConnectionOptions.Impersonation = ImpersonationLevel.Impersonate;
objConnectionOptions.EnablePrivileges = true;
objConnectionOptions.Username = strUserName;
objConnectionOptions.Password = strPassword;
ManagementScope objManagementScope = new ManagementScope(@"\\remote-machine-name\ROOT\CIMV2", objConnectionOptions);
objManagementScope.Connect();

ManagementClass processClassFinal = new ManagementClass(objManagementScope, new ManagementPath("Win32_Process"), null);
ManagementBaseObject inParamsFinal = processClassFinal.GetMethodParameters("Create");
inParamsFinal["CommandLine"] = @"\\remote-machine-name\some-directory\someProgram.exe";

ManagementBaseObject outParamsFinal = processClassFinal.InvokeMethod("Create", inParamsFinal, null);


But for some reason it does not work and I don't know why???????


outParamsFinal["processId"] returns null, instead of a valid processId.

Is there any one who could help me in that..............

Thanks

Sarfraz
QuestionWhat is the best solution for store html/javascripts Pin
Scripter4727-Feb-07 5:03
Scripter4727-Feb-07 5:03 
AnswerRe: What is the best solution for store html/javascripts Pin
Not Active27-Feb-07 5:10
mentorNot Active27-Feb-07 5:10 
QuestionRe: What is the best solution for store html/javascripts Pin
Scripter4727-Feb-07 5:24
Scripter4727-Feb-07 5:24 
AnswerRe: What is the best solution for store html/javascripts Pin
Not Active27-Feb-07 5:46
mentorNot Active27-Feb-07 5:46 
QuestionRe: What is the best solution for store html/javascripts Pin
Scripter4727-Feb-07 5:51
Scripter4727-Feb-07 5:51 
AnswerRe: What is the best solution for store html/javascripts Pin
Not Active27-Feb-07 6:13
mentorNot Active27-Feb-07 6:13 
QuestionRe: What is the best solution for store html/javascripts Pin
Scripter4727-Feb-07 7:14
Scripter4727-Feb-07 7:14 
AnswerRe: What is the best solution for store html/javascripts Pin
Not Active27-Feb-07 7:46
mentorNot Active27-Feb-07 7:46 
GeneralRe: What is the best solution for store html/javascripts Pin
Scripter4727-Feb-07 8:05
Scripter4727-Feb-07 8:05 
AnswerRe: What is the best solution for store html/javascripts Pin
mike montagne27-Feb-07 10:49
mike montagne27-Feb-07 10:49 
GeneralRe: What is the best solution for store html/javascripts Pin
Scripter4728-Feb-07 2:59
Scripter4728-Feb-07 2:59 
GeneralRe: What is the best solution for store html/javascripts Pin
mike montagne28-Feb-07 5:59
mike montagne28-Feb-07 5:59 
QuestionReading an open file. Pin
eggsovereasy27-Feb-07 4:56
eggsovereasy27-Feb-07 4:56 
AnswerRe: Reading an open file. Pin
Not Active27-Feb-07 5:18
mentorNot Active27-Feb-07 5:18 
GeneralRe: Reading an open file. Pin
eggsovereasy27-Feb-07 5:31
eggsovereasy27-Feb-07 5:31 
AnswerRe: Reading an open file. Pin
lost in transition 27-Feb-07 5:44
lost in transition 27-Feb-07 5:44 
GeneralRe: Reading an open file. Pin
eggsovereasy27-Feb-07 5:55
eggsovereasy27-Feb-07 5:55 

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.