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

Visual Basic

 
GeneralRe: Mysql update - STUCK Pin
LegionFX21-Jun-07 5:04
LegionFX21-Jun-07 5:04 
AnswerRe: How to store from listbox to array in vb.net Pin
Sanjay Kunjam20-Jun-07 21:13
Sanjay Kunjam20-Jun-07 21:13 
GeneralRe: How to store from listbox to array in vb.net Pin
Kanwal0921-Jun-07 22:09
Kanwal0921-Jun-07 22:09 
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 
Just 2 questions that are related.

I have a datagridview control and I would like to have it check every minute or so for the xml file it uses and see if there are any new entries. I am kinds of new VB.net (I have been using MS Access with VBA a while though).

1. I am not sure how to make a timer function that waits for 1 min and checks for updated info. A date/time stamp is part of the XML file so if there are new elements added i can tell by querying for anything past the last date time in the dategridview. I guess really im asking if I should just use the basic system.windows.forms.timer and should I make it a asynchronous thing? Never made something like this that keeps running in the background.

2. Is there a way to manage the XML file so it is not locked when I read it for this timer function? Im not really worried about 5 or 6 clients reading it every min but id be nice to say I have it managed if there are 200 clients. I am currently just using XmlDocument and the .load to read it. If there is a new record to be added im pretty sure that the xml file will need to be locked using (Using) or .lock?

Well thats more than 2 questions and I appreciate your help and this is a great site.
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 
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 

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.