This is my first chat program in VFP and i would like to share it with others so that i can get new ideas on how can i improve it?
I need to develope this application for my company because there were around 1000 of employees working and they were either communicating on phones or by using internet chatting sites like gtalk/yahoo etc.
But the problem was this that all the users were not allowed to access these websites during office hours, so they were looking for some type of application by which they can communicate with each other in their intranet.
I tried searching on internet and found one developed chatting program in foxpro written by someone.
But it could not solve my problem because in that application you can talk to any one person at a time and your messages can't be visible to other users.
and our requirement was to chat in both modes either public or private.
So finally i decided to develope it by myself.
In this application i have provided both features i.e. you can chat either in publice mode or in private mode
Public Mode: your sent messages will be visible to all the users who are connected to this application.
Private Mode: your message will be visible only to the user to whom you have sent it.
In this application i have used centralised database.
Features:
1. You can set "Remember me on this computer" to true. By doing this next time when you will login to application it will automatically restore your password.
2. If you have minimized your chat application window and any user will send you private message or any new user logged into application then you will get noticed it at right bottom corner of your screen. (i tried something similar that we get when we minimize our gtalk window and get new message)
3. If you are already logged in application and try again to login, you will get message "You are already logged in. Do you want to login again" and if you select "Yes" then new instance of application will be opened for you.
Instructions:
1. Download the attachment.
2. Build exe and place exe at some common location from where all of your users can access it.
3. Copy the data folder along with your exe file.
What to learn:
1. You will also learn how to create moving text in foxpro.
2. You will also learn how to blink text in foxpro.
Note: this is only limited version of this application. (this application also has other features like you can send mails, your inbox etc.)
It is compiled in vfp9 sp1.
Any comments/feedbacks/suggestions are highly appreciated.
Regard,
Surinder Singh