Click here to Skip to main content
15,911,306 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb6 with crystal report 8.5 Pin
Nine_20-Jun-07 16:43
Nine_20-Jun-07 16:43 
AnswerRe: vb6 with crystal report 8.5 Pin
Tirthadip20-Jun-07 21:50
Tirthadip20-Jun-07 21:50 
GeneralRe: vb6 with crystal report 8.5 Pin
Nine_20-Jun-07 22:34
Nine_20-Jun-07 22:34 
GeneralRe: vb6 with crystal report 8.5 Pin
Dave Kreskowiak21-Jun-07 4:24
mveDave Kreskowiak21-Jun-07 4:24 
QuestionVB Timer and XML read/write question Pin
commieJerk20-Jun-07 16:00
commieJerk20-Jun-07 16:00 
AnswerRe: VB Timer and XML read/write question Pin
Dave Kreskowiak21-Jun-07 4:22
mveDave Kreskowiak21-Jun-07 4:22 
GeneralRe: VB Timer and XML read/write question Pin
commieJerk21-Jun-07 4:48
commieJerk21-Jun-07 4:48 
GeneralRe: VB Timer and XML read/write question Pin
Dave Kreskowiak21-Jun-07 14:20
mveDave Kreskowiak21-Jun-07 14:20 
This is how I would do it. There is a server that exposes a remotable component that manages the database. This includes creating new logs and notifying all the clients of changes to the logs.

This component would keep track of all the clients connected to it. When one of the clients tells this component to create a new log, the entry is created in the database, then a notification event gets raised with all the clients. The clients can then get the update from the component. The same would also be true for any updates to any log.

You could use a FileSystemWatcher to watch the folder where the XML files are stored, but there are problems with this. The FSW can only "see" changes to the file sizes depending on the O/S file system update interval. Just because a change is written to a file does NOT mean that the files Last Modified time gets updated when the change is made. There can be as much as a two minute delay before the FWS sees this change, depending on the server file system, of course.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: VB Timer and XML read/write question Pin
commieJerk22-Jun-07 3:42
commieJerk22-Jun-07 3:42 
GeneralRe: VB Timer and XML read/write question Pin
Dave Kreskowiak22-Jun-07 16:47
mveDave Kreskowiak22-Jun-07 16:47 
Questionpicture appearing in VB 2005 express edition Pin
ali3nz0r20-Jun-07 14:43
ali3nz0r20-Jun-07 14:43 
AnswerRe: picture appearing in VB 2005 express edition Pin
_Damian S_20-Jun-07 14:56
professional_Damian S_20-Jun-07 14:56 
AnswerRe: picture appearing in VB 2005 express edition Pin
Christian Graus20-Jun-07 15:07
protectorChristian Graus20-Jun-07 15:07 
GeneralRe: picture appearing in VB 2005 express edition Pin
ali3nz0r20-Jun-07 15:08
ali3nz0r20-Jun-07 15:08 
GeneralRe: picture appearing in VB 2005 express edition Pin
Christian Graus20-Jun-07 15:14
protectorChristian Graus20-Jun-07 15:14 
GeneralRe: picture appearing in VB 2005 express edition Pin
ali3nz0r20-Jun-07 15:16
ali3nz0r20-Jun-07 15:16 
GeneralRe: picture appearing in VB 2005 express edition Pin
Christian Graus20-Jun-07 15:51
protectorChristian Graus20-Jun-07 15:51 
QuestionUsing Multiple Forms Pin
MARKSHAM20-Jun-07 12:15
MARKSHAM20-Jun-07 12:15 
AnswerRe: Using Multiple Forms Pin
Christian Graus20-Jun-07 13:41
protectorChristian Graus20-Jun-07 13:41 
GeneralRe: Using Multiple Forms Pin
MARKSHAM22-Jun-07 4:25
MARKSHAM22-Jun-07 4:25 
Questionstring tokenization Pin
hsprasain20-Jun-07 11:49
hsprasain20-Jun-07 11:49 
AnswerRe: string tokenization Pin
TwoFaced20-Jun-07 12:16
TwoFaced20-Jun-07 12:16 
GeneralRe: string tokenization Pin
hsprasain20-Jun-07 12:56
hsprasain20-Jun-07 12:56 
AnswerRe: string tokenization Pin
TwoFaced20-Jun-07 12:25
TwoFaced20-Jun-07 12:25 
QuestionMedia control Pin
stijn.janssen20-Jun-07 8:47
stijn.janssen20-Jun-07 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.