So here is a quick one. I was recently developing a small application written in VB.Net and went to add a tool tip to a picture control displaying the Windows UAC Shield but found that I couldn’t. So after a litle poke around I found that I could initialise the ToolTip method and apply to the control that I wanted. The following snippet is assigning the tooltip to my picture control (in this case picShield):
Dim tt As New ToolTip() tt.SetToolTip(picShield, "Requires Administrative Privilages")
The above will then attach itself at run time to the control you specify and instance a Tool Tip for it.