G
Guest
Hi
I must be missing some obvious point, but can someone let me know how do I add a windows.forms.timer control to a form at run time
Private TM as new windows.forms.time
Dim sForm as for
sForm.controls.add(TM)
=> throwing an error - Value of type 'System.Windows.Forms.Timer' cannot be converted to 'System.Windows.Forms.Control'
Basically I have a progress bar in this form which I want to update under a Timer control. I can access this progress bar using sForm.Controls but unable to get a handle on this timer component.
Regard
Vina
I must be missing some obvious point, but can someone let me know how do I add a windows.forms.timer control to a form at run time
Private TM as new windows.forms.time
Dim sForm as for
sForm.controls.add(TM)
=> throwing an error - Value of type 'System.Windows.Forms.Timer' cannot be converted to 'System.Windows.Forms.Control'
Basically I have a progress bar in this form which I want to update under a Timer control. I can access this progress bar using sForm.Controls but unable to get a handle on this timer component.
Regard
Vina