Click here to Skip to main content
15,914,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Namespaces Pin
Christian Graus1-Aug-07 13:49
protectorChristian Graus1-Aug-07 13:49 
QuestionUsing HasChanges to find unsaved data Pin
steve_rm1-Aug-07 11:58
steve_rm1-Aug-07 11:58 
AnswerRe: Using HasChanges to find unsaved data Pin
ctlqt121-Aug-07 18:46
ctlqt121-Aug-07 18:46 
Questionstart and stop timer Pin
Cory Kimble1-Aug-07 10:57
Cory Kimble1-Aug-07 10:57 
AnswerRe: start and stop timer Pin
Johan Hakkesteegt1-Aug-07 20:16
Johan Hakkesteegt1-Aug-07 20:16 
GeneralRe: start and stop timer Pin
Cory Kimble2-Aug-07 3:02
Cory Kimble2-Aug-07 3:02 
GeneralRe: start and stop timer Pin
Johan Hakkesteegt2-Aug-07 23:16
Johan Hakkesteegt2-Aug-07 23:16 
AnswerRe: start and stop timer Pin
Cory Kimble3-Aug-07 2:06
Cory Kimble3-Aug-07 2:06 
Can anyone help me with this?

I am able to stop and start the timer on my program when I click something. But when I try to stop and start a timer in a method that runs when a file is updated, it would stop the timer. WHY?:


Private Sub OnChanged(ByVal source As Object, ByVal e As FileSystemEventArgs)<br />
Me.updateTimer.Stop()<br />
        frm.OpenFile(OpenCertainFile)<br />
        Do While Not EOF(1) <br />
<br />
            Input(1, Str.Ticket)<br />
            Input(1, Str.Hauler)<br />
            Input(1, Str.Truck)<br />
            Input(1, Str.Material)<br />
            Input(1, Str.DateIn)<br />
            Input(1, Str.DateOut)<br />
            Input(1, Str.WeighIn)<br />
            Input(1, Str.WeighOut)<br />
            Input(1, Str.NetWeigh)<br />
            Input(1, Str.Loader)<br />
<br />
            <br />
            If Str.Ticket = newDataGrid.Item(newDataGrid.CurrentRowIndex, count).ToString Then<br />
                MessageBox.Show("Same")<br />
            Else<br />
                MessageBox.Show("Not same")<br />
            End If<br />
            count = count + 1<br />
        Loop<br />
<br />
        FileClose(1)<br />
<br />
<br />
<br />
        Me.updateTimer.Start()

QuestionCustom event on variable change Pin
2hdass1-Aug-07 7:58
2hdass1-Aug-07 7:58 
AnswerRe: Custom event on variable change Pin
Colin Angus Mackay1-Aug-07 8:22
Colin Angus Mackay1-Aug-07 8:22 
GeneralRe: Custom event on variable change Pin
2hdass1-Aug-07 9:17
2hdass1-Aug-07 9:17 
Questionsend data from a listbox to textbox Pin
sixecho1-Aug-07 6:14
sixecho1-Aug-07 6:14 
AnswerRe: send data from a listbox to textbox Pin
Colin Angus Mackay1-Aug-07 8:18
Colin Angus Mackay1-Aug-07 8:18 
GeneralRe: send data from a listbox to textbox Pin
sixecho1-Aug-07 9:19
sixecho1-Aug-07 9:19 
GeneralRe: send data from a listbox to textbox Pin
Colin Angus Mackay1-Aug-07 10:11
Colin Angus Mackay1-Aug-07 10:11 
GeneralRe: send data from a listbox to textbox Pin
Colin Angus Mackay2-Aug-07 7:51
Colin Angus Mackay2-Aug-07 7:51 
QuestionChanging button border Pin
HelpMePlease!1-Aug-07 5:40
HelpMePlease!1-Aug-07 5:40 
AnswerRe: Changing button border Pin
Taylor Kobani1-Aug-07 10:20
Taylor Kobani1-Aug-07 10:20 
GeneralRe: Changing button border Pin
HelpMePlease!1-Aug-07 12:43
HelpMePlease!1-Aug-07 12:43 
QuestionCalculate downtime excluding off-hours and weekends Pin
takaz1231-Aug-07 5:11
takaz1231-Aug-07 5:11 
AnswerRe: Calculate downtime excluding off-hours and weekends Pin
klaydze1-Aug-07 20:04
klaydze1-Aug-07 20:04 
GeneralRe: Calculate downtime excluding off-hours and weekends Pin
takaz1231-Aug-07 21:49
takaz1231-Aug-07 21:49 
QuestionHow to attach any extension with your application Pin
Rizwan Bashir1-Aug-07 5:04
Rizwan Bashir1-Aug-07 5:04 
AnswerRe: How to attach any extension with your application Pin
Luc Pattyn1-Aug-07 5:14
sitebuilderLuc Pattyn1-Aug-07 5:14 
GeneralRe: How to attach any extension with your application Pin
Rizwan Bashir2-Aug-07 1:58
Rizwan Bashir2-Aug-07 1:58 

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.