I must be doing something wrong. The buttons show in the row correctly but when I click one, the program shuts down. I have attached a click event to the button and the event fires, but once the event is done, the program just ends. Here is the code:
AddHandler btn.Click, AddressOf MailMergeButton
Private Sub MailMergeButton(ByVal sender As Object, ByVal e As EventArgs)
Dim mailmergeForm As New frmMailMerge
After the form closes, the entire program shuts down.
Any help would be greatly appreciated!
Imported from legacy forums. Posted by twlichty (had 5035 views)