Re: MSN Messenger Style Systray Notification Messages
obrienkev, can you not reference the dll as a com reference?
Justin. Thanks. No you will not be sued for using it :D
I posted the code for things like this so people can use them in their apps, and modify the source code.
If you want to send me the link to your apps site then that would be cool, and if you mention me in the credits of the app that would also be cool...but not essential :)
Glad you like the code. use away :D
Woof
Re: MSN Messenger Style Systray Notification Messages
Good project there mate well done
Re: MSN Messenger Style Systray Notification Messages
Sorry to post in this old thread but any idea if and when the .Net version will be ready?
Re: MSN Messenger Style Systray Notification Messages
I started it 3 years ago, and never finished it. Don't even know where the source code is now :(
Woka
Re: MSN Messenger Style Systray Notification Messages
Don't know what that guy was talking about, why this thing would be useful. :confused: Use your imagination.
I made my friend a personal program and this will be cool to notify him when someone connects to his server.
Re: MSN Messenger Style Systray Notification Messages
Wokawidget, this might be from the previous century I know, but I have been stuck with this for a week now!!:(
I love the code you supplied here, tried to use it and so on...
All works fine, but I have been trying to implement this in an app where the popup goes to another user on the network. The whole idea is for a department to first get authorisation from the Fin. manager to expenses or obtain an order. When applying, the fm will receive the popup, send an authorisation to the debtors clerk who will then raise the order.
As I said, I can not get this to send on LAN. I had a previous chat type program, but yours is far more superior. Any ideas?:confused:
Re: MSN Messenger Style Systray Notification Messages
Hi,
This functionality I am afraid is not out of the box.
The code that displays the popup must be on the target machine...this is just the VB6 way.
There are a few ways you could implement this:
Client Server TCP/IP
1) Create a server app that listens on a port
2) Store details of logged in fm clients
3) Write a client app that is installed on the FM's client machine that connects to the server app
4) When a request is sent to the FM client it shows the popup
FileSystem Watch
1) Write a server app to submit requests to clients
2) Each client has a shared network folder
3) When a request is submitted a file is generated in the FM's network folder
4) Create a client app that is installed on the FM client machine
5) The client looks at the network folder and raises an event when a new file is added
6) Based on the file display a popup
Database
1) Create a main admin app that connects to a DB
2) Each FM has a user account in the db
3) To submit a request to an FM simply add a new request record into the Db
4) Create a small client app for the FM client pc.
5) The FM client app checks the db every x many mins and dispays new requests as popups
All 3 methods arn't that simple and will require a reasonable amount of coding.
Personally I like the db method...this also allows you to track history etc and extra custom functionality you may wish to addin.
All make sense?
Woka
Re: MSN Messenger Style Systray Notification Messages
I tend to agree with your choice. I think I will settle for the DB option as well. The work involved that will raise the least errors should be the DB option I'm sure. I have written many db server based apps before, and know that if an error is trapped beforehand, you end up with an enjoyable, hassle free app to your clients. Thanks for your info.
What I am concerned for is getting a popup to show. Here is some ideas??
depending on the kind of request, order, cheque req. etc, I can create a custom message for the popup.
invoke the cmd_click event to show the popup.
keep popup until read/answered.
close popup application.....
something along these lines.
Cheers bud, thanks again.
Re: MSN Messenger Style Systray Notification Messages
put a timer on a form. every x seconds the timer queries db. if a request is there then call the popup code.
just put the code from the command click in a seperate procedure.
Woika
Re: MSN Messenger Style Systray Notification Messages
Thanks again Woka,
Would you mind if I alter your code and incorporate it with the LAN application? I will post the final result to use on a network here for all to use.:D
Re: MSN Messenger Style Systray Notification Messages
go for it. I don't mind.
Although the code itself wouldn't need to change.
You just need to write a few extra apps that reference the popup dll.
Woka
Re: MSN Messenger Style Systray Notification Messages
how do pass recordset information with this control?:eek2:
Re: MSN Messenger Style Systray Notification Messages
Eliminator, I have created a table in my database where one of the fields is called "AnsweredYesNo". As soon as the popup is shown and the client on a different pc/ip clicks on the label it updates the field to yes. Within a timer on the client machines form, I check the table/field above for a "No" answer. Once it shows no AND the client is on the given IP, the popup will show on their screen, else it will show on the person who's IP has been flagged.
Re: MSN Messenger Style Systray Notification Messages
Quote:
Originally Posted by
AndreISRS
Eliminator, I have created a table in my database where one of the fields is called "AnsweredYesNo". As soon as the popup is shown and the client on a different pc/ip clicks on the label it updates the field to yes. Within a timer on the client machines form, I check the table/field above for a "No" answer. Once it shows no AND the client is on the given IP, the popup will show on their screen, else it will show on the person who's IP has been flagged.
Dear AndreISRS,
I am a beginner programmer in vb. Do you show it by a code example.
Thanks.:eek2:
Re: MSN Messenger Style Systray Notification Messages
Hey Woka, been looking through the code (very nice stuff btw), but am having trouble following what's going on in the MoveMessages routine, possible to breakdown that a bit for me? Essentially there is an issue where popups are not disposing properly and I am having trouble debugging because I don't necessarily follow some of the logic in that routine. Any chance you can break it down for me?
To repro the issue I am seeing, show two sticky popups, click the message to delete the most recent, then try to click the message to dismiss the first one - nothing happens. Any help would be greatly appreciated.
Thanks!
Re: MSN Messenger Style Systray Notification Messages
The thread is more than 12 years old and Wokawidget hasn't been on the forum since 2015.
So I don't think you will get an answer soon :)
Re: MSN Messenger Style Systray Notification Messages
Quote:
Originally Posted by
Arnoutdv
The thread is more than 12 years old and Wokawidget hasn't been on the forum since 2015.
So I don't think you will get an answer soon :)
Thanks for heads up; I rewrote the section and fixed issue.
Re: MSN Messenger Style Systray Notification Messages
Maybe you could post your solution? Might help someone else sometime in the next 12 years ;)