Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am build a website in asp.net ,c# with sql, and a small windows application, and i want to connect both application with same database. Any user can register on my website, I want to show notification message when an user registered on my website show a notification message on my windows application immediately.(same as when we send email from gmail and show notification in google talk but i want to show notification in windows application) please send me answer if it is possible.
Posted
Updated 3-Jul-13 23:28pm
v2

Try these steps:

1. Add a timer in your window application
2. On timer elapsed check if new record is there in you database table of users_registration(that I assume is used by your website for user registration).
3. If the record exists then show the notification.

hope it helps :)
 
Share this answer
 
Comments
ashok luhach 4-Jul-13 5:56am    
Because of it server request will be go after a specific interval and because of it server traffic increase (Server busy request). there are any windows services that return notification when any any new user registered
bbirajdar 4-Jul-13 10:08am    
Use SQL trigger to notify your windows app that a new user has registered
Check with Your Database Entry If any New User registered in ur application show your Notification
Refer This link

How to check if value exists in database, [^]
 
Share this answer
 
You can do it by webservice only ,create a webservice in your website ,which will communicate with your windows application in tick event of timer in windows app ,create timer by code only otherwise it will make your application very slow,give the refrence of that webservcice in windows application.
Click Below link to get more details over this

http://support.microsoft.com/kb/818364[^]

I have done the same with this process.
 
Share this answer
 
v2
Comments
ashok luhach 5-Jul-13 1:55am    
Sir have you code with c# if possible send me code on my email id aluhach@gmail.com
Asp_Learner 5-Jul-13 9:37am    
Sorry Ashok ,that application was for company ,that was a chat application having a operator console as windows app and client control in website. But I can help you ,you can ask me any question regarding this.
ashok luhach 6-Jul-13 1:39am    
thanks sir

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900