[ADVANCED-DOTNET] Workstation / Server CLR for a Windows Service

2004-05-11 Thread Chris Mullins
Currently my .NET Windows Service loads using the Workstation CLR. I'm looking for a mechanism by which I can create a Windows Service that will be hosted using the Server CLR, and still allow me to continue using the SeviceBase class and all of the ServiceInstaller classes. In the normal exe

Re: [ADVANCED-DOTNET] Workstation / Server CLR for a Windows Service

2004-05-11 Thread Matt Davey
Hi, We don't use MSI, so can't help U there. From a Win32 service viewpoint, we wired the start service up to create the CComPtrICorRuntimeHost , Unwap our interface and call run, we then do a WaitForSingleObject - the service stop signals this wait, which causing the WaitForSingleObject to

[ADVANCED-DOTNET] MSMQ

2004-05-11 Thread Saravana Prasad S
Hi All, Is there anyway one can programatically know the number of messages in a queue. I couldn't figure out any in System.Messaging namespace. Thanks Regards, --- Saravana Prasad S Software Engineer -Dell | Aries Picture

Re: [ADVANCED-DOTNET] MSMQ

2004-05-11 Thread Chris Day
I'm not sure if this works, and it is inefficient but call GetEnumerator() on the MessageQueue class then iterate though each message incrementing a counter, and voila you have the number of messages. I'm not sure if iterating is going to pull the messages off, or that it will be quick! If you

Re: [ADVANCED-DOTNET] MSMQ

2004-05-11 Thread Thomas Tomiczek
Isn't there a WMI integration where you can see the queue and it's parameters? Should be. Thomas Tomiczek THONA Software Consulting Ltd. (Microsoft MVP C#/.NET) (CTO PowerNodes Ltd.) -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED]

[ADVANCED-DOTNET] .Net Academic Version Question

2004-05-11 Thread J Guerin
Does anyone use the Visual Studio .Net Academic version for development of production web-sites or know if it can be used for this purpose? Or is it limited as a teaching tool. === This list is hosted by DevelopMentorĀ® http://www.develop.com Some .NET courses you

Re: [ADVANCED-DOTNET] .Net Academic Version Question

2004-05-11 Thread Jason Bunting
The license does not permit one to develop sites for profit. The version is simply the Professional version, so there are no limits in the software in that sense - it is simply a licensing issue. Jason Bunting -Original Message- From: Unmoderated discussion of advanced .NET topics.