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

Visual Basic

 
GeneralRe: Adding a new record in XML Pin
Nanda_MR18-Jan-09 23:26
Nanda_MR18-Jan-09 23:26 
QuestionRetain Text Format in Rich Text Box Pin
nishkarsh_k18-Jan-09 17:17
nishkarsh_k18-Jan-09 17:17 
QuestionRe: Retain Text Format in Rich Text Box Pin
nishkarsh_k18-Jan-09 18:04
nishkarsh_k18-Jan-09 18:04 
AnswerRe: Retain Text Format in Rich Text Box Pin
N a v a n e e t h18-Jan-09 21:22
N a v a n e e t h18-Jan-09 21:22 
GeneralRe: Retain Text Format in Rich Text Box Pin
supercat919-Jan-09 6:20
supercat919-Jan-09 6:20 
QuestionShell "File Not Found" Pin
TheComputerMan18-Jan-09 11:48
TheComputerMan18-Jan-09 11:48 
AnswerRe: Shell "File Not Found" Pin
TheComputerMan18-Jan-09 12:35
TheComputerMan18-Jan-09 12:35 
Questionmarquee text Pin
dahras18-Jan-09 9:52
dahras18-Jan-09 9:52 
AnswerRe: marquee text Pin
Wendelius18-Jan-09 10:06
mentorWendelius18-Jan-09 10:06 
GeneralRe: marquee text Pin
dahras29-Jan-09 0:17
dahras29-Jan-09 0:17 
GeneralRe: marquee text Pin
Wendelius29-Jan-09 10:12
mentorWendelius29-Jan-09 10:12 
GeneralRe: marquee text Pin
dahras30-Jan-09 5:41
dahras30-Jan-09 5:41 
GeneralRe: marquee text Pin
Wendelius30-Jan-09 7:34
mentorWendelius30-Jan-09 7:34 
QuestionMonitoring printer - help ! Pin
xx77abs18-Jan-09 7:50
xx77abs18-Jan-09 7:50 
AnswerRe: Monitoring printer - help ! Pin
Wendelius18-Jan-09 8:21
mentorWendelius18-Jan-09 8:21 
GeneralRe: Monitoring printer - help ! Pin
xx77abs19-Jan-09 5:56
xx77abs19-Jan-09 5:56 
AnswerRe: Monitoring printer - help ! Pin
Eddy Vluggen18-Jan-09 23:53
professionalEddy Vluggen18-Jan-09 23:53 
GeneralRe: Monitoring printer - help ! Pin
xx77abs19-Jan-09 5:59
xx77abs19-Jan-09 5:59 
GeneralRe: Monitoring printer - help ! Pin
Eddy Vluggen19-Jan-09 8:21
professionalEddy Vluggen19-Jan-09 8:21 
QuestionPassing arguments to timer event Pin
sohaib_a18-Jan-09 0:25
sohaib_a18-Jan-09 0:25 
Hello all,

I am creating a timer in a background worker thread as shown below and want to pass arguements to the event handler 'timerevent'.

Private Sub DoJob(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs)

Dim timer1 As New System.Timers.Timer
AddHandler timer1.Elapsed, AddressOf timerevent

timer1.start()

End Sub

but in the timer event handler i can only get something called 'signal time' from the elapsedeventargs.
Is there a way to pass arguments for (in my case a string) to the timer event handler.
Also is the elapsed event similar to the tick event?
AnswerRe: Passing arguments to timer event Pin
Wendelius18-Jan-09 0:39
mentorWendelius18-Jan-09 0:39 
GeneralRe: Passing arguments to timer event Pin
sohaib_a18-Jan-09 0:52
sohaib_a18-Jan-09 0:52 
GeneralRe: Passing arguments to timer event Pin
Wendelius18-Jan-09 1:10
mentorWendelius18-Jan-09 1:10 
GeneralRe: Passing arguments to timer event Pin
sohaib_a18-Jan-09 1:58
sohaib_a18-Jan-09 1:58 
GeneralRe: Passing arguments to timer event Pin
Wendelius18-Jan-09 2:04
mentorWendelius18-Jan-09 2:04 

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.