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

C#

 
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 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 3:50
Nader Elshehabi12-Sep-06 3:50 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 4:34
Glen Harvy12-Sep-06 4:34 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 7:30
Nader Elshehabi12-Sep-06 7:30 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 11:42
Glen Harvy12-Sep-06 11:42 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 13:02
Nader Elshehabi12-Sep-06 13:02 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 21:36
Glen Harvy12-Sep-06 21:36 
QuestionHelp creating "always-on-top" tool windows? Pin
Mr. Accident11-Sep-06 15:29
Mr. Accident11-Sep-06 15:29 
AnswerRe: Help creating "always-on-top" tool windows? Pin
Mr. Accident11-Sep-06 18:14
Mr. Accident11-Sep-06 18:14 
QuestionStore image in SQL database with specific size Pin
mrkeivan11-Sep-06 15:11
mrkeivan11-Sep-06 15:11 

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.