Hi
I made a VB form with a simple button that calls a compiled GUI app through the Shell command
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
however it keeps crashing...
If i complie the project with as a console application it works fine
any suggestions?
Quote from: alecs on January 11, 2010, 05:18:45 AM
I made a VB form with a simple button that calls a compiled GUI app through the Shell command
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
Thi is not a general programming forum and not even a VB forum. You violate our forum rules therefore so this topic gets locked.