473,659 Members | 3,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Win32 Svc!

How do I add a dependency on a Win32 in C#? My WinSvc depends on MSMQ
Service

TIA
Nov 16 '05 #1
2 1440
Your service project probably includes a ServiceInstalle r instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDepend edOn" which is a string array. Just add the name of the
MSMQ service in here.

Ken
"Vai2000" <no****@microso ft.com> wrote in message
news:eP******** ******@TK2MSFTN GP09.phx.gbl...
How do I add a dependency on a Win32 in C#? My WinSvc depends on MSMQ
Service

TIA

Nov 16 '05 #2
Thank you my friend.
"Ken Kolda" <ke*******@elli emae-nospamplease.co m> wrote in message
news:u2******** ******@TK2MSFTN GP09.phx.gbl...
Your service project probably includes a ServiceInstalle r instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDepend edOn" which is a string array. Just add the name of the MSMQ service in here.

Ken
"Vai2000" <no****@microso ft.com> wrote in message
news:eP******** ******@TK2MSFTN GP09.phx.gbl...
How do I add a dependency on a Win32 in C#? My WinSvc depends on MSMQ
Service

TIA


Nov 16 '05 #3

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

Similar topics

8
4761
by: Tony Johansson | last post by:
Hello! I just wonder what the difference is between a native win32-app and MFC. What I know is that you can use Win32 API in both cases. I think an MFC application is connected with a GUI which a win32 is not. You may correct me if I'm wrong on this point. //Tony
1
2173
by: Ronald S. Cook | last post by:
I was able to do my first Windows Communication Foundation test project and all worked well. But now I want to add a second class to my service. There is that Service.svc file that has only the following in it: <%@ServiceHost Language="VB" Service="MyService.clsCountry %> But now I've added a class clsState to my service. What now, am I do do in Service.svc?
0
2438
by: jbenezech | last post by:
Hi all , I have a perl/java app running under Win32. The application consists of a perl service (Win32::Daemon) and of java classes. The perl service calls every xx hours java classes to perform some action. The java call looks like this: Win32::SetChildShowWindow(0); Win32::Process::Create(
0
3522
by: ronscottlangham | last post by:
I have my WCF Web Service behind IIS and HTTPS. If I try to access from my remote client I get the following error... The requested service, 'https://db-appsvr02/appService/appService.svc' could not be activated. See the server's diagnostic trace logs for more information. If I go into IIS Manager and right click on the SVC file and set the File Security to 'Enable anonymous access' and turn off the Secure Communications Certificate...
3
4084
by: somuchh8 | last post by:
Hi, I'm having a lot of trouble with the Win32::Spawn module in perl. Here is my situation, I have a Win32::Spawn call which looks like this: my $success = undef; my $cmdline = EBDTools::os_path("${nh_home}/web/aview/modules/svcrsp-ng/saSync.pl"); $success = Win32::Spawn($^X, "${^X} $cmdline ${optfile}", $pid); if (! $success) { my $lasterr = Win32::GetLastError(); return_configerror("Failed to create commit / sync process...
7
1449
by: Rory Becker | last post by:
Having installed SP1 with no Issues... I have ....created a Web app... ....Added a LINQ to SQL dbml (MyAstoriaDataContext) for some tables in my database ....Created "MyAstoriaService.svc" and changed the passed type to "MyAstoriaDataContext" ....Added the following code to "InitializeService" ------------------------------------------------------------- config.SetEntitySetAccessRule("*", EntitySetRights.AllRead)
0
881
by: =?Utf-8?B?cHBvbw==?= | last post by:
how do I change auto update to svc pack 2? -- ppoo
3
5249
by: illyenatherin | last post by:
This is the error I'm receiving: This type of page is not served. Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.svc' may be incorrect. Please review the URL below and make sure that it is spelled correctly. Requested URL: /itst_irc/services/usermanager.svc I have added the "svc" file to the application configuration. I've tried running this: ...
4
4768
by: gjones | last post by:
Hi, I am new to web services but I have been asked to connect to an external web service through Visual Studio 2003. The problem that I have is that the company who developed the web service have not and will not publish their WSDL online and the web service is in the form of a .svc file. The other problem is that I have to go through a proxy server for external access. I have created a new console app in VS2003 and tried to add a...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8748
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
8531
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
8628
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...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
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
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.