473,581 Members | 2,755 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Service, WMI & Process-Class and Windows 2003 Server?

Hi all,

I have developed a windows service with Visual Basic .NET which starts
a file conversion tool via the commandline. The tool open the files
(z.B. Word, Excel, Acrobat...) and prints them over an image printer
driver to tiff-files. On my Windows XP client it works fine, but on
the target system (Windows 2003 Server) some issues occured:

My first release uses the framework process class to start the
application. As a standalone application (not as service) the
conversion works for office documents, but not for pdf files, which
should be printed with the acrobat viewer. I have testet different
acrobat versions, but without success. If the application is running
as a windows service, the process would be started but no file could
be printed.

So I have changed the way of calling the conversion tool. Now i use
the WMI Management Class to start this process. With this function my
application converts all types of documents, but only in the
standalone mode, that means not as a service. If i start this
application as a service, again no file could be converted...

On my WIndows XP client both versions works as a service! The
manufacturer of th conversion tool could not help me by solving this
problem, so i hope that someone in this group have an idea what the
problem is....

Many thanks in advance
Jul 21 '05 #1
0 1578

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

Similar topics

by: Ross Presser | last post by:
OK, I've been researching this problem and can't find a definitive answer yet. The situation is one that seems to have come up a few times to different folks. I am writing an application that will function as a windows service and will also present a GUI to the user. I don't want "Interact with desktop"; I want the same exe to run as a...
by: TieTo | last post by:
Hello, I'm looking for a way to identify a running process from which service it is started. All seems working well so far. I am using a simpel wmi call to enumerate all running processes and all installed services. I then compare the 'Pathname' property from the service against the 'Commandline' property of the running process to see if...
by: BizzyTalking | last post by:
Would any kindly tell me if its possible to communicate between a service and a form application. For example, retrieve information from the service, like current activity or progress of its operations. In particular, I would like to to monitor more than just whether a service is running. In the system tray I would like to display whether the...
by: Adam Clauss | last post by:
I have a C# Windows Service running as the NetworkService account because it needs to access a network share. As part of the service's initialization, I want the service to terminate, if an unrecoverable error occurs. When that case occurs, I create a ServiceController object and call the Stop() method. However - I get an exception...
by: dp | last post by:
hello, I have service that copy dll file that contain information of one of the sources of the event viewer. the service is in system permission. if someone used event viewer before the process , and even shut off the event viewer, he get error in the copy process that means "The requested operation cannot be performed on a file with a...
by: Marcel Serour | last post by:
hello I would like to create a service that stays hidden from the user (the idea is to stop the user from killing the service, so the client specified to hide it) I thought to create my service as a thread, passing SERVICE_WIN32_SHARE_PROCESS instead of own process but it is still creating it's own proccess.. anybody knows why that...
by: Jianwei Sun | last post by:
Hi, all, I have a question, and I hope to get some hints here.. I created a really simple service just to check why the service manager doesn't start my service the second time if the first time failed.. I created an atl service through the wizard, and the only thing I do is override the PreMessageLoop()...
by: =?Utf-8?B?UG90c2FuZw==?= | last post by:
Hi, I have a window service program created in c#. The window service program is installed and running. In the mean time, I have another c# application, I would like to know if there is a way to find out in this c# application where (the complete path)the window service program is running from. Can someone provide the sample code? ...
by: SugarDaddy | last post by:
Here's my problem. I have an NT service (really a .NET service) running as local system. I have a .NET form running on the user account. The form and the service communicate via an IPC Channel so the form can control the service and do various things. Both applications share the same set of dlls. When performing an update of some of...
by: TonyJ | last post by:
Hello! Below I have the two methods OnStart and Start that are relevant to my question. If I do net start TimeServerService I will see something like Service TimeServerService starting ......... It wasn't possible to start the service TimeServerService The reason for this it that OnStart doesn't return becuse it will stuck in a loop in...
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...
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. ...
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...
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...
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...
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...
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: 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...

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.