|
by: Gerhard Swart |
last post by:
Hi all. I'm writing a queue browser that reads queues from a specified
machine and then display the data that's on the queue. I am using the
MessageQueue Class in .Net(C#).
I get the problem that I can't read the journal private queue on a remote
machine. I don't know if this is possible though. I have tried all the
possible options but can't seem to get it to work. The code that I tried is:
MessageQueue _mq = new MessageQueue(...
|
by: Anthony Boudouvas |
last post by:
Hi to all,
i have made a module that can get a list of services running on a
local or remote machine.
So i have machine A that get a list of services of machine B
The way the configuration is at the moment, is that in machine B,
i have create a user account with the same credentials (username/password)
that i was logged in machine A, so when i run the following
|
by: Tom J |
last post by:
What do I have to do to get
System.ServiceProcess.ServiceController.ExecuteCommand(int) to work?
I have written a service that overrides OnCustomCommand to handle commands
sent to it.
If I have application code like:
----------------------------------------------------------
ServiceController sc = new ServiceController("MyService");
|
by: Serdar Kalaycý |
last post by:
Hi everybody,
My problem seems a bit clichè but I could not work around.
Well I read lots of MSDN papers and discussions, but my problem is a bit
different from them. When I tried to run the project in debug mode (by
hitting F5) it gives an error message
"Error while trying to run project: Unable to start debugging on the web
server.
|
by: Scupper |
last post by:
I'm trying to write an application that will periodically check a server
for certain services and, if they are not running, attempt to start them.
I'm using System.ServiceProcess and have no trouble detecting which
services are up and which are stopped, regardless of what platform my
application is running on.
However, when I try to start services, success is very intermittent. As far
as I can tell, running on XP or 2000 makes it...
|
|
by: SenthilVel |
last post by:
Hi
We use System.ServiceProcess.ServiceController class is used to get the list
of windows services installed in a particular machine.
Also we use System.ServiceProcess.ServiceController.GetServices("IIS") to
get the control on the IIS ..
In the same way can we get the List of services which are part of the COM+
applications.
|
by: Martin Arvidsson, Visual Systems AB |
last post by:
Hi!
I am using a ServiceController to start and stop my service.
If i use the service localy and use the service controller it works fine.
If i install the service on my server and try to connect to the service on
that machine i get an access denied message. I am logged in as an
Administrator on the client computer.
|
by: =?Utf-8?B?YXVsZGg=?= |
last post by:
hello,
i'm try to research the way to open a remote machine's to collect the
services and processes. i have the local data collection running but i can
not figure out what MSDN or the C# help file is stating how to use
"servicecollecter.machinename" to get the remote server's data.
there is no samples on using framework to do this but loads of WMI.
can someone share any sample / snippet on using framework with C# 2005 to
get the...
|
by: MedIt |
last post by:
Hi all,
I am trying to controll a service programatically using the ServiceController class .net c#.
It is giving me an error that it cannot find the service name.
I have tried it stopping with the command line using NET, and it works but not with my code!
Can anyone please point me where I might be wrong?
My code:
string SERVICENAME = "TestService";
|
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,...
|
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...
|
|
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,...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|