Are you trying to use this in a ASP.NET Page? Pages live only for the time of
the request. Once a request is served, the Page class is destroyed.
"Nathan Sokalski" wrote:
> I am trying to learn how to use the System.Timers.Timer control to perform
> an action every certain amount of time. However, the Elapsed event doesn't
> want to fire, but I can't figure out why. I looked at several code examples
> online, but I think I was doing everything the same way they were. Does
> anybody have a complete example in VB.NET (the whole aspx and aspx.vb file
> so I know I am including everything) that I can look at? Any help would be
> appreciated. Thanks.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
>
http://www.nathansokalski.com/ >
>