Hey everyone. Not a lot to report today. I have almost finished the email class within our application and I have to say it is turning out pretty nice.
I hate Crystal Reports, lets be clear on this. It is a plague that has cursed the earth. But unfortunately someone wanted me to add a control to the Crystal Reports viewer toolbar on an existing application. I like to write my own custom reporting using MS Word or Excel. But we don’t get to like what we do all the time.
So here it is……make it a great day!
Private Sub DoWork(ByVal sender As System.Object, ByVal e As System.EventArgs)
MessageBox.Show("Do your code here")
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For Each ctrl As Control In CrystalReportViewer1.Controls
If TypeOf ctrl Is Windows.Forms.ToolStrip Then
Dim btnNew As New ToolStripButton
btnNew.Text = "My Button"
AddHandler ctrl.Click, AddressOf DoWork