Ballon Tips

Posted on 2006-04-20
Medium Priority
Last Modified: 2008-01-09
Hello, inside an application i have, i want to have a tool tip popup (its a baloon style) inside my program ontop of a control.  I want it to activate when the application starts... How can i activate this?  

I found the following page that talks about apis such as this.  But i can't get it working...
I am trying to get this working: http://msdn.microsoft.com/vcsharp/default.aspx?pull=/library/en-us/dv_vstechart/html/pinvoke.asp

Dim balloon as New Balloon();
balloon.ParentControl = this.parentTextBox;
balloon.Title = "This is the balloon title";
balloon.Text = "This is where the balloon text appears";
balloon.Icon = BalloonIcon.Info;
balloon.Alignment = BalloonAlignment. TopMiddle;
balloon.IsPositionAbsolute = true;
balloon.IsStemCentered = false;

' show the balloon tip

' Hide the balloon tip
Question by:dawnyd01
  • 5
  • 2

Expert Comment

ID: 16505186
I just had a quick look, and noticed two things that may be a problem for you:

1) The code on that page is written for VB.NET 2006.
2) You've only posted the first of about nine code snippets for that section that are all needed to make the code you posted work.  Have you used the other snippets in your application as well?

You could also try to download the sample code they've posted at http://download.microsoft.com/download/8/2/d/82d5ca1d-7174-46f9-a526-b15a8c0b728c/pinvokesamples.msi and compline that, and then try to see how it works?

Expert Comment

ID: 16505194
Grr, sorry, just noticed I said VB.NET 2006 in the last response, should have been "Visual Studio .NET 2005".  The code snippets, obviously, are written in VB and C#...

Author Comment

ID: 16507317
Still does not work, i do have vs2005.  I did download the snipits code, i actually have them.  can you try this project?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Expert Comment

ID: 16540598
Sorry for the delay, finally found our copy of VS .NET 2005.  I just opened the code that they had posted and compiled it, it ran fine and opened up the balloon sample form just fine.

What error(s) are you getting?  Is your code compiling?  If so, is the code doing anything?  Can you give more information?

Author Comment

ID: 16540617
It won't even run.  can you post the code some place for download?

Accepted Solution

HatchIT earned 180 total points
ID: 16550717
I took my whole MSDN folder that it created (including the executable VS 2005 created) and zipped it to:


The balloon tips worked (it was all I tested, since it's the only part we're worried about here).  Let me know if that helps at all...

Expert Comment

ID: 16601918
Did this help at all?  Do you need anything further?

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question