473,500 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No events fired Question

48 New Member
Hi Folks, I was wondering is it possible to return to the user to the opening form if no events are fired for 2 mins. i.e the user is finished so i want the opening screen on when the next user comes in. I know a little about the TimerInterval and getTime methods. but i was wondering how do you tell if nothing has happened for a specific time on a form. Is it possible to do this. Any pointers would be appreciated.

Regards Paul
Paul
May 23 '08 #1
3 1286
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Paul. Although you could set the timer interval to some interval and use the On Timer event to check the value of, say, a global status variable updated within an event handler for the time of the last event I would advise against adopting the approach you are suggesting.

For one thing, there is a very wide range of events to consider, many of them very basic - such as the On Key, Key Up and Key Down events fired for every keypress a user does in a field. For another, you are almost certain to annoy your users (who will end up wanting to use the form at the very moment it times out). And for good measure, what happens when a record is 'dirty' (i.e. has been edited but not stored - you surely don't want to really irritate your users by closing the form in the middle of activity when they just went out for a break...)

I can think of many other reasons not to do it, but instead of listing them suffice to say I just wouldn't go there with this one. That's just my opinion, anyway...

-Stewart
May 23 '08 #2
panteraboy
48 New Member
Thats what i thought too Stewart. Im just following orders (If that what they be lol". I have my database nearly finished using access 2003 only to find out from my superiors that it is to run on 2007. I Opened it up today only to find over half the functionality doesnt work. How is that for a headache. Is there a big difference in the syntax of vba for 2007 as opposed to 2003.
Regards
Paul

Ps Il be telling my boss "according to the experts its just not advisable" he he he
May 23 '08 #3
RuralGuy
375 Recognized Expert Contributor
I would say that if the Screen.ActiveControl does not change for some time then nothing is going on.
May 24 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

14
12103
by: JPRoot | last post by:
Hi I use the following syntax to have events inherited from base to child classes which works nicely (virtual and override keyword on events). But I am wondering if it is a "supported" way of using...
1
3214
by: Jay Douglas | last post by:
Hello, This may be an elementary question, but I'm having a hard time finding a document that answers this question: What order are the events fired on classes / controls inherited from the...
5
9720
by: Jon Maz | last post by:
Hi there, I am experimenting with the FileSystemWatcher object. I have set the NotifyFilter as follows: myFileSystemWatcher.NotifyFilter = NotifyFilters.Security | NotifyFilters.CreationTime...
7
2670
by: Colin Young | last post by:
I have a UserControl that contains a calendar control. The calendar is not raising events (month navigation, date selections, etc.). I've checked that the OnSelectionChanged event has a handler...
0
908
by: Al | last post by:
I am using Remoting using CLI/C++/VS05. A single client connected to a single server works fine and I am able to catch an event on the client side fired by the server. I am using singleton objects...
3
252
by: Ferdinand Zaubzer | last post by:
As far as I know events are fired by invoking a method. Is it possible that events are fired if a boolean property changes its value? Thanks Ferdinand
6
1724
by: Steve Hershoff | last post by:
Hi everyone, I've got a strange one here. There are two datagrids on my page, one nested within the other. I'll refer to them as the topmost and secondary datagrids. In the topmost...
0
2405
by: hmm | last post by:
Hi all I have two problems: Problem #1: I'm using a .NET Form with the property 'FormBorderStyle' set to 'None'. The idea is to completely cover the area of that Form with a UserControl. In...
3
2026
by: Mike | last post by:
Hi, I'm wondering if I can do this with ASP.NET?
10
3600
by: Martijn Mulder | last post by:
A general question and a specific one. 1. Is there a Spy utility that shows events for a .NET application 2. What events are fired when calling Form.Show() ?
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7395
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5485
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.