Sampeyan bisa bikin tabel di database untuk menampung message (minimal punya column msg_id int, msg_body varchar(255), sent_time datetime, has_received boolean) terserah strukturnya gimana, nah caranya gini:
bikin function: misal_> of_trapmessage() --->fungsi ini akan mengambil message yang disimpan di table message (kalo message spesifik mungkin di table message bisa ditambahkan target recipient). Jika message ini mempunya flag sent_time terakhir dan has_received bernilai false maka message ditampilkan dan has_received harus di set ke true. bikin function: misal_> of_sendmessage() --->fungsi ini akan mengambil input message yang diberikan oleh user dan menyimpannya ke dalam table message. ecord baru ini akan mempunyai has_received flag = false di main window (frame, jika make MDI), pada "open" event sampeyan set selang waktu untuk menjalankan of_trapmessage, misal_> 1 detik. Pada event timer sampeyan jalankan of_trapmessage() OKE, bisa diterima? over! On Wed, 24 Aug 2005 20:54:20 -0700 (PDT), "robbi robbi" <[EMAIL PROTECTED]> said: > Dear all > > Saya membuat aplikasi dengan menggunakan PB6.5 , > aplikasi tersebut dapat di akses oleh 3 user. > > Pertanyaan nya : > - Bagaimana cara nya agar Agar Aplikasi tersebut yang > sedang di gunakan oleh User-1 dapat mengirim pesan > baik ke Aplikasi yang di gunakan oleh User-2 maupun > User-3. > - Bagaimana script nya > > Terima kasih > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > > > ----------------------------------------------- > INDOPB TURUT BERDUKA CITA UNTUK ACEH & SUMUT > ----------------------------------------------- > IndoPB - Indonesia PB User Group > To Post a message, send it to: [EMAIL PROTECTED] > To Unsubscribe,send a blank message to: [EMAIL PROTECTED] > Yahoo! Groups Links > > > > > > > -- wihartoyo [EMAIL PROTECTED] -- http://www.fastmail.fm - Access your email from home and the web ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h86dm75/M=362131.6882499.7825260.1510227/D=groups/S=1705007181:TM/Y=YAHOO/EXP=1124960480/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------- INDOPB TURUT BERDUKA CITA UNTUK ACEH & SUMUT ----------------------------------------------- IndoPB - Indonesia PB User Group To Post a message, send it to: [EMAIL PROTECTED] To Unsubscribe,send a blank message to: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/indopb/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
