Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
8
Erster Beitrag:
vor 8 Jahren, 5 Monaten
Letzter Beitrag:
vor 8 Jahren, 5 Monaten
Beteiligte Autoren:
Mitchell, Novica Njagojevic, Thijs, Jimbo, Piet van Zanten

Creating Windows NT Service from Windev IDE

Startbeitrag von Mitchell am 23.06.2009 20:22

How to make my Windev Application to run it as an Windows NT Service? any Ideas?

Regards

Antworten:

Hi Mitchell,

Look in the Help, keyword service.
Hmm, why didn't I think of that... ;-)

Regards,
Piet

von Piet van Zanten - am 23.06.2009 20:43
Thanks Piet, but I still didn't get it, My target is to make my GUI application created from Windev to run as a service, if the service is started , then I want to show the Login Screen of the GUI application so that a users can login and view the reports or any forms..


how to achieve it?

von Mitchell - am 24.06.2009 06:13
Hi,there is an example for creating windev apps as service.
But,service has no GUI component,maybe is someting else your solution.


von Novica Njagojevic - am 24.06.2009 06:41
Quote
Mitchell
Thanks Piet, but I still didn't get it, My target is to make my GUI application created from Windev to run as a service, if the service is started , then I want to show the Login Screen of the GUI application so that a users can login and view the reports or any forms..
how to achieve it?


??? This is generally not what a service should be. An 'NT-Service' has no rights management, is available to all users of a computer. NT-Services do background work like permanent communication with a server and so on.

Maybe jou just want to have the application in the quick-start-area of the task-bar??

Regds, Guenter

von Jimbo - am 24.06.2009 06:45
I'm looking for this kind of solution, but if it is not possible I have to go for startup windows solution ...which is my needs are the following :
1. how to create or install a registry key so that it will run always everytime the computer start or switch on.

I want to put it on
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

that will act the same as antivirus, it is running automatically when the computer starts.

how to achieve this pls.?

von Mitchell - am 24.06.2009 06:57
Look in the help: registry, create.
Make your app,and then put the app in the windows startup directory.
In the app just test the presence of the registry key.


von Novica Njagojevic - am 24.06.2009 07:46
Just to be clear. The Windev NT Service is an .net application what execute's your windev application. The only problem is that if you use it on Windows vista or Windows server 2008 it doesn't work flawless.

Thijs

von Thijs - am 30.06.2009 14:38
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.