Results 1 to 6 of 6

Thread: tray baloon

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    tray baloon

    hello there,

    is anyone can help me how to make tray baloon like in chat.that whenever is online it is popup and hide for how many seconds..?..just a simple example..

    tnx\
    glen

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: tray baloon

    Add a NotifyIcon to your project. Assign it an icon. Then you can do this:

    Code:
        Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            
            NotifyIcon1.ShowBalloonTip(4000, "Warning!!", "Don't click it again.", ToolTipIcon.Warning)
    
    
        End Sub

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Re: tray baloon

    thnks 4 ur reply,

    i tried what you suggested but it does't work..showbaloontip() property of notifyicon i think it is not supported in vb2003.

  4. #4
    Frenzied Member mickey_pt's Avatar
    Join Date
    Sep 2006
    Location
    Corner of the Europe :)
    Posts
    1,959

    Re: tray baloon

    Look at this sample in C#, you can try to convert to VB with online converters...

    Sample

    [EDIT] - I think the NotifyIcon really exists MSDN

    Rate People That Helped You
    Mark Thread Resolved When Resolved

  5. #5
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: tray baloon

    Just as a side question - why not just upgrade to VS2008 or VS2010 by using the express editions?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: tray baloon

    I strongly suggest following ForumAccount's advice unless you have a specific reason for sticking with VB.NET 2003, e.g. that's what your work requires or you need a feature that VB Express doesn't offer. Otherwise you're just limiting yourself unnecessarily.

    As suggested, the functionality you seek was built into the NotifyIcon class from .NET 2.0. Prior to that there was a third-party solution available created by a developer named Hans Blomme. Since so very few people still use .NET 1.1 it has become hard to find. I searched and could find references to it but couldn't find anywhere to download it. If you must use .NET 1.1 then it might be worth your while scouring the web for it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width