Thursday, July 30, 2009

I am using visual basic and i have a button on my form and i want to program the button to open notepad?

I am using visual basic and i have a button on my form and i want to program the button to open notepad when clicked in a seperate window. what would that code be?

I am using visual basic and i have a button on my form and i want to program the button to open notepad?
double click button


add the following code





Private Sub Command1_Click()


Shell notepad, vbNormalFocus


End Sub








thats it u r done run click on button 2 see result


No comments:

Post a Comment