473,386 Members | 1,647 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,386 software developers and data experts.

barking up the wrong tree?

Thanks for your time.

I've been assigned the task of building an application that will
automatically print DWG files. The list of files to print is derived from a
text file that is periodically ftp'ed to a network drive.

My current design includes a windows service and a exe file. The windows
service uses a FileSystemWatcher and a process component. The
filesystemwatcher looks for the ftp'ed file. On the create event of the
filesystemwatcher, it executes the process component which executes the exe
application to print the files.

All the pieces work independently of each other, but when I try to integrate
the two systems, the printing part doesn’t work.

Any ideas why when I call the exe from a windows service the printing
process behaves differently? The printing is being done in the exe, not the
windows service. I've read posts about the security concerns of printing to
a network printer from a service and the user permissions required. Do you
think this is my problem? ‘

Nov 23 '06 #1
2 1886
Question: I sthe exe called from the Windows Seevice?
--------------------
>Thread-Topic: barking up the wrong tree?
thread-index: AccOsKL3wGz9yB0QQn290Eg4t8ZCyg==
X-WBNR-Posting-Host: 72.128.110.77
From: =?Utf-8?B?QnJpYW4=?= <Br***@discussions.microsoft.com>
Subject: barking up the wrong tree?
Date: Wed, 22 Nov 2006 19:37:01 -0800
Lines: 21
Message-ID: <EF**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.dotnet.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.general:206295
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.dotnet.general

Thanks for your time.

I've been assigned the task of building an application that will
automatically print DWG files. The list of files to print is derived from
a
>text file that is periodically ftp'ed to a network drive.

My current design includes a windows service and a exe file. The windows
service uses a FileSystemWatcher and a process component. The
filesystemwatcher looks for the ftp'ed file. On the create event of the
filesystemwatcher, it executes the process component which executes the
exe
>application to print the files.

All the pieces work independently of each other, but when I try to
integrate
>the two systems, the printing part doesn’t work.

Any ideas why when I call the exe from a windows service the printing
process behaves differently? The printing is being done in the exe, not
the
>windows service. I've read posts about the security concerns of printing
to
>a network printer from a service and the user permissions required. Do
you
>think this is my problem? ‘

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl {\f0\fnil\fprq2\fcharset0
MS Sans Serif;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 Cheers,\par
\par
johnKn [MS-SDK]\par
\par
\par
\par
-Please do not send email directly to this alias. This alias is for \par
newsgroup purposes only\par
\par
-This posting is provided "AS IS" with no warranties, and confers no
rights.\par
\par
-To provide additional feedback about your community experience please send
\par
e-mail to: sd*****@microsoft.com\par
\f1\par
}

Nov 30 '06 #2
Why do you sign your message with an RTF code? Plain text will do just fine.

John Kn [MS] wrote:
Question: I sthe exe called from the Windows Seevice?
--------------------

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl {\f0\fnil\fprq2\fcharset0
MS Sans Serif;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs20 Cheers,\par
\par
johnKn [MS-SDK]\par
\par
\par
\par
-Please do not send email directly to this alias. This alias is for \par
newsgroup purposes only\par
\par
-This posting is provided "AS IS" with no warranties, and confers no
rights.\par
\par
-To provide additional feedback about your community experience please send
\par
e-mail to: sd*****@microsoft.com\par
\f1\par
}


--
Rinze van Huizen
C-Services Holland b.v
Dec 1 '06 #3

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

Similar topics

5
by: Jeffrey Silverman | last post by:
Hi, all. I have a linked list. I need an algorithm to create a tree structure from that list. Basically, I want to turn this: $list = array( array( 'id' => 'A', 'parent_id' => null, 'value'...
0
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
0
by: Mike MacSween | last post by:
A Production table (theatrical production), one to many to an Event table (e.g. dress rehearsal, performance 1 etc.), a Musicians table (Names of musos), and a Roles table (1st Violin, 2nd...
4
by: Tarique Jawed | last post by:
Alright I needed some help regarding a removal of a binary search tree. Yes its for a class, and yes I have tried working on it on my own, so no patronizing please. I have most of the code working,...
8
by: - | last post by:
Hi to All, To reproduce: The expression: object result = flag ? (long) 0 : (double) 0; always evaluated as a double... see dissassembly to ensure the bad compiled code.
5
by: George | last post by:
I'm getting an internal compiler error from Visual C++ .NET 2003 when I'm using managed extensions. Here is the error. Generating Code... c:\development\icu\source\common\uhash.c(869) : fatal...
0
by: sapo | last post by:
Hi all, i m trying to make an editable list with a toggle button, it shows up and i can edit the list.. but its editing the wrong cell! If i click on the toggle button on the first cell it sets...
18
by: bsruth | last post by:
I tried for an hour to find some reference to concrete information on why this particular inheritance implementation is a bad idea, but couldn't. So I'm sorry if this has been answered before....
0
LacrosseB0ss
by: LacrosseB0ss | last post by:
Hey all! I have just started using the TreeView object in asp. There are some other applications I have seen use it and I have copied some of the code from them at work. What happens is on a form,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
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,...

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.