-
Aug 17th, 2009, 04:53 AM
#1
Thread Starter
Addicted Member
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
-
Aug 17th, 2009, 09:07 AM
#2
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
-
Aug 17th, 2009, 06:52 PM
#3
Thread Starter
Addicted Member
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.
-
Aug 17th, 2009, 07:02 PM
#4
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
-
Aug 17th, 2009, 07:04 PM
#5
Re: tray baloon
Just as a side question - why not just upgrade to VS2008 or VS2010 by using the express editions?
-
Aug 18th, 2009, 03:16 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|