David Ball
Registered User.
- Local time
- Tomorrow, 03:16
- Joined
- Aug 9, 2010
- Messages
- 230
Hi,
I want to open the Calculator by clicking a command button (using the On Click event).
I have tried the code below but can’t get it working. What do I need to change?
Private Sub Command7_Click()
Dim RetVal As Integer
RetVal = Shell("C:\Windows\calc.exe", 1)
End Sub
Thanks very much
Dave
I want to open the Calculator by clicking a command button (using the On Click event).
I have tried the code below but can’t get it working. What do I need to change?
Private Sub Command7_Click()
Dim RetVal As Integer
RetVal = Shell("C:\Windows\calc.exe", 1)
End Sub
Thanks very much
Dave