Tmer without window

  • Thread starter Thread starter Julia Sats
  • Start date Start date
J

Julia Sats

Hi,

I would like to do some operations/checkings in specific moments of time,
but my application does not contain form.
Can I use any function that work like time control but without window form.
I know that I can do form invisible and so on, but I really interesting to
do without it.

Thanks for any advice
 
["Followup-To:" header set to microsoft.public.dotnet.languages.vb.]
Hi,

I would like to do some operations/checkings in specific moments of time,
but my application does not contain form.
Can I use any function that work like time control but without window form.
I know that I can do form invisible and so on, but I really interesting to
do without it.

Thanks for any advice

Which version of vb? You have posted to both the VB.NET groups and the
VB.CLASSIC groups. The answer very much depends on which version you
are using... If vb.classic, then I would suggest you follow Joe's
advice - and in the future, you may want to post to the classic groups
only. If you are using VB.NET, then I would look at System.Thread.Timer
or System.Timers.Timer.
 
There are actually two timers in the .NET framework that you can use without any window. Look at the System.Timers namespace and the Timer class in the System.Threading namespace.

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemTimersTimerClassTopic.asp?frame=true
http://msdn.microsoft.com/library/d.../html/frlrfsystemthreadingtimerclasstopic.asp

- Johan

----- Julia Sats wrote: -----

Hi,

I would like to do some operations/checkings in specific moments of time,
but my application does not contain form.
Can I use any function that work like time control but without window form.
I know that I can do form invisible and so on, but I really interesting to
do without it.

Thanks for any advice
 
* "Julia Sats said:
I would like to do some operations/checkings in specific moments of time,
but my application does not contain form.
Can I use any function that work like time control but without window form.
I know that I can do form invisible and so on, but I really interesting to
do without it.

There are two other timers available: 'System.Threading.Timer' and
'System.Timers.Timer'. Have a look at the documentation for these two
classes.
 
Julia Sats said:
I would like to do some operations/checkings in specific moments of time,
but my application does not contain form.
Can I use any function that work like time control but without window form.
I know that I can do form invisible and so on, but I really interesting to
do without it.


Go to: http://www.mvps.org/vb/

Click on: Tools


LFS
 
Back
Top