RE: SET TTL
From: Ilya Rabyy
California - United States
To: Tiago Bernardo
Caldas da rainha
RE: Set TTL
Visual FoxPro 9 SP2
Tuesday, December 30, 2008 5:10:28 PM
This message was rated by:
> Hello, I'm using a program that uses a foxpro framework. With this program it's possíble to program the visual look of the forms and the beavior of objects. My problem is that all the users use the program with the same session and it's impossíble to see who is the responsable for that problem. My question is, since I have access to the framework and I know the name of the botton to close session, it's possíble to set a timer and after that time the program execute the "press botton" funcion? Then the users have to start session with is own login and password. Thanks in advance. I'm a Begginer in VFP ;) so sorry for any mistake.
Welcome to the VFP Developers Forum, Tiago!
Yes, it is possible to add a timer control to some container type object, and execute [Container.]CommandButton.Click event procedure off the [Container.]Timer.Timer event procedure. However:
, it is not clear, though, from your description, whether you are dealing with an
end user application (EXE)
, or some
(like VFP's IDE itself, with this or that set of controls, classes, etc., added).
Could you specify which of the two you are dealing with?
, it looks like you are trying to do two things:
- identify and differentiate the end users by their login names and passwords (doable in EXE, virtually impossible in VFP's IDE by any other way but by their Windows User's login name), and
- have some error tracking "device" in place to trap the error, procedure/command generated this error, and what user was executing this command/procedure when this error occurred.
Is this correct?
Once you clarify these above matters here, we can better understand what problem(s) you are facing, and we will be able to help you better.
Once again: welcome to the Forum! You have come to the right place!
Posted by Tiago Bernardo @ 12/30/2008 12:32:38 PM
RE: Set TTL
Posted by Ilya Rabyy @ 12/30/2008 5:10:28 PM