FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Multi-user software
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Multi-user software
Posted: Wed Jul 29, 2009 02:16 AM

Hi,

I am looking for an idea on how to create a multi-user application where I could install the software on a server and NOT have to install anything on the users computers.

It would be nice to just create a link on the users computer to the application on the server but I don't know how well that would work ... if the application size gets large I could see a long load time.

Has anyone done anything like this?

Any hints / tips ?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: Multi-user software
Posted: Wed Jul 29, 2009 04:18 AM

Dear Jeff,

I work as your environment. I've used FWH+xHB+ADS+R&R for my application.

My idea is the application (EXE) should be on the file server, because it is easy to upgrade / lock or disable the application. I think load time is not different much for EXE file on the local drive. The different think is Database. If it is on the file server, it take more time than on local disk. The other good think is the client PC has not install anything, except some DLL file but you can use any install shield to setup the client PC. I used InnoSetup (freeware) to make setup.exe for standard environment client PC.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Multi-user software
Posted: Wed Jul 29, 2009 05:13 AM

On a local area network, the Exe can be on the Server and we create a short cut on the client desktop. Works well.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Multi-user software
Posted: Wed Jul 29, 2009 05:59 AM
On a local area network, the Exe can be on the Server and we create a short cut on the client desktop. Works well.


I too confirm that it works fine here.

Regards
Anser
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Multi-user software
Posted: Wed Jul 29, 2009 12:31 PM

Thanks everyone ... looks like I might have been worrying for no reason :-)

Now if I could just find a way to also allow web access I would have everything I need to start the app :wink:

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 8
Joined: Sat Sep 05, 2009 11:30 PM
Re: Multi-user software
Posted: Sun Sep 06, 2009 10:44 AM

Remote desktop

----------------

Gustavo Valentín

Softmagic SRL

Argentina
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Re: Multi-user software
Posted: Sun Sep 06, 2009 11:13 AM

Jef,

Starting an application from the server, is usually no problem.

But, as customers often ask for client-server application, I solved it this way.

I made a small application which is installed on the local PC and to which my shortcut on my desktop refers. If there is no main application on the local PC, this small application copies the main application from the server to the local PC. If the main application is on the main PC, the small application checks if the main application has been changed (same size, same date, same time). If the main application has been changed, the small application copies the main application again to the local PC. Also other files like DLL, RES of RC can be handled the same way. If there has been no change or after the necessary files have been copied to the local PC, the small application starts the main application.

When the main application has been started, it does the same with the small application so that the small application is updated on the local PC if needed.

Working like this has some advantages :

  1. Your application is client-server.
  2. Updating the local PC's is happening automatically.
  3. If an update has become available, only the server has to be updated.

If any questions, don't hesitate to ask.

Good luck.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Multi-user software
Posted: Sun Sep 06, 2009 04:57 PM
driessen wrote:1. Your application is client-server.


:-) :-) :-)

If I correctly understood what you are saying, your application is not client-server at all. Client-server means that the database is driven by an external engine and not directly by your application.

EMG
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Multi-user software
Posted: Sun Sep 06, 2009 05:06 PM

Hello,

may I ask how you handle the path to the databases do you use a mapped drive.

Thanks in advance
Otto

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Multi-user software
Posted: Sun Sep 06, 2009 08:06 PM

To All

I come from an environment with over 5k people and over 100 servers .. to me, the executable and .dbf tables need to be on the server IN ONE PLACE and if you have multiple servers .. you need to replicate that same setup. Like Rao mentioned .. distribute your .exe and .dbf tables to the local server then create a shortcut on the desktop to the .exe. If you want to use a mapped drive or UNC to the server .. it does not matter.

Now, if you want to do client server like Enrico points out .. I would use ADS if you still use .dbf.cdx or ADO for data that is stored on SQL or Oracle server .. the .exe is still deployed to the file server .. the shortcuts to the desktop are the same.

Rick Lipkin

Posts: 8
Joined: Sat Sep 05, 2009 11:30 PM
Re: Multi-user software
Posted: Mon Sep 07, 2009 11:54 AM

Mr.Rick,

If your exe is big the OS need to do memory swap so you must think in terms of performance.

For some slow connections having the exe on the server is a nightmare. Even on a local area network.

Regards


GV

----------------

Gustavo Valentín

Softmagic SRL

Argentina
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Multi-user software
Posted: Mon Sep 07, 2009 12:00 PM

If your connection is not fast enough to load an EXE from the remote drive in a few seconds how do you think it can be support the normal database traffic? I strongly suggest to check your network.

EMG

Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Multi-user software
Posted: Tue Sep 08, 2009 12:38 AM

Sir,

1) If your application is WAN (or using ADS as client/server), the .exe and some runtime should be on client side.
2) If your application is LAN (or using ADS as client/server or standalone this is what I do:
1. Compress the .exe using upx
2. on your client side, create a batch file (if using windows) on client desktop to copy your application .exe from server overriding .exe to client side.
3. create a shortcut to client side with the location of your .exe
Using this minor procedure, you can update the server files anytime from your development workstation without interfering with your client end-user's activity.
Users will just close/run the application to get updated copy from the server.

I do this with 40~50 client PC. Believe me it so easy and swift.

Best regards,
Frances

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15

Continue the discussion