Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Service stopping immediately
Message
From
01/09/2013 19:44:00
 
 
To
01/09/2013 19:40:27
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581778
Message ID:
01581808
Views:
39
>I don't know why the .OnStart() wouldn't work for you.

With that, I can run it from the EXE but not from the Services. With Run(), I can run it from the Services but not from the EXE as it says:

"Cannot start service from the command line or debugger. A Windows Service must first be installed..."

>No, as I said it's a Console app. You can't have any UI in a Windows Service ... and I'm betting that you might even have problems if you have anything in the code referencing Windows.Forms, even if you only use it when running interactively. The Console app feature works fine. You can use Console.WriteLine() if you want to show message or just use your usual debugging from Visual Studio.

Yes, that's the plan. All that is referring to a form has been/will be updated by the time I am done with this.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform