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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
epasquierConnect With a Mentor Commented:
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
 
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
 
epasquierConnect With a Mentor Commented:
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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
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
 
epasquierCommented:
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
 
epasquierCommented:
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
All Courses

From novice to tech pro — start learning today.