Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Service Pin
Xiangyang Liu 刘向阳30-Apr-03 23:36
Xiangyang Liu 刘向阳30-Apr-03 23:36 
Generalsingle view in MDI application Pin
corse30-Apr-03 19:00
corse30-Apr-03 19:00 
GeneralRe: single view in MDI application Pin
J. Dunlap30-Apr-03 21:04
J. Dunlap30-Apr-03 21:04 
GeneralCall Shell Command Pin
Amauw Scritz30-Apr-03 16:25
Amauw Scritz30-Apr-03 16:25 
GeneralRe: Call Shell Command Pin
Stephane Rodriguez.30-Apr-03 19:52
Stephane Rodriguez.30-Apr-03 19:52 
GeneralRe: Call Shell Command Pin
Andy Davey1-May-03 17:37
Andy Davey1-May-03 17:37 
GeneralRe: Call Shell Command Pin
Amauw Scritz2-May-03 20:02
Amauw Scritz2-May-03 20:02 
GeneralRe: Call Shell Command Pin
Amauw Scritz3-May-03 18:56
Amauw Scritz3-May-03 18:56 
Thanx but both the solutions gives errors.

System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at TestWindowsForms.Form1.menuItem24_Click(Object sender, EventArgs e) in d:\visual studio projects\art\testwindowsforms\form1.cs:line 661
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Yes I've check the command " Rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl, 0 " inside the Start/Run dialog in windows 2000 and it works.

But why doesn't it work when called from the program. Check with other *.cpl files as well.


Any help would be Greatly appreciated !!! Cry | :((
GeneralRe: Call Shell Command Pin
Stephane Rodriguez.3-May-03 21:04
Stephane Rodriguez.3-May-03 21:04 
GeneralCalling unmanged DLL Pin
Andy Davey30-Apr-03 14:25
Andy Davey30-Apr-03 14:25 
GeneralRe: Calling unmanged DLL Pin
Andy Davey30-Apr-03 14:50
Andy Davey30-Apr-03 14:50 
GeneralRe: Calling unmanged DLL Pin
James T. Johnson30-Apr-03 15:07
James T. Johnson30-Apr-03 15:07 
GeneralRe: Calling unmanged DLL Pin
Andy Davey30-Apr-03 15:21
Andy Davey30-Apr-03 15:21 
GeneralRe: Calling unmanged DLL Pin
James T. Johnson30-Apr-03 15:42
James T. Johnson30-Apr-03 15:42 
GeneralRe: Calling unmanged DLL Pin
leppie1-May-03 7:13
leppie1-May-03 7:13 
GeneralCreating a control from a handle Pin
leppie30-Apr-03 13:21
leppie30-Apr-03 13:21 
GeneralRe: Creating a control from a handle Pin
Stephane Rodriguez.30-Apr-03 19:48
Stephane Rodriguez.30-Apr-03 19:48 
GeneralRe: Creating a control from a handle Pin
leppie1-May-03 7:08
leppie1-May-03 7:08 
GeneralRe: Creating a control from a handle Pin
J. Dunlap1-May-03 7:14
J. Dunlap1-May-03 7:14 
GeneralRe: Creating a control from a handle Pin
Stephane Rodriguez.1-May-03 7:30
Stephane Rodriguez.1-May-03 7:30 
GeneralRe: Creating a control from a handle Pin
leppie1-May-03 8:13
leppie1-May-03 8:13 
QuestionControl?? Pin
Silverdelange30-Apr-03 11:21
sussSilverdelange30-Apr-03 11:21 
AnswerRe: Control?? Pin
Ray Hayes30-Apr-03 12:10
Ray Hayes30-Apr-03 12:10 
GeneralRe: Control?? Pin
Jon Newman2-May-03 1:56
Jon Newman2-May-03 1:56 
GeneralCool tool Pin
Kant30-Apr-03 10:34
Kant30-Apr-03 10:34 

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.