Send message to users in client PC

Reply

Join Date: Aug 2007
Posts: 182
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 15
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Send message to users in client PC

 
0
  #1
Sep 17th, 2007
Dear all .Netters,

I develop intranet application using ASP.Net 2.0 with VB language.
I have some modules that necesarry send messages to users.
Currently, my Bulletin Board shows pop up windows if there are messages to users.
It reads SQL Server table every 5 minutes using Web Service.

For others modules (GA-Payment, User ID Maintain),
I have planned to use Net Send function that provides by SQL Server with activating Job Schedule.
But i hesitant, if it could decrase my SQL Server or my Server performance.

So, do you have experiences how to send message to users with ASP.Net ?

Thanks and Regards,

Kusno
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Send message to users in client PC

 
0
  #2
Sep 18th, 2007
Now are you sending messages to all users at once? or only selected users? Also do you want a windows dialog with popup message or an HTML popup page?
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Send message to users in client PC

 
0
  #3
Sep 18th, 2007
If Iam getting your requirement then are you trying to show the popup even when the asp.net app is not running? If yes then in that case you can create a service to pool and display the messages on the client. In this case you have to distribute a light client utility for this purpose.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 182
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 15
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Re: Send message to users in client PC

 
0
  #4
Sep 19th, 2007
Using ASP.Net, i use HTML Popup page. Using SQL Server i use Windows PopUp Message.
BTW, how to create Service pool as you mention above ?
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Send message to users in client PC

 
0
  #5
Sep 20th, 2007
There are 2 ways to create a windows service.
Method 1: You can create a simple .NET application and write you login inside that app. And then use the srvany utilituyand convert your .NET exe into a windows Service. You can download and read more about this tool here.
Method 2. You can use the Visual Studio Application template to create a new "Window Service" which uses System.ServiceProcess.ServiceBase NameSpace.
You can wrap your service logic inside the static void Main() of the class.
Then you can use 2 overriden functions OnStart and OnStop
After that build an exe for the service app and use the "installutil" provided in .NET SDK to register this service from command line.
Here is how you do it.
- Register this service from command line.
--- installutil C:\mcWebService\bin\Debug\mcWebService.exe
You use /u option to uninstall the service.
- installutil /u C:\mcWebService\bin\Debug\mcWebService.exe
Goto the service manager in windows and start and stop the service and you are good to go. Let me know if you need further help.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 3983 | Replies: 4
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC