Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
QuestionCode Error! Pin
Shahzad.Aslam11-Sep-06 21:23
Shahzad.Aslam11-Sep-06 21:23 
Questionhighlight search text from search results as it is in google or alibaba.com. Pin
S.Bhushan11-Sep-06 21:05
S.Bhushan11-Sep-06 21:05 
Questioncustomizing shortcut keys... Pin
Rohit Dev11-Sep-06 20:38
Rohit Dev11-Sep-06 20:38 
AnswerRe: customizing shortcut keys... Pin
Amit Kumar Chikara11-Sep-06 20:53
Amit Kumar Chikara11-Sep-06 20:53 
AnswerRe: customizing shortcut keys... Pin
Stefan Troschuetz12-Sep-06 2:58
Stefan Troschuetz12-Sep-06 2:58 
QuestionHow to convert XML data to DataSet in C#.Net Pin
AR Reddy11-Sep-06 20:15
AR Reddy11-Sep-06 20:15 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
_AK_11-Sep-06 20:28
_AK_11-Sep-06 20:28 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
Tamimi - Code11-Sep-06 20:30
Tamimi - Code11-Sep-06 20:30 
AnswerRe: How to convert XML data to DataSet in C#.Net Pin
Hamid_RT11-Sep-06 20:37
Hamid_RT11-Sep-06 20:37 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:13
anushawickramaratne11-Sep-06 20:13 
AnswerRe: how to change the datetime format into numeric format in crystal reports Pin
Amit Kumar Chikara11-Sep-06 20:46
Amit Kumar Chikara11-Sep-06 20:46 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:10
anushawickramaratne11-Sep-06 20:10 
Question.dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:04
Brendan Vogt11-Sep-06 20:04 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 20:09
Nader Elshehabi11-Sep-06 20:09 
QuestionRe: .dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:43
Brendan Vogt11-Sep-06 20:43 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 21:12
Nader Elshehabi11-Sep-06 21:12 
QuestionWMI win32_product class install method. Pin
abhinish11-Sep-06 19:51
abhinish11-Sep-06 19:51 
hi guys !

need some help.

im developing an enterprize deployment appplication which install client softwares on remote machines in a LAN . I m using WMI win32_product class's install() Method for this..

the problem is

i want to create a installation log file for the installed software on client machine ..

.. how can i do this install() method

sample code:




ConnectionOptions options = new ConnectionOptions();

          ManagementScope scope = new ManagementScope("\\\\" + sRemoteMachine + "\\root\\cimv2", options);
          scope.Connect();
          ManagementPath mp = new ManagementPath("Win32_Product");

          ManagementClass classInstance = new ManagementClass(scope, mp, null);

          // Obtain in-parameters for the method

          ManagementBaseObject inParams =  classInstance.GetMethodParameters("Install");

           inParams["AllUsers"] = true;
          //inParams["Options"] = installationParameters;  // problem lies here
          inParams["PackageLocation"] = sourceFilePath ;  //source file must be on the remote machine


          // Execute the method and obtain the return values.

          ManagementBaseObject outParams =  classInstance.InvokeMethod("Install", inParams, null);



how to options[] param for creating the log file .. or any other method..



abhinav

QuestionConverting video files to flash files Pin
AB777111-Sep-06 19:20
AB777111-Sep-06 19:20 
AnswerRe: Converting video files to flash files Pin
Nader Elshehabi11-Sep-06 19:42
Nader Elshehabi11-Sep-06 19:42 
GeneralRe: Converting video files to flash files Pin
AB777111-Sep-06 20:44
AB777111-Sep-06 20:44 
QuestionBlueTooth [modified] Pin
Niiiissssshhhhhuuuuu11-Sep-06 17:22
Niiiissssshhhhhuuuuu11-Sep-06 17:22 
AnswerRe: BlueTooth Pin
Nader Elshehabi11-Sep-06 19:33
Nader Elshehabi11-Sep-06 19:33 
Questioncheckedlistbox holds focus when item selected Pin
Glen Harvy11-Sep-06 16:11
Glen Harvy11-Sep-06 16:11 
AnswerRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi11-Sep-06 19:31
Nader Elshehabi11-Sep-06 19:31 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 2:47
Glen Harvy12-Sep-06 2: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.