'button "go" and the associated actions and checks involved
Sub GobuttonClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles gobutton.Click
If program1.Checked = True Then
ExtProgRun()
End If
If tuneup.Checked = True Then...
I thought I mentioned, it's being called from the action of a button, on click. Sorry for not getting much of a chance to get on here lately and post any updates... i haven't had time to code, working OT and the likes has shortened my coding time :-/
cjard,
Well, I thought so too but i commented that out in one of my attempts... so it was just the basic process setup like mentioned above, still opens more than once... it just doesn't add up :-/
Well, actually, I just found out apparently it is coming from the use of the "WaitForExit" command... i commented it out and it worked fine except that it openned program2 obviously right after program1 loaded instead of finished. Any easier way to solve this perhaps?
The variable I was talking about i deleted, i just mentioned it to point out that the code is somehow repeating. I did change the function to a sub, it hadn't even hit me till you mentioned that. The problem still seems to remain though. :-/
I'm having a bit of a challenge... I'm a little new to VB.net as I've always used VB6 in the past but a few things have changed obviously. I'm trying to make my program open two external programs, one after the other. The code did so until I added the WaitForInputIdle and SendWait commands(I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.