Click here to Skip to main content
16,006,845 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: .NET Crashes Pin
Anonymous13-Jan-03 1:07
Anonymous13-Jan-03 1:07 
GeneralStupid VB glitch Pin
Kevnar10-Jan-03 4:10
Kevnar10-Jan-03 4:10 
GeneralRe: Stupid VB glitch Pin
Glenn Dawson10-Jan-03 4:48
Glenn Dawson10-Jan-03 4:48 
GeneralRe: Stupid VB glitch Pin
Kevnar10-Jan-03 5:13
Kevnar10-Jan-03 5:13 
GeneralRegarding toolbar Pin
suresh_sathya10-Jan-03 0:47
suresh_sathya10-Jan-03 0:47 
QuestionHow Can i detect <Return> in datagrid Cell Pin
intibnin9-Jan-03 20:27
intibnin9-Jan-03 20:27 
AnswerRe: How Can i detect <Return> in datagrid Cell Pin
Nick Seng9-Jan-03 21:33
Nick Seng9-Jan-03 21:33 
GeneralTimer problem... Pin
Ruca9-Jan-03 6:54
Ruca9-Jan-03 6:54 
Hi, I'm iusing a Do..until loop to receive data from a modem, one of the conditions for the loop to finish is a boolean variable (bTimeOut), assined to TRUE when then Timer finish is count, i did like:

Settings.bTimeOut = False
Settings.Timer1.Enabled = True

Do

If Main.MSComm1.InBufferCount Then Buffer = Buffer & Main.MSComm1.Input

Loop Until (InStr(1, Buffer, Res & vbCrLf) Or (Settings.bTimeOut = True))

Settings.Timer1.Enabled = False
Settings.bTimeOut = False

The problem is that if, the modem answer is not like Res, the loop never ends, i cannot understand why does the Timer do not change my variable state, its function is like:

Public Sub Timer1_Timer()
bTimeOut = True
Timer1.Enabled = False
End Sub

Can anyone help me with this?

Thank you for your time

Rui
GeneralRe: Timer problem... Pin
FruitBatInShades9-Jan-03 6:59
FruitBatInShades9-Jan-03 6:59 
GeneralRe: Timer problem... Pin
Ruca9-Jan-03 7:06
Ruca9-Jan-03 7:06 
GeneralThe Answer... Pin
FruitBatInShades9-Jan-03 7:10
FruitBatInShades9-Jan-03 7:10 
Generalmenu enable/disable problem.. Pin
drmzunlimited9-Jan-03 5:28
drmzunlimited9-Jan-03 5:28 
GeneralRe: menu enable/disable problem.. Pin
Jeremy Falcon14-Jan-03 7:04
professionalJeremy Falcon14-Jan-03 7:04 
GeneralGathering Data between 2 dates Pin
Anonymous8-Jan-03 19:03
Anonymous8-Jan-03 19:03 
GeneralRe: Gathering Data between 2 dates Pin
drmzunlimited9-Jan-03 5:34
drmzunlimited9-Jan-03 5:34 
GeneralRe: Gathering Data between 2 dates Pin
Hesham Amin9-Jan-03 9:12
Hesham Amin9-Jan-03 9:12 
GeneralRe: Gathering Data between 2 dates Pin
pchari11-Jan-03 14:55
pchari11-Jan-03 14:55 
GeneralRe: Gathering Data between 2 dates Pin
Hesham Amin11-Jan-03 20:20
Hesham Amin11-Jan-03 20:20 
Generalweb browser control Pin
Hesham Amin8-Jan-03 11:06
Hesham Amin8-Jan-03 11:06 
GeneralRe: web browser control Pin
FruitBatInShades9-Jan-03 7:01
FruitBatInShades9-Jan-03 7:01 
Generalproblem updating from a datagrid Pin
mcm8-Jan-03 8:05
mcm8-Jan-03 8:05 
GeneralTiff to PDF conversion Pin
Zulfikar Ali8-Jan-03 6:26
Zulfikar Ali8-Jan-03 6:26 
Generalcopying files using shell Pin
iluha8-Jan-03 6:00
iluha8-Jan-03 6:00 
GeneralRe: copying files using shell Pin
Hesham Amin8-Jan-03 11:21
Hesham Amin8-Jan-03 11:21 
GeneralRe: copying files using shell Pin
iluha8-Jan-03 13:17
iluha8-Jan-03 13:17 

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.