473,769 Members | 2,331 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

windows services

cs
I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to be
a service if there is a way to run .net apps before that, anyone knows what
or where?
Nov 15 '05 #1
6 2568
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eW******** ******@TK2MSFTN GP12.phx.gbl...
I noticed there is some .net services on my winxp. One or two mention the
CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to be a service if there is a way to run .net apps before that, anyone knows what or where?

Nov 15 '05 #2
cs
on the registry, under services
HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can
run before them? regardless of that I need to know whats the earliest I can
run a .net app, whether its a service or not.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:uN******** ******@TK2MSFTN GP11.phx.gbl...
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eW******** ******@TK2MSFTN GP12.phx.gbl...
I noticed there is some .net services on my winxp. One or two mention the CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need to

be
a service if there is a way to run .net apps before that, anyone knows

what
or where?


Nov 15 '05 #3
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
on the registry, under services
HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can run before them? regardless of that I need to know whats the earliest I can run a .net app, whether its a service or not.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:uN******** ******@TK2MSFTN GP11.phx.gbl...
cs,

What services are you talking about? I don't notice any services that
are started up on my machine as a result of .NET. Can you elaborate?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eW******** ******@TK2MSFTN GP12.phx.gbl...
I noticed there is some .net services on my winxp. One or two mention the CLR. Does that mean that my .net apps/services wont run before those
services start?
I need to run my service as early on as possible, it doesnt even need

to be
a service if there is a way to run .net apps before that, anyone knows

what
or where?



Nov 15 '05 #4
cs
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from
what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
on the registry, under services
HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service can
run before them? regardless of that I need to know whats the earliest I

can
run a .net app, whether its a service or not.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote

in
message news:uN******** ******@TK2MSFTN GP11.phx.gbl...
cs,

What services are you talking about? I don't notice any services that are started up on my machine as a result of .NET. Can you elaborate?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eW******** ******@TK2MSFTN GP12.phx.gbl...
> I noticed there is some .net services on my winxp. One or two mention
the
> CLR. Does that mean that my .net apps/services wont run before those
> services start?
> I need to run my service as early on as possible, it doesnt even
need to be
> a service if there is a way to run .net apps before that, anyone

knows what
> or where?
>
>



Nov 15 '05 #5
cs,

No, you are right, there is no .NET service it has to wait for.
However, depending on the components in your application, you might have to
wait for other services. For example, if you are accessing a SQL server
database on the same machine, then you need to make sure that the SQL server
service starts up first.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:en******** ******@TK2MSFTN GP09.phx.gbl...
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
cs,

If you look, those are not services, but performance counters. You
shouldn't have to worry about them. If you look at the services section
under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
on the registry, under services
HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
there is .NET CLR Data and .NET CLR Networking and .NETFramework
there is also a couple for ASP.NET
What I dont know is if those are services or what, and if my c# service
can
run before them? regardless of that I need to know whats the earliest
I
can
run a .net app, whether its a service or not.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om>
wrote in
message news:uN******** ******@TK2MSFTN GP11.phx.gbl...
> cs,
>
> What services are you talking about? I don't notice any
services that
> are started up on my machine as a result of .NET. Can you

elaborate? >
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard. caspershouse.co m
>
> "cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
> news:eW******** ******@TK2MSFTN GP12.phx.gbl...
> > I noticed there is some .net services on my winxp. One or two

mention the
> > CLR. Does that mean that my .net apps/services wont run before those > > services start?
> > I need to run my service as early on as possible, it doesnt even need
to
> be
> > a service if there is a way to run .net apps before that, anyone

knows > what
> > or where?
> >
> >
>
>



Nov 15 '05 #6
cs
yeah, the only thing my app is doing is modifying a registry key but this
has to be done before the key is read and that key appears to be read way
way early on the chain, maybe even before the services are run.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
cs,

