>At first I thought about using C++ (I use to program in straight C) but then I thought about VFP because that is what I have been learning recently. Not sure if VB would be the way to go either. Catch 22 on both... never used VB or VC++ but now BASIC and C to a degree already. Still have to locate the network handling libs too.
>
>
>
Seems to me that this could be done pretty well with VFP... after all... what are popup messages other than data? What is info about how is logged in.. DATA!...
Basically, I could see two files...
Messages
Users
(Perhaps a third if you want to log messages.)
Messages would hold, you guessed it... messages. The message file could have a FK to the Users file for the Sender... and one for the Reciever. You could also handle broadcast messages with either a ALL for user ID, or duplicating the message in the message table. Or, you could extend to a third table that has address info for each message... so, if I want to send one message to four people it would add ONE message record, and four address records that link the message to the sender and the receiver.
Then, the users log would have a list of all users, there passwords... a flag that tells if they are active or not.
The program could be a simple form. I would say you would need one timer to poll the messages (or address) file for messages for the user.
This would be pretty simple to write in VFP, and I don't think it would be a bad use of the tool... It is just a form to manage a messages as it's data.
BOb
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement