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

How To: Save the export of a windows system service on a network s

I have a windows service that runs as a system service (so noone has to be
logged in for the service to work). A part of the service contains code to
export the results in a file. This is where the problem is. The same code
should also work on a client (front-end), but that is another (already
solved) issue.

At first I was thinking of having the results written to a local path, but
the my client wants it at a share at one of their file servers.

The thing that I had:
- I used wmi to check a certain drive / directory on file names and
extensions. Since I'm dealing with an automated process. The idea is to
export the data of one kind of process data in filenameA and have the
extension run up from .000 to .999 (which is outraguously too much anyways).
In that case I would create files like: filenameA.001
after the check I'd know what the next filename should be. and then write it
to the location.

But now I have to do it on a remote location.

So the question really is this: Can I write files to a remote location
(Fileserver in lan) with my windows service (if it goes for the service it
goes for the front-end client)

And if the answer is yes then my question would be: How?

I thank you in advance
Jan 4 '06 #1
1 2214
Still no reply?
I didn't know my question would be that hard :( I guess it means that its
impossible then

"SL33PY" wrote:
I have a windows service that runs as a system service (so noone has to be
logged in for the service to work). A part of the service contains code to
export the results in a file. This is where the problem is. The same code
should also work on a client (front-end), but that is another (already
solved) issue.

At first I was thinking of having the results written to a local path, but
the my client wants it at a share at one of their file servers.

The thing that I had:
- I used wmi to check a certain drive / directory on file names and
extensions. Since I'm dealing with an automated process. The idea is to
export the data of one kind of process data in filenameA and have the
extension run up from .000 to .999 (which is outraguously too much anyways).
In that case I would create files like: filenameA.001
after the check I'd know what the next filename should be. and then write it
to the location.

But now I have to do it on a remote location.

So the question really is this: Can I write files to a remote location
(Fileserver in lan) with my windows service (if it goes for the service it
goes for the front-end client)

And if the answer is yes then my question would be: How?

I thank you in advance

Jan 5 '06 #2

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

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
2
by: JP | last post by:
Can anybody explain me , what is Local System , Local Service and Network Service and how they practically differ from each other. --JP
6
by: Bijesh | last post by:
Hi All, I've developed a Windows Service that acts as a remoting server (.NET Remoting). The client(user) is able to connect to the server and start a program by giving the executable path of...
10
by: Ger | last post by:
I am having problems using VB.Net's Management base object on a machine hosting Windows Server 2003. I am trying to set file permissions from a Windows Service. These files may be loacted on a...
3
by: Miriam | last post by:
Hello, I created a Windows Service in VB.NET, which is to purge files periodically in the local system and also in the shared network drive. Here is my problem: 1. If I set the “Account”...
27
by: pisquem | last post by:
I am building an windows service that is to be deployed on a windows server 2003 and I want to have activity written to the event log, I want its own log called ('CustomLog') Below is what I...
10
by: dermot | last post by:
I have wrriten a small windows service application in visual studio ..net 2003 which listens for incoming FTP files. These files would overwrite over time due to duplicate file names. However any...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
1
by: eblackmo | last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.