Ballon Tips

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
balloon.Show();

' Hide the balloon tip
balloon.Dispose();
dawnyd01Asked:
Who is Participating?
 
HatchITCommented:
I took my whole MSDN folder that it created (including the executable VS 2005 created) and zipped it to:

http://members.optushome.com.au/johnmoe/files/MSDN.zip

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...
0
 
HatchITCommented:
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?
0
 
HatchITCommented:
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#...
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
dawnyd01Author Commented:
Still does not work, i do have vs2005.  I did download the snipits code, i actually have them.  can you try this project?
0
 
HatchITCommented:
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?
0
 
dawnyd01Author Commented:
It won't even run.  can you post the code some place for download?
0
 
HatchITCommented:
Did this help at all?  Do you need anything further?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.