Click here to Skip to main content
15,353,587 members
Home / Discussions / C#
   

C#

 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:13
Memberanushawickramaratne11-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
MemberAmit Kumar Chikara11-Sep-06 20:46 
Questionhow to change the datetime format into numeric format in crystal reports Pin
anushawickramaratne11-Sep-06 20:10
Memberanushawickramaratne11-Sep-06 20:10 
Question.dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:04
MemberBrendan Vogt11-Sep-06 20:04 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 20:09
MemberNader Elshehabi11-Sep-06 20:09 
QuestionRe: .dll Debug and Release Folders Pin
Brendan Vogt11-Sep-06 20:43
MemberBrendan Vogt11-Sep-06 20:43 
AnswerRe: .dll Debug and Release Folders Pin
Nader Elshehabi11-Sep-06 21:12
MemberNader Elshehabi11-Sep-06 21:12 
QuestionWMI win32_product class install method. Pin
abhinish11-Sep-06 19:51
Memberabhinish11-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
MemberAB777111-Sep-06 19:20 
AnswerRe: Converting video files to flash files Pin
Nader Elshehabi11-Sep-06 19:42
MemberNader Elshehabi11-Sep-06 19:42 
GeneralRe: Converting video files to flash files Pin
AB777111-Sep-06 20:44
MemberAB777111-Sep-06 20:44 
QuestionBlueTooth [modified] Pin
Niiiissssshhhhhuuuuu11-Sep-06 17:22
MemberNiiiissssshhhhhuuuuu11-Sep-06 17:22 
AnswerRe: BlueTooth Pin
Nader Elshehabi11-Sep-06 19:33
MemberNader Elshehabi11-Sep-06 19:33 
Questioncheckedlistbox holds focus when item selected Pin
Glen Harvy11-Sep-06 16:11
MemberGlen Harvy11-Sep-06 16:11 
AnswerRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi11-Sep-06 19:31
MemberNader Elshehabi11-Sep-06 19:31 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 2:47
MemberGlen Harvy12-Sep-06 2:47 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 3:50
MemberNader Elshehabi12-Sep-06 3:50 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 4:34
MemberGlen Harvy12-Sep-06 4:34 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 7:30
MemberNader Elshehabi12-Sep-06 7:30 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 11:42
MemberGlen Harvy12-Sep-06 11:42 
GeneralRe: checkedlistbox holds focus when item selected Pin
Nader Elshehabi12-Sep-06 13:02
MemberNader Elshehabi12-Sep-06 13:02 
GeneralRe: checkedlistbox holds focus when item selected Pin
Glen Harvy12-Sep-06 21:36
MemberGlen Harvy12-Sep-06 21:36 
QuestionHelp creating "always-on-top" tool windows? Pin
Mr. Accident11-Sep-06 15:29
MemberMr. Accident11-Sep-06 15:29 
AnswerRe: Help creating "always-on-top" tool windows? Pin
Mr. Accident11-Sep-06 18:14
MemberMr. Accident11-Sep-06 18:14 
QuestionStore image in SQL database with specific size Pin
mrkeivan11-Sep-06 15:11
Membermrkeivan11-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.