LAN User Messaging Service
LAN User Messaging Service
Dear All,
Does anyone have a working sample of text messaging users currently using a multi user application over a local network ? Users need to message other users over a LAN.
Any suggestions.....Thanks
Does anyone have a working sample of text messaging users currently using a multi user application over a local network ? Users need to message other users over a LAN.
Any suggestions.....Thanks
- MarcoBoschi
- Posts: 1071
- Joined: Thu Nov 17, 2005 11:08 am
- Location: Padova - Italy
- Contact:
Re: LAN User Messaging Service
How it should work?
Such as post it
http://downloadcentral.no/upload/screenshot3132-0.jpg
? I did one for multple users.
Such as an email program?
Telegram? Whatsapp?
Such as post it
http://downloadcentral.no/upload/screenshot3132-0.jpg
? I did one for multple users.
Such as an email program?
Telegram? Whatsapp?
Marco Boschi
info@marcoboschi.it
info@marcoboschi.it
Re: LAN User Messaging Service
Hi Marco..
Perhaps, like whatsapp..
The system should work on hot key within the multiuser application.
Should list the active logged in users.
Select a user...and start a conversation
No need to save the conv
A very simple service..just type n send...
Thnx
Sent from my GT-N7105T using Tapatalk
Perhaps, like whatsapp..
The system should work on hot key within the multiuser application.
Should list the active logged in users.
Select a user...and start a conversation
No need to save the conv
A very simple service..just type n send...
Thnx
Sent from my GT-N7105T using Tapatalk
- TimStone
- Posts: 2955
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: LAN User Messaging Service
I built a messaging service into my application several years ago. However, it does not locate who is signed on, nor does it do alerts.
Users are placed in one file. When sending a message, the To box is a dropdown, so they select the users. I did this because some messages can then be sent to people who are not signed on, but they can get it when they return to their computer.
Using a Memo edit, messages are created and stored in a database on the server.
When someone is at their computer they can then check for their messages.
System level alerts would be a nice capability. I'll be looking at that in the coming weeks.
Users are placed in one file. When sending a message, the To box is a dropdown, so they select the users. I did this because some messages can then be sent to people who are not signed on, but they can get it when they return to their computer.
Using a Memo edit, messages are created and stored in a database on the server.
When someone is at their computer they can then check for their messages.
System level alerts would be a nice capability. I'll be looking at that in the coming weeks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Re: LAN User Messaging Service
Yeh..thnx Tim,
Good idea..would be nice to have system alerts plus listing of currently logged on users..There must be a library for this routine. Im searching.
Good idea..would be nice to have system alerts plus listing of currently logged on users..There must be a library for this routine. Im searching.
- TimStone
- Posts: 2955
- Joined: Fri Oct 07, 2005 1:45 pm
- Location: Trabuco Canyon, CA USA
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: LAN User Messaging Service
It should be a handle into the Windows notification system. Probably pretty available in Win 10 with it's notification icon on the task bar.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Re: LAN User Messaging Service
Not sure if we can use it from C language unless we find a C example. I only found C++ examples
Another choice is to implement it in a cpp file but not sure if it will work with our used C compilers
Another choice is to implement it in a cpp file but not sure if it will work with our used C compilers
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: LAN User Messaging Service
Many year ago I remember was a CHAT class but it not run ok because the twebserv notwas ok
https://fivewin-contributions.googlecod ... HATTER.ZIP
https://fivewin-contributions.googlecod ... HATTER.ZIP
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Re: LAN User Messaging Service
Thnx Silvio,
Will chk it out. Many many years back I was using netlib library for the same purpose..worked beautifully. Will post a few screen shots, later.
Regards
Will chk it out. Many many years back I was using netlib library for the same purpose..worked beautifully. Will post a few screen shots, later.
Regards
- Silvio.Falconi
- Posts: 7136
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 1 time
Re: LAN User Messaging Service
RiazKhan,
CAN YOU PUBBLISH A TEST ?
CAN YOU PUBBLISH A TEST ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Re: LAN User Messaging Service
Any new infos about a solution ( working sample )
I would like to send a message to the station
that belongs to a network FLOCK - error
working on the same DBF.
I created a sample testing network - functions with messages and xBrowse copy functions using my network-toolbox.
A test trying to PACK a DBF opened on another workstation as well
is showing a error-message.
As well I would like to show inside the message a list of all users working on the same DBF in case of any network - error ( ZAP, PACK ...)
![Image](http://www.pflegeplus.com/IMAGES/Network5.jpg)
regards
Uwe![Question :?:](./images/smilies/icon_question.gif)
I would like to send a message to the station
that belongs to a network FLOCK - error
working on the same DBF.
I created a sample testing network - functions with messages and xBrowse copy functions using my network-toolbox.
A test trying to PACK a DBF opened on another workstation as well
is showing a error-message.
As well I would like to show inside the message a list of all users working on the same DBF in case of any network - error ( ZAP, PACK ...)
![Image](http://www.pflegeplus.com/IMAGES/Network5.jpg)
regards
Uwe
![Question :?:](./images/smilies/icon_question.gif)
Last edited by ukoenig on Wed Jan 16, 2019 10:18 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: LAN User Messaging Service
Uwe,
You really shouldn't be doing zap, or pack except when you have exclusive use of the app. These should only be done by an admin when nobody else is using the app.
Better yet is to avoid these kinds of operations.
If you are using database objects, then my TData class has an optional TDataReuse class which reuses deleted records so you never have to do a pack. Or, you could try writing one yourself.
Either way, if you go one of the above routes, then you don't need messaging.
You really shouldn't be doing zap, or pack except when you have exclusive use of the app. These should only be done by an admin when nobody else is using the app.
Better yet is to avoid these kinds of operations.
If you are using database objects, then my TData class has an optional TDataReuse class which reuses deleted records so you never have to do a pack. Or, you could try writing one yourself.
Either way, if you go one of the above routes, then you don't need messaging.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
Re: LAN User Messaging Service
>Does anyone have a working sample of text messaging users currently using a multi user application over a local network ? Users need to message other users over a LAN.
Hello,
I use following function.
Best regards
Otto
Hello,
I use following function.
Best regards
Otto
Code: Select all | Expand
function Benachrichtigung()
*-----------------------------------------------
local cRelauFle, hFile
SysRefresh()
*---------
cRelauFle := cFilePath( GetModuleFileName( GetInstance() ))+'\Benachrichtigung.Bat'
hFile := FCreate( cRelauFle, 0 ) // 0 Normal/Default,Read/Write
if hFile >= 0
FWrite( hFile, "msg " + ALLTRIM( users->user ) + " " + ALLTRIM( users->pfad ) + ;
" - Es gibt ein neues Update. Fuehren Sie bitte das Update aus. " +CRLF )
FWrite( hFile, "exit" + CRLF )
FClose( hFile )
SysRefresh()
WAITRUN( cRelauFle, 0 ) // 0 not show Cmd.exe Window, 1 yes
endif
*-----------------------------------------------
return NIL
//----------------------------------------------------------------------------//
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************