Changing the message width would make it look funny if you've alligned it to the far corner.
I have thought about this ages ago and decided not to add this in for the following reasons:
An app should only use 1 sized message for consistancy
I believe this code should live in the UI and not the Message dll
Does that make sesne?
Hmmm however...on second thoughts...I could add an allign property in.
Howvere I don't have time to do this at the mo as I am working on about 5 different projects at the same time and it's messing with my head. I have decided to give it a rest for a week and reclaim back my social life
Keep coming up with the good suggestions
I am about to add this into my MSN Messenger app (see link in sig) so that I can have popups like messenger for my own messenger (BTW it uses the MSN network )
errrr.yea.
Well I wouldn't make it into an OCX because it could be used by a DLL, and you cant use an OCX in a DLL except if you use a form (bad)
What you can do is add ALL the module, classes and forms into your normal project and it will still work.
To be fair, it's best being a DLL since more than one app can then use this.
This is a very nice tool but I'm having one problem. I don't know if there is a fix for this but I figured I'll ask. I got it all integrated into my application and it works perfectly - when running from the IDE.
However when I run the compiled app I run into an issue. In my compiled app I want to use this to notify users when they have received an email on our internal application email system. It works great except that there is a very high likelihood that they will be using a modal form when they get this notification.
The app works just as I want when running from the IDE but I get "Run-time error '402'" when running the compiled version. Is there anything I can do to make this work?
Dear Sir,
Thanks for providing a good tool.
i require this tool to be integrated in an application
Whenever the employee leave application has been sanctioned by his boss, He needs to informed like this. For this How to go about.
Please explain
Thanking you
yours
Karthikeyan R
if you don't want vbAPITimer.dll in your package then just take the module, and class from vbAPITimer and add them to the project you want them to be in.
The reason this is a DLL is because loads of my projects use this timing component, and it just made sense to sperate it out into it's own DLL. I am fussy like that
You can make the popup fixed. But I wanted the developer to pick the size of the message box. Bearing in mind that a few of my apps use this, and they don't want the same message sizes as some info I display is much bigger.
You can change the height and widht of the popup by using the MessageWidht and Height properties of PopupMessages Class. Is this what you wanted?
if you don't want vbAPITimer.dll in your package then just take the module, and class from vbAPITimer and add them to the project you want them to be in.
Ok, I'll do that... Thanks.
Originally Posted by Wokawidget
You can change the height and widht of the popup by using the MessageWidht and Height properties of PopupMessages Class. Is this what you wanted?
Yes, sorry, I should take more notice of the code more.......
I'm a newbie so please don't flame if this is a really dumb question...
No one should ever be flaming anyone, so that is something you don't have to worry about (if it does happen, PM a Mod and let us handle it. )
Incidentially, as you can see, I've added [vbcode][/vbcode] tags for your two posts and request that you use them in future posts. As you can see, it makes posted code so very much easier to read.
I've found that everything works very well, but I have run into a minor bug.
I've noticed that if you open a modal window while a notification window is open, the notification window timer is halted and the notification windows won't go away until the modal window is closed.. This should be fine, however, in my application I have a modal (preferences) window that can open another modal window. I've found that when the second modal window is closed, the notification windows must receive some kind of message that tells them a modal window closed, and they restart their timer and eventually try to close. However, my first modal window (preferences) is still open, and when a notification window closes while a modal window is open, you get the following error message:
Must close or hide topmost modal form first
---------------------------
OK
---------------------------
I can also get the same error message to appear if I open a modal window while a notification is in the process of closing (while it's sliding back down).
It seems that the windows will not begin the closing operation (sliding back down) if a modal window is open, but it appears that it's the actual unloading of the window that cannot happen while a modal window is open.. Any suggestions on how to either prevent the notification window from unloading itself while a modal window is displayed, delay the unloading of the notification window until after the modal window is unloaded, or possibly unload the notification windows without the error message being displayed?
Any new info or suggestions of the modal window error message?
For now I've worked around the issue by closing all current popups immediately prior to the modal window being shown, and disabling the creation of new popups while the modal window is visible.. But a cleaner solution would definitely be appreciated..
nope noone what so ever. This code was written years ago in vb6. Alas, I have progressed and don't code in vb6 anymore. I very much doubt I will ever do anymore modifications to any of my vb6 projects. I do however, intend to write some .net versions...hopefully.
I have a program that uses this but if compiled on Windows XP with no service packs installed, the popups don't work on a system with Service Packs installed (such as SP2) and vice versa.
The rest of my program still works, but what part of the popup program is it that doesn't work when running on a different system?
I have a program that uses this but if compiled on Windows XP with no service packs installed, the popups don't work on a system with Service Packs installed (such as SP2) and vice versa.
The rest of my program still works, but what part of the popup program is it that doesn't work when running on a different system?
Hmmm...I am not sure why this would happen. Makes no sense
If you compile on a SP2 XP machine does it then work on another sp2 xp machine?
I am afraid that this is an English speaking web site
Most of the users here, I would say about 99.999% of them, are from the UK, Europe and the US. Chinese alas, is not a spoken language of these countries I am afraid. (yea yea I know Europe isn't a country).
The client front end can be made in Javascript, but the actual communication must be done server-side, due to cross-domain scripting limitations imposed by browsers.
thanks but I wasn't after internet messaging, i just wanted to know if the alert window show at the beginning of this topic could be used with a web browser,
This is some great code. I've been looking fro a free version of this for a while now. Can someone tell me how to get it to work in VB.NET 2005 Express?
I still have VB6, if I need to compile it there first.
You should be able to compile it as normal in VB6. Make sure all dlls are registered on the VS 2005 machine. Then just reference the popup dll as a com reference...i think.
I really like this control. I have been writing several applications for family and friends that check to see when an email comes through on any of their POP3 emails and this control has allowed me to get rid of the annoying message box and replace it with a non-obtrusive message box in the bottom corner just like in MSN messenger.