Terrence,
If I had a user control that
1. Overwrote database changes
2. Polled an Access database for changes every 5 seconds
the first thing I would do is throw the user control in the trash.
Kerry Moorman
> I am using a User Control that reads and writes data to an Access Database
> using OLE DB classes (OleDbConnection...) I believe the control is storing
[quoted text clipped - 22 lines]
>
> Terrence
brinko99 - 29 Aug 2007 02:42 GMT
To be fair (somewhat)...
The user control I'm using was not designed to be used by multiple
connections (users). Thus I suppose they see their in-memory copy as the
real golden data with the DB as a means to persist the data on disk.
The "polling" is somewhat unclear to me. I know that there is some sort of
5s polling by watching the file read and writes with Sysinternals FileMon.
Every 5s I see a read. After my process updates the database, I see that the
next read made by the UserControl process is followed by a file Flush and
other activity, presumably synchronizing their DataSet.
I believe this type of polling is built in functionality of OLE DB and
ADODB. When I create my ADODB connection I see another polling of the
database file with a period of 5s.
Any other thoughts are appreciated.
> Terrence,
>
[quoted text clipped - 33 lines]
> >
> > Terrence