hello evryone. i have a project and need some ideas. the project is about chatting. there are two types of users. the one is admin and the other is just user. admins will send messge to user with a windows application however users will chat admins from an ASP.Net web page. users will not chat each other. only admin to user, user to admin. there is an sql databaase on our server. lets imagine the project. when admin sends message, the message fisrtly goes to databse and at this point en event will be fired from windows application to catch the admin message from the asp side. and whn user cathes this event admin message wiill be added to a control on ASP.Net web page. then usser will send a messga to admin. user message goes firstly to database and event will fired from ASP.net page. from windows application that event will be cought and user message will be shown to admin.
is there anything wrong here? can u share your better ideas please. and i am sorry for english. i hope i could give the what the aim is :(
Loading
nkayPosted Aug 13, 2007, 1:52 AM
ForgottenhartPosted Aug 10, 2007, 8:57 AM
i dont know of any function in sql that can call other apps... the best best is just to have the web page and the form do refreshes to see if there is new data...
call DB
if new data then read
else
end if
nkayPosted Aug 10, 2007, 8:32 AM
thnaks a lot
ForgottenhartPosted Aug 10, 2007, 12:07 AM
that shouldnt be a problem.. .. just design it like they were two seperate project... one does not need the other... they just each need to be able to talk with the database and refresh when some new even is written to the database... that project actually give me an idea for one of my own.
Good luck