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

FileSystem Watcher not working in win98

Hi
i am using filesystemwatcher class in .net but that is not working in win98
& winNT.
Ifound that there are API like
FIndFirstChangeNotification & FindnextChangeNotification to get change
notification in win98 but it doesn't give the information that which file is
chnage & what is the change. I need this information necessiarlity.

I know in WinNT this problem is solved by using ReadDirectoryChangeW Api but
i need some generic solution for both Win98 & WinNT. Also i don't want to
take snapshot of the information before making changes as this is
performance degraded. Suggest me the way.

This is very urgent. So tell me the solution as soon as possible
Nov 17 '05 #1
1 1612
hi,

AFAIK there is no way to solve this problem in w98, I had a similar issue
and could not found a solution, luckily the client upgraded to XP :)

what I did, was create a timer and check for the file I was expecting for.
it was not the best of the solution but it worked fine enough for me.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Puneet Trehan" <pu**********@hotmail.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
Hi
i am using filesystemwatcher class in .net but that is not working in
win98
& winNT.
Ifound that there are API like
FIndFirstChangeNotification & FindnextChangeNotification to get change
notification in win98 but it doesn't give the information that which file
is
chnage & what is the change. I need this information necessiarlity.

I know in WinNT this problem is solved by using ReadDirectoryChangeW Api
but
i need some generic solution for both Win98 & WinNT. Also i don't want to
take snapshot of the information before making changes as this is
performance degraded. Suggest me the way.

This is very urgent. So tell me the solution as soon as possible

Nov 17 '05 #2

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

Similar topics

0
by: Michele | last post by:
Hi all, There's a web-based project I'm working on, which my boss insists should be implemented as a java web service: I know Java, but I'm a complete newcomer to web services, so I would badly...
9
by: Peter Hansen | last post by:
The term "mock filesystem" refers to code allowing unit or acceptance tests to create, read and write, and manipulate in other ways "virtual" files, without any actual disk access. Everything is...
0
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...
0
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...
10
by: sp | last post by:
The application is written in Visual Basic / .NET and working without problems under Windows XP, Windows 2000, Windows 2003 but it isn't working under Windows ME and Windows 98 - the computer...
1
by: s421979 | last post by:
Hi, I am using file system watcher to detect new file has been uploaded. the thing is working properly with any ftp software but the problem is when i received the file and open and read it's...
5
by: Lilith | last post by:
Would I be correct in assuming that the system file watcher is only valid for local drives and won't work for networked file system? -- Lilith
9
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...
2
by: visweswaran2830 | last post by:
HI, I Want to filter a file using filesystem watcher. In that, I want to filter more than one type. Let it be, *.exe, *.java....... How can I achieve this
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...
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...
1
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...
0
isladogs
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.