I'm trying to do something very simple, I just forget how its done (I used to program when I was a teen in VB3, a lifetime ago) I am currently using VB 2010
Can someone help with VB 2010? Trying to open & manipulate external program.. I'm stuck.. lol
12
I'm trying to do something very simple, I just forget how its done (I used to program when I was a teen in VB3, a lifetime ago)
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:
I have the open notepad part right - It will open Notepad when I click the button.
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?
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:
Code:
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?
- Brandon Tanner
- [ 1 ] Thanks
- Robert Michael
- Robert Michael
- [1] reply
- Michael Westgate
- [ 1 ] Thanks
- [1] reply
- Robert Michael
- [1] reply
- Brandon Tanner
- Robert Michael
- [1] reply
- Brandon Tanner
Next Topics on Trending Feed
-
12