Logic

  • Thread starter Thread starter Paul Ilacqua
  • Start date Start date
P

Paul Ilacqua

This is more of a logic question than anything else. I really struggle with
these types of seemingly simple problems. I have a form with several
criteria and want to set a limit on how often the button on the form is
"alive". If the criteria is changed I allow an update, but if the criteria
is not changed I allow updates every x minutes.
The criteria.. I build a string of the 3 criterion and compare it each pass
through, that one is fairly easy but in combination with the time, I'm
really struggling. I have to account for the fact I want it live on first
push etc.
Any help would be greatly appreciated.
I use VB.NET

Paul
 
Paul,

For your problem is in my idea the VB Static keyword very usefull in a
method raised by a timer, in such a field you can keep track of the events
that has been happened, while you don't have to use a global field for that.

Cor
 
Back
Top