Click here to Skip to main content
15,920,688 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionClone (deep copy) datagrid Pin
mikone7-Sep-05 23:56
mikone7-Sep-05 23:56 
QuestionActiveX EXE Pin
MohammadAmiry7-Sep-05 23:29
MohammadAmiry7-Sep-05 23:29 
AnswerRe: ActiveX EXE Pin
Steve Pullan8-Sep-05 17:45
Steve Pullan8-Sep-05 17:45 
Questionwhy my timer control(or threading.timer) not run under win2003? Pin
woodwell7-Sep-05 22:56
woodwell7-Sep-05 22:56 
AnswerRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 14:19
woodwell8-Sep-05 14:19 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 17:49
Steve Pullan8-Sep-05 17:49 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 18:15
woodwell8-Sep-05 18:15 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 18:52
Steve Pullan8-Sep-05 18:52 
I'd make the following changes to the code:

1. delete the Tmr.Change() lines from your timer callback. They serve no purpose in the callback function.

2. Change this line:
Tmr = New Threading.Timer(Tcb, vbNull, 1000, 10000)

to this...
Tmr = New Threading.Timer(Tcb, Nothing, 1000, 10000)

because vbNull is not the same as Nothing in VB.


...Steve
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:06
woodwell8-Sep-05 19:06 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 19:22
Steve Pullan8-Sep-05 19:22 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:59
woodwell8-Sep-05 19:59 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 20:28
Steve Pullan8-Sep-05 20:28 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 20:49
woodwell8-Sep-05 20:49 
QuestionHow to scan a document using Visual Basic Pin
Candor Soft7-Sep-05 21:54
Candor Soft7-Sep-05 21:54 
QuestionMScomm control in VB6 Pin
brownboy7-Sep-05 19:20
brownboy7-Sep-05 19:20 
QuestionCINT Pin
tatchung7-Sep-05 18:29
tatchung7-Sep-05 18:29 
AnswerRe: CINT Pin
Christian Graus7-Sep-05 19:00
protectorChristian Graus7-Sep-05 19:00 
GeneralRe: CINT Pin
tatchung7-Sep-05 19:50
tatchung7-Sep-05 19:50 
GeneralRe: CINT Pin
Christian Graus7-Sep-05 19:59
protectorChristian Graus7-Sep-05 19:59 
GeneralRe: CINT Pin
tatchung7-Sep-05 20:04
tatchung7-Sep-05 20:04 
GeneralRe: CINT Pin
Dave Kreskowiak8-Sep-05 1:56
mveDave Kreskowiak8-Sep-05 1:56 
Answer[Message Deleted] Pin
Steve Pullan7-Sep-05 19:05
Steve Pullan7-Sep-05 19:05 
QuestionChange Font map on windows Pin
dmtuan7-Sep-05 17:15
dmtuan7-Sep-05 17:15 
QuestionRichTextBox FontStyles Pin
Taen_Karth7-Sep-05 15:23
Taen_Karth7-Sep-05 15:23 
AnswerRe: RichTextBox FontStyles Pin
Taen_Karth7-Sep-05 15:59
Taen_Karth7-Sep-05 15:59 

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.