Hi, Everybody.
I need to reload the form of my application. The application has only one form vb.net 2005.
I need a button that will call the page_load event so I can restart and reload all my settings.
basically I need to call the Sub private Page_load event().
I just need to force the reloading of the form without having to close it and reopen it.
This is the code which I need to reload:
Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
For Each URLname As String In My.Settings.URLtoTrackCollection
URLtoTrack.Add(URLname)
ListBox1.Items.Add(URLname)
Timer2.Start()
Next
For Each item As String In My.Settings.ListboxCollection
ListBox2.Items.Add(item)
ListBox2.Items.Add(System.DateTime.Now)
Any help will be greatly appreciated.
Thanks in advance.