Sorry, another view, but the best I can offer is another question,
what to heck is a .rar file?
Oh, BTW it's "balloon"
"The wise man doesn't know all the answers, but he knows where to find them."
VBForums is one place, but for the really important stuff ... here's a clue 1Tim3:15
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
BTW, abu rahma... I won't run any OCX if I don't know what it is. Besides, I don't need to run it, so why should I risk work's computer?
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Ok, I'll try to make it clearer. I won't execute an OCX. I don't even know what it does. If I really needed an OCX that do some thing I would consider if I should install it and try it. But I won't install and try an OCX... just because.
Sorry, chances are you won't get much answers / suggestions.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Do you wish the Balloon to appear when -
- Pgm sends instruction to show it, and user can click to close it ?
- When user clicks the Icon(in SysTray) ?
- When user moves mouse over the Icon (and it then disappears somehow) ?
i wanna the ballon appear when program sends instruction to show it and make user be able to close it
for example i wanna when minimize the window to the system tray the ballon appear down(on the system tray) with a message notify that the program is still runing
I've created an OCX and test form based on his Mark Mokoski's project. Have a look at the code's (Full source code provided) and let me know what you think.
Last edited by Mc Brain; May 2nd, 2005 at 04:04 PM.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
I've created an OCX and test form based on his Mark Mokoski's project
Hi,
I like to keep my projects simple.
I have never used VBGs(Project groups).
And I prefer not to be installing controls.
However I love the concept of user controls (CTLs).
What would I have to change in your code, to just have a VBP with the CTL included in that project ?
Hi,
I like to keep my projects simple.
I have never used VBGs(Project groups).
And I prefer not to be installing controls.
However I love the concept of user controls (CTLs).
What would I have to change in your code, to just have a VBP with the CTL included in that project ?
Thanks
Just include the ctl file into your project. You should need to comment the About lines also... unless you also include the FormAbout.frm so that those lines don't raise any error. I've created it as an usercontrol because I found no way to create a timer on a class module... which was my first approach until I decided to move forward. If you need further help to having the usercontrol "embedded" in your project... just ask.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
By the way, at work's computer (Win XP) I cannot queue multiple balloons. Each time I Popup a new balloon, the previous is removed and the new one is shown.
However, at home (W2K), I can queue as many balloons as I want and the system would show the next balloon whenever I click on it.
Another difference: On XP I can get a balloon with the GUID icon (instead of info, warning or error) , but on W2K does not show any icon.
Does anybody else see these behaviour?
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
How about an answer 'from the horses mouth' ?
I had been previously in touch with Mark (the author of the code).
Seems to be a pretty decent guy.
I have sent him a link to this thread.
How about an answer 'from the horses mouth' ?
I had been previously in touch with Mark (the author of the code).
Seems to be a pretty decent guy.
I have sent him a link to this thread.
You should also add the cError.cls file as well. But, I guess you've figured that out already. Sorry... I didn't remember about this "object".
Let's hope Mark has any answer for these "issues".
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
As of Windows XP Service Pack 2 (SP2), a custom icon can be displayed in the notification balloon. This allows the caller to customize the notification beyond the previously available options of info, warning, and error, and distinguish it in the user's eye from other types of notification.
This answer one of my questions. I can't still queue the balloons.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Thanks for the info... but, now, I have an extra question for you. It says that if Shell_NotifyIcon fails, you can get the last error by calling the GetLastError API. If I remove the icon from the systray and force to popup a balloon, it won't popup obviously and returns 0 (zero). However, if I call the GetLastError API I get no error at all. I don't know if I'm using the GetLastError API correctly. I've downloaded the BAS I attached but it returns no error at all. Am I using the GetLastError API incorrectly or Shell_NotifyIcon won't consider this as an error??
I will upload a newer version (Full Source Code) with some changes I made to the test and the OCX. But I will like to add this GetLastError working (if possible) before I upload.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
Let me look into the method(s) of seeing whats in the tray etc.
I'm away for the weekend (starting thursday night), off to a Ham Radio
flea market (Ham Fest) in New Hampshire, so I'll be "roughing it"
without internet access for the next three days.
Just need some time (I don't program for a living).
Actually, I have a boolean variable to know if there's an icon on the systray or not. If there is none, I cancel the balloon and answer with a "custom error" saying that the icon is missing.
I was wondering if I could get rid of this "If bVisible Then" and let the Shell_NotifyIcon tell the user about the problem.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
I've tried to implement it with the GetLastError but I had no luck. Here's the last version with some minor changes.
Emiliano F. Martín
If a post has helped you then pleaseRate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.