Click here to Skip to main content
15,928,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to Load and Edit Tiff and other Image files in Visual Basic 6.0 Pin
Hesham Amin12-Mar-05 0:19
Hesham Amin12-Mar-05 0:19 
GeneralVB.Net connecting to Mysql using Crystalreport Pin
Member 174653611-Mar-05 15:37
Member 174653611-Mar-05 15:37 
GeneralBalloon Tooltip for VB.Net Pin
j1webb11-Mar-05 14:24
j1webb11-Mar-05 14:24 
GeneralRe: Balloon Tooltip for VB.Net Pin
Robert Rohde11-Mar-05 21:53
Robert Rohde11-Mar-05 21:53 
GeneralRe: Balloon Tooltip for VB.Net Pin
j45mw12-Mar-05 7:26
j45mw12-Mar-05 7:26 
GeneralRe: Balloon Tooltip for VB.Net Pin
rwestgraham12-Mar-05 11:10
rwestgraham12-Mar-05 11:10 
GeneralRe: Balloon Tooltip for VB.Net Pin
j45mw12-Mar-05 15:26
j45mw12-Mar-05 15:26 
GeneralRe: Balloon Tooltip for VB.Net Pin
j45mw12-Mar-05 15:38
j45mw12-Mar-05 15:38 
I looked at the code again and I remembered that I could not figure out what code I needed to use to make it work. I added a textbox to the Form1 and then tried to use the mouse hover event. The only success I had was the Dim tp As New BalloonTool. Then I could get any thing going from there.

This is the code I am currently using and I am just displaying a normal tooltip. But I would like to display a balloon tooltip.

Private Sub DataGrid1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles DataGrid1.MouseMove
Dim GrdX As Int32
Dim GrdY As Int32
Dim htInfo As DataGrid.HitTestInfo
Try
htInfo = Me.DataGrid1.HitTest(e.X, e.Y)

If htInfo.Column = 1 Then
Dim colCount As Int32
colCount = ds.Tables(0).Columns.Count()
Dim tipText As String = Me.DataGrid1.Item(htInfo.Row, colCount - 2).ToString() & " " & Me.DataGrid1.Item(htInfo.Row, colCount - 1).ToString()
If tipText.Length > 0 AndAlso tipText.Trim() <> "0" Then
Me.ToolTip1.SetToolTip(Me.DataGrid1, tipText)
Else
Me.ToolTip1.SetToolTip(Me.DataGrid1, "")
End If
Else
Me.ToolTip1.SetToolTip(Me.DataGrid1, "")
End If
Catch exc As Exception
End Try
End Sub

If you could help me with this, using the classes you refereneced I would really appreciate it.
GeneralRe: Balloon Tooltip for VB.Net Pin
rwestgraham12-Mar-05 18:17
rwestgraham12-Mar-05 18:17 
GeneralRe: Balloon Tooltip for VB.Net Pin
Robert Rohde12-Mar-05 20:57
Robert Rohde12-Mar-05 20:57 
GeneralRe: Balloon Tooltip for VB.Net Pin
j45mw13-Mar-05 3:28
j45mw13-Mar-05 3:28 
GeneralRe: Balloon Tooltip for VB.Net Pin
Omar Mallat15-Mar-05 3:50
professionalOmar Mallat15-Mar-05 3:50 
Generaldataset Pin
Makniteasy11-Mar-05 7:26
Makniteasy11-Mar-05 7:26 
GeneralRe: dataset Pin
Jim Matthews11-Mar-05 8:39
Jim Matthews11-Mar-05 8:39 
GeneralRe: dataset Pin
Makniteasy12-Mar-05 13:00
Makniteasy12-Mar-05 13:00 
QuestionHi how to ad other files in project? Pin
PGT11-Mar-05 3:22
PGT11-Mar-05 3:22 
GeneralTips for converting VB6 to ASP.NET Pin
Mahesh167911-Mar-05 1:37
Mahesh167911-Mar-05 1:37 
GeneralRe: Tips for converting VB6 to ASP.NET Pin
Colin Angus Mackay11-Mar-05 2:04
Colin Angus Mackay11-Mar-05 2:04 
GeneralRe: Tips for converting VB6 to ASP.NET Pin
Dave Kreskowiak11-Mar-05 3:58
mveDave Kreskowiak11-Mar-05 3:58 
GeneralRe: Tips for converting VB6 to ASP.NET Pin
Anonymous11-Mar-05 17:32
Anonymous11-Mar-05 17:32 
GeneralDataset Pin
nitin_ion10-Mar-05 23:04
nitin_ion10-Mar-05 23:04 
GeneralVb.net form Pin
eshban28410-Mar-05 19:38
eshban28410-Mar-05 19:38 
GeneralRe: Vb.net form Pin
rwestgraham11-Mar-05 9:44
rwestgraham11-Mar-05 9:44 
GeneralRe: Vb.net form Pin
H@is@here11-Mar-05 11:48
H@is@here11-Mar-05 11:48 
GeneralRe: Vb.net form Pin
rwestgraham11-Mar-05 12:24
rwestgraham11-Mar-05 12:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.