Click here to Skip to main content
15,898,134 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: System.Timers.Timer Event Handling with Web Message Box Pin
Dave Kreskowiak12-Nov-10 3:40
mveDave Kreskowiak12-Nov-10 3:40 
GeneralRe: System.Timers.Timer Event Handling with Web Message Box Pin
ggoutam715-Nov-10 20:26
ggoutam715-Nov-10 20:26 
Questionprogam of checkbox Pin
Assinateq10-Nov-10 19:04
Assinateq10-Nov-10 19:04 
AnswerRe: progam of checkbox PinPopular
_Erik_11-Nov-10 1:24
_Erik_11-Nov-10 1:24 
GeneralRe: progam of checkbox Pin
Assinateq14-Nov-10 23:06
Assinateq14-Nov-10 23:06 
GeneralRe: progam of checkbox Pin
_Erik_15-Nov-10 5:30
_Erik_15-Nov-10 5:30 
GeneralRe: progam of checkbox Pin
Assinateq15-Nov-10 14:31
Assinateq15-Nov-10 14:31 
Questionlet captured temperature store in limited database slot and run in loop Pin
kun8510-Nov-10 19:00
kun8510-Nov-10 19:00 
hi,
i have written a code,my current code captures real time temperature,it adds the captured temperature to the database.But the problem is the code keeps running infinite.I want it to start from 0(database slot) and stop at 288 (database slot)and to keep running in a loop.How do i do it.Please advice.

VB
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        Dim cBuilder As New OleDb.OleDbCommandBuilder(dAdapter)
        Dim dsNewRow As DataRow

        dsNewRow = dSet.Tables("test1").NewRow()
        dsNewRow.Item("Temperature") = TextBox8.Text
        dSet.Tables("test1").Rows.Add(dsNewRow)
        dAdapter.Update(dSet, "test1")
        dSet.Clear()
        dAdapter.Fill(dSet, "test1")

    End Sub

AnswerRe: let captured temperature store in limited database slot and run in loop Pin
Luc Pattyn11-Nov-10 0:08
sitebuilderLuc Pattyn11-Nov-10 0:08 
AnswerRe: let captured temperature store in limited database slot and run in loop Pin
kun8511-Nov-10 16:02
kun8511-Nov-10 16:02 
QuestionEmbedded Resource xml help. [modified] Pin
crain198110-Nov-10 14:03
crain198110-Nov-10 14:03 
AnswerRe: Embedded Resource xml help. Pin
_Erik_11-Nov-10 1:16
_Erik_11-Nov-10 1:16 
GeneralRe: Embedded Resource xml help. Pin
crain198111-Nov-10 12:49
crain198111-Nov-10 12:49 
GeneralRe: Embedded Resource xml help. Pin
Dave Kreskowiak11-Nov-10 12:54
mveDave Kreskowiak11-Nov-10 12:54 
GeneralRe: Embedded Resource xml help. Pin
_Erik_11-Nov-10 13:20
_Erik_11-Nov-10 13:20 
GeneralRe: Embedded Resource xml help. Pin
crain198111-Nov-10 13:23
crain198111-Nov-10 13:23 
GeneralRe: Embedded Resource xml help. Pin
_Erik_11-Nov-10 13:58
_Erik_11-Nov-10 13:58 
QuestionApplication Security - Advice Pin
Simon_Whale10-Nov-10 5:32
Simon_Whale10-Nov-10 5:32 
AnswerRe: Application Security - Advice Pin
_Erik_10-Nov-10 6:59
_Erik_10-Nov-10 6:59 
GeneralRe: Application Security - Advice [modified] Pin
Simon_Whale10-Nov-10 9:06
Simon_Whale10-Nov-10 9:06 
AnswerRe: Application Security - Advice Pin
Dave Kreskowiak10-Nov-10 7:30
mveDave Kreskowiak10-Nov-10 7:30 
GeneralRe: Application Security - Advice Pin
Simon_Whale10-Nov-10 9:03
Simon_Whale10-Nov-10 9:03 
AnswerRe: Application Security - Advice Pin
Eddy Vluggen10-Nov-10 7:43
professionalEddy Vluggen10-Nov-10 7:43 
AnswerRe: Application Security - Advice Pin
vbjay.net11-Nov-10 3:08
vbjay.net11-Nov-10 3:08 
AnswerRe: Application Security - Advice Pin
Cameron Marsden11-Nov-10 10:26
Cameron Marsden11-Nov-10 10:26 

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.