473,327 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Using tooltips in Visual Basic 2005

Hi. I am very new to VB and need some basic help. I have searched the internet for weeks trying to figure this out, and so far I haven't gotten anywhere.

How do you attach a tooltip to a button? I dragged and dropped the tooltip onto the form, and I've tried using this settooltip crap but it doesn't work. No matter what I do, when I debug I can't get the tooltip to show up when I drag the mouse over the button.

I need someone to spell this out as if talking to a 3-year-old. Where in code do I put the settooltip? Is it under the private sub for the button or for the tooltip? Better yet, my button's name is btndeterminebuoyancy, the tooltip's name is tpdeterminebuoyancy, and the form's name is frmdeterminebuoyancy; could someone just write out the code for me and tell me where to copy and paste it?

thank you

mike
Mar 2 '07 #1
3 4963
Dököll
2,364 Expert 2GB
Anyone please jump in and help Mike, I do have have VB 2005 installed...

Mike I am not familiar with VB 2005 but I'll just bet, if you look in the Command button's properties, you should be able to type up your own tool tip text:

(1)Using VB 6, you can add a tool tip by simply clicking once on your command button,

(2)Find its ToolTipText block where you should type up what you want.

I can't imagine this being any different in VB 2005, I could be wrong. Hopefully someone has an idea. I guess your properties, like VB 6.0, will be included under your View menu up above.

If that does not do it for you Mike, come-a-knockin' again and again, you are sure to get some assistance. Good luck...

Dököll
Mar 2 '07 #2
cmrhema
375 256MB
Follow microsoft kb link
http://msdn2.microsoft.com/en-us/library/47323803(vs.80).aspx
Mar 2 '07 #3
actually you dont physically attach a tooltip to a ctrl,
you would only do is to add the ctrl tooltip
then go to certain ctrl 's property then you would see the tooltip property, lets say

btn1, add a tooltip to form then right click btn1, properties, tooltip(type any txt you prefer....

hope this could help....
Mar 13 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: ME | last post by:
I can't seem to delete records using an objectdatasource. The object is a Typed Collection built by Visual Studio that access a SQL Database. When I try to delete using the ObjectDataSource it...
1
by: TyBreaker | last post by:
I have a simple form with a toolstrip on it and some toolstrip buttons. Tooltips work fine. But then I use the ShAppBarMessage API call to register the form as an Application Desktop Toolbar. ...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
4
by: sqlguy | last post by:
Why do we have to contact MS for a problem that has been with this compiler from at least the beta of VS 20005. I am so sick and tired of the 30 - 40 clicks it takes to dismiss VS when there is a...
6
by: Carol | last post by:
Hi. When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
17
by: Sven Rutten | last post by:
Hello Actually I want to add some C#-Code to a VB.NET-Project in VS 2005. Normally I creating a DLL and importing that from the VB-Project. But as I am coding something for a Smart Device...
11
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have seen the terms Visual Basic 2005 and VB.NET. It seems that sometimes they seem to be referring to the same thing but sometimes they are not. I also run into terms like VB9 and VB10.
2
by: Nathan Sokalski | last post by:
I am attempting to create icons for controls I have created using VB.NET by using the System.Drawing.ToolboxBitmap attribute. I have managed to do this in C# by specifying the path to the *.ico...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shćllîpôpď 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.