|
by: Marcelo López |
last post by:
Hi all.
I'm developing a Windows Explorer like app.
I have my own repository to store the files and a bd where i keep the path
to each file.
I have to watch the repository all time to avoid modifications by other
people. So that, i'm using a win service in wich i implement a file watcher.
I have two basic questions:
|
by: JIM.H. |
last post by:
Hello,
I am calling this sub to start watcher. It seems if the network drive went
down and came back, watcher is not checking the file anymore. What is the
secure way to stop it and call this sub to start it again.
Thanks,
Jim.
Private Sub WatchFileSystem(ByVal fPath As String, ByVal fName As String)
|
by: Marcelo López |
last post by:
Hi all.
I'm developing a Windows Explorer like app.
I have my own repository to store the files and a bd where i keep the path
to each file.
I have to watch the repository all time to avoid modifications by other
people. So that, i'm using a win service in wich i implement a file watcher.
I have two basic questions:
|
by: Jack David |
last post by:
I am using the following code to monitor a directory for new files. The
problem is that when I add a new file to the directory the code creates two
events??? what do I have to do to limit it to only one event??
using System;
using System.IO;
namespace DirectoryWatcher
|
by: R.A. |
last post by:
Hi
I have a class which contains a datagrid and a file watcher object.
When the file watcher event is triggered then in the event handler I add
rows to the data grid. the problem is that every time I add rows to the
datagrid from the file watcher event handler the program stops - there are
no exceptions thrown the program just terminates. I have checked the
datagrid without adding rows in the file watcher handler and there are no...
|
|
by: Stuart Ferguson |
last post by:
I am currently writing a Windows service which monitors multiple folders
and processes the files in them accordingly. The folders to be monitored
are stored in a string array.
I can think of 2 ways of determining which folder has had the file
dropped into it and was wondering if there was a better way. The 2
solutions i have are as follows.
1) When the file is picked up by the OnChanged event search the array to
determine the file...
|
by: Jarrod Morrison |
last post by:
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...
|
by: =?Utf-8?B?QXZp?= |
last post by:
Hi
I have an interesting issue, I hope someone can shead light on:
I have a 2 server "web farm" with a web app that produces image files. To
ensure synchronization of content on both machines, we have built a vb.net
(2.0) file watcher service to keep the web folders synchronized between the 2
machines. the app uses in-proc session variables for some other stuff.
We have run into a strange problem: when the file watcher service is
|
by: Keith G Hicks |
last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher"
project. Starting and stopping the watcher and reading my XML file work
fine. Once the watcher is started, I'm reading the text files from the
watched folder line by line into variables and then posting them to a SQL
table.
All of the code for the form is shown below. And it works fine except for 2
issues.
First issue: In the Finally of the Try for teh SQL...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: 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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|