473,387 Members | 1,745 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.

VB.NET File watcher/transfers question ?

Hello

Im sure this is possible im just not sure about the best way to approach it
so any help or comments is greatly appreciated

I have a windows service program that runs at startup and remains always
running. This service interacts with the user and a database server and
supports remote commands with a management package that our company uses. At
present we are running an app on a server that we are trying to move the
local machines which is easy enough. This particular app interfaces with an
sql server but has components that are added or removed on a weekly basis or
sometimes daily (By components i mean addin files that are loaded at the
startup of the program and at predefined program refresh times). The issue
we have now we are running the program locally is that i dont know what the
best way is to go about transferring the initial files from a server based
UNC path and then monitoring these files to see if they change and transfer
them either at a predefined interval or automatically after they are created
or modified and how to remove them when they are deleted. The amount of data
for any given period is between 1MB and 10MB at the moment and shouldnt grow
to much.

So my question is how would you approach this ?

Any help is greatly appreciated
Jan 3 '06 #1
1 1278
jg
solution depends on scale.
how many workstations being deployed
what is the growth rate
why? if this is large network of lots of PC using this app, refreshing the
app may bog down the network or server.
10MB* 100 is 1GBytes.
if only refreshed once a day at night, you may not have worry for a long
time. otherwise you may have to look for more complex alternative like
server client cooperative simulcasts and receive.
there is this file watcher example form msdn. Sorry, I don't remember the
url.
There is also some other example of application start-up code to check for
new files plus example of timed search for new files and reload./download

"Jarrod Morrison" <ja*****@ihug.com.au> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello

Im sure this is possible im just not sure about the best way to approach
it
so any help or comments is greatly appreciated

I have a windows service program that runs at startup and remains always
running. This service interacts with the user and a database server and
supports remote commands with a management package that our company uses.
At
present we are running an app on a server that we are trying to move the
local machines which is easy enough. This particular app interfaces with
an
sql server but has components that are added or removed on a weekly basis
or
sometimes daily (By components i mean addin files that are loaded at the
startup of the program and at predefined program refresh times). The issue
we have now we are running the program locally is that i dont know what
the
best way is to go about transferring the initial files from a server based
UNC path and then monitoring these files to see if they change and
transfer
them either at a predefined interval or automatically after they are
created
or modified and how to remove them when they are deleted. The amount of
data
for any given period is between 1MB and 10MB at the moment and shouldnt
grow
to much.

So my question is how would you approach this ?

Any help is greatly appreciated

Jan 3 '06 #2

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

Similar topics

9
by: Paul | last post by:
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit...
3
by: Ron Vecchi | last post by:
Hi all, Can someone point me in the direction on this one, resources or examples. I am writing a Windows Service to monitor a folder. When I file is modified within the folder or any subfolders...
2
by: Jack David | last post by:
Using the code below I am able to monitor a single directory for a new file and then kick-off a process to deal with the file. The question is??? How would I modify this code to be able to monitor...
6
by: Andy B | last post by:
What would i use to look for changes in a file every minute?
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: 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...
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
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,...
0
jinu1996
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...

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.