Client - Server application

Hi,
I`m going to rebuild my application for client-server architecture.
My server app is going to contain two parts - first server - the application which is going to gather data, save it to database and deliver data to end client, secound part is control panel which should be able to change the main options in server`s configuration ( database address, ComPort Port properities, savings interval and others...). The question is:
1. How to deliver the communication between these two parts of server application
2. What is the best option for creating such solutions
3. How should i solve a problem with first conection for server and control panel - i need to install the application on different PCs so I should be able to set up the ADOConnection properieties during the first start.
Best Regards
Vaalar
VaalarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Emmanuel PASQUIERFreelance Project ManagerCommented:
The control panel as you call it, is it necessary to be an external app ?
Otherwise, the simplest way would be to add the config form in your server project, and access it with a tray icon menu (with 3 traditional options : Start server, Stop & Config).

So no need for communication, the config form can detect that it has not a correct config when the app is launched the first time, and shows up for the user to fill the necessary data. Once you click OK of this config form, the server could then start or restart with the changed config.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VaalarAuthor Commented:
Hi Epasquier,
I would like to install server as a service - that`s why I want to separate the server and control panel.
0
Emmanuel PASQUIERFreelance Project ManagerCommented:
You can run an application as a service with a microsoft tool called srvany :
http://support.microsoft.com/?scid=kb%3Ben-us%3B137890&x=17&y=7

As applications are much easier to debug than services, I strongly recommend you start creating an application with a tray icon + menu. Once your server application will be completely tested, you could always install it as a service with SrvAny, and/or create a new service project adapted from this application, and only at this point consider improvements such as an external control panel
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

VaalarAuthor Commented:
Epasquier in such case I have question - How can I run application as hidden - I want to hide the application icon so the customer wont find it in task bar.
BR
Vaalar
0
Emmanuel PASQUIERFreelance Project ManagerCommented:
you should keep the icon & menu in the tray so that you can access to the config, even if that means protecting it with a password. Which reduce your problem with hiding your application from the taskbar. Trayicon components already do that, when your application is minimized it doesn't show in the taskbar
0
VaalarAuthor Commented:
I think you don`t understand - I want to have an application icon placed in hidden icon panel as i said it`s placed before the system clock. I have included 2 pictures with red square =please check
\
hidden-icon.JPG
hidden-icon1.JPG
0
Emmanuel PASQUIERFreelance Project ManagerCommented:
ok, so you are looking for a way to hide programmatically the icon, like you can do manually by going in the
task bar properties, then 'notification zone' tab, then click 'Hide Inactive icons' and personalize to force hiding of your app icon ?

if that is what you want, it would be an interesting question to post
HideIconsInTaskBarProperties.gif
0
VaalarAuthor Commented:
Yes Exactly - I want to do this like you told.
I`ve granted you points becouse you have solved my problem with service - the solution is not to do app as service :)
If you can answer my icon question i`ll be grateful.
BR
Vaalar
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.