Trying to code a simple exit application thru a command button using visual basic.net. Can't find the proper code to execute properly. Any help would be much appreciated, relatively new to VB.net & infoapth. Have a VB6 background. Need a good code resource for using vb.net with infopath, any suggestions? Thanks, Kip.
Here's my Command button:
' The following function handler is created by Microsoft Office InfoPath. Do not
' modify the type or number of arguments.
<InfoPathEventHandler(MatchPath:="CTRL122_7", EventType:=InfoPathEventType.OnClick)> _
Public Sub CTRL122_7_OnClick(ByVal e As DocActionEvent)
Unload app
End Sub
End Class