I have a VB.Net program I'm working on. I had a piece of code that would email me the results as HTML in the body of the email. At some point the program got "Stuck" and did not execute any code changes in the form load. I have since completely removed everything from the form load, however it's still executing the code that emails the results.
What would cause the program to execute code that does not exist?
The only code that exists is below. However it's still filling a dataset, and emailing me results.
Dim TodayDt As DateTime = DateTime.Today
Dim Tomorrow As DateTime = DateTime.Today.AddDays(1)
Dim TodayEnd As DateTime
TodayEnd = Tomorrow.AddSeconds(-1)
Me.datasetTableAdapter.Fill(Me.dataset.set, TodayDt, TodayEnd)
Me.ReportViewer1.Refresh()