Hi all! this one is driving me crazy!.
Got this code (assigned to a button in my form) to create a new button:
The code is working fine. However, on closing my form, and re launching...the button i've added is not there. How can i store it for when i reopen my form?Code:Dim btn As New ToolStripMenuItem(Me.tbTemplateName.Text) Form1.ProgrammeTemplatesToolStripMenuItem.DropDownItems.Add(btn) With btn .Visible = True End With Form1.TS.Visible = True
Huge thanks in advance! Help and advice is great.




Reply With Quote
