473,387 Members | 1,925 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

.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
Stephan
Jul 21 '05 #1
0 1556

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

Similar topics

7
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...
4
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...
3
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...
23
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...
0
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 ,...
6
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...
4
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...
9
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...
3
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...
2
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.