Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim procID As Integer
procID = Shell("C:\pepsiZone\Sistema\pepsiZoneOF.exe", AppWinStyle.NormalFocus, Wait:=True)
End Sub
I made a VB form with a simple button that calls a compiled GUI app through the Shell commandThi is not a general programming forum and not even a VB forum. You violate our forum rules therefore so this topic gets locked.CodePrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim procID As Integer
procID = Shell("C:\pepsiZone\Sistema\pepsiZoneOF.exe", AppWinStyle.NormalFocus, Wait:=True)
End Sub