I am currently using VB 2010
So, for example, I want to have a button that when it is clicked, it will open Notepad, and then it will click the "File" menu, and then click on "New"
How would I do this?
Here is what I have so far:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Process.Start("C:windowssystem32notepad.exe") End Sub
I just need to figure out how to make it select one of the menu items & then one of the choices from that menu.
Like the "File > New" example I posted above.
Can someone help please?