Open Calculator
-
Hi, I have a window form call Form1. I want to create a button that can open calculator in form1. after i open the calculator, it will disable the form1. when i close th calculator, it will enabled form1 back. My problem is i cant disable the form1...anyone know the solution pls help..
process.start("calc.exe")
i use this code to open the calculator. -
Hi, I have a window form call Form1. I want to create a button that can open calculator in form1. after i open the calculator, it will disable the form1. when i close th calculator, it will enabled form1 back. My problem is i cant disable the form1...anyone know the solution pls help..
process.start("calc.exe")
i use this code to open the calculator.Your code should look something like this: Dim devenvProccess As Process = New Process() devenvProccess.StartInfo.FileName = "calc.exe" devenvProccess.Start() Me.Enabled = False devenvProccess.WaitForExit() Me.Enabled = True
-------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
Your code should look something like this: Dim devenvProccess As Process = New Process() devenvProccess.StartInfo.FileName = "calc.exe" devenvProccess.Start() Me.Enabled = False devenvProccess.WaitForExit() Me.Enabled = True
-------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!