No, you are right, there is no .NET service it has to wait for.
However, depending on the components in your application, you might have to wait for other services. For example, if you are accessing a SQL server
database on the same machine, then you need to make sure that the SQL server service starts up first.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:en******** ******@TK2MSFTN GP09.phx.gbl...
thanks thats very useful information (shows how little I know about
services)
I still have the issue that my service is not running early enough. But from
what you said I am guessing my service could be the first one to run if it
had to, as in there is no such .net service that it must wait for?

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote

in
message news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
cs,

If you look, those are not services, but performance counters. You shouldn't have to worry about them. If you look at the services section under computer management, you will notice that those do not appear.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
news:eA******** ******@tk2msftn gp13.phx.gbl...
> on the registry, under services
> HKEY_LOCAL_MACH INE\SYSTEM\Curr entControlSet\S ervices
> there is .NET CLR Data and .NET CLR Networking and .NETFramework
> there is also a couple for ASP.NET
> What I dont know is if those are services or what, and if my c#

service can
> run before them? regardless of that I need to know whats the
earliest I can
> run a .net app, whether its a service or not.
>
>
>
> "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
> message news:uN******** ******@TK2MSFTN GP11.phx.gbl...
> > cs,
> >
> > What services are you talking about? I don't notice any services that
> > are started up on my machine as a result of .NET. Can you elaborate? > >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard. caspershouse.co m
> >
> > "cs" <[rem]casolorz[rem]@hot[rem]mail.com> wrote in message
> > news:eW******** ******@TK2MSFTN GP12.phx.gbl...
> > > I noticed there is some .net services on my winxp. One or two

mention
> the
> > > CLR. Does that mean that my .net apps/services wont run before those > > > services start?
> > > I need to run my service as early on as possible, it doesnt even

need
to
> > be
> > > a service if there is a way to run .net apps before that, anyone

knows
> > what
> > > or where?
> > >
> > >
> >
> >
>
>



Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2891
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
8
4191
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my send mail code is executed, other necessary Windows Services have been terminated before it can actually send the mail. I've updated my HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services registry DependOnService value including SMPTSVC and...
3
6140
by: illegal.prime | last post by:
Hi all, I have a service that needs to start a regular windows application. I'm running the service as ServiceAccount.LocalSystem. But, when it starts the process (using Process.Start) the GUI for the application doesn't appear - however, I can see the process in the TaskManager. Now, feel free to mention that starting a regular windows application
5
2294
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
This code works fine in Windows Application. In Windows Application, I am able to zip the image files properly and it totally contains 900MB My problem is the same code which I used in my Windows Application, does not work while I run it with Windows services. In my Windows application I am able to zip the whole 900Mb without any problems, but in my windows services I am not able to zip the whole 900Mb. In Windows Services it throws an...
2
4498
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as seperate process. If my windows application starts running,only if it completes fully, then my windows services should continue its execution. My main process is Windows service.
1
4852
by: =?Utf-8?B?dmlzaHJ1dGg=?= | last post by:
Hi, I have 2 applications running, one Windows application project and the other windows services project. I want to call my Windows application in my windows services. I want to run them as seperate process. If my windows application starts running,only if it completes fully, then my windows services should continue its execution. My main process is Windows service.
5
3307
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name? Why do I need to set a property within my code to the service name? Are all these required or am I just doing this for consistency purposes?
0
6125
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Overview NOTE- This complete article on "Windows Autorun FAQs" applies theoretically to all Windows NT-based OSes till Windows Vista (and probably Vista's successors too). Much of the contents of this article are tested on Windows XP professional SP2 by the author. Some instances of this article may be altogether different/missing on Windows Vista, XP and other Windows NT systems, but I have tried to write a...
0
30244
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is a comprehensive list of all autostart locations for Windows OSes: NOTE : These are some abbreviations used in this list. Please note them carefully: HKCU = HKEY_CURRENT_USER HKLM = HKEY_LOCAL_MACHINE
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.