Re: Creating Event Procedure Programatically



Hi Mark,
you dont need to load it, just make it as any other proc.
it will not run until you make TimerInterval greater then 0

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com


"Mark A. Sam" <msam@xxxxxxxxxxxxxxxxx> wrote in message
news:u7X0cCZhFHA.576@xxxxxxxxxxxxxxxxxxxxxxx
> Alex,
>
> That's exactly my plan, but I don't know how to implement it. How do I
> load
> the event procedure up with the code?
>
> God Bless,
>
> Mark
>
>
> "Alex Dybenko" <alexdyb@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:%23jHHMxYhFHA.2840@xxxxxxxxxxxxxxxxxxxxxxx
>> You can make your timer event proc, set timer interval to 0. then on form
>> load you pull a code from table and set timer inteval to value you need -
>> your event proc starts working
>>
>> --
>> Alex Dybenko (MVP)
>> http://Alex.Dybenko.com
>> http://www.PointLtd.com
>>
>>
>> "Mark A. Sam" <msam@xxxxxxxxxxxxxxxxx> wrote in message
>> news:%23a8Ka4XhFHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
>> > Hello,
>> >
>> > I am seeking a method of changing an event procedure in a ADP at the
> form
>> > opens, pulling the code from an SQL Table, so that I can update the
> Timer
>> > Event without updating the client. I have searched and searched and
>> > couldn't find anything to help me. All I need is to create a function
> or
>> > subroutine which I can call from the Timer event. This will be an .ADE
> so
>> > it will need to be able to update without taking a form to design mode.
>> > Any
>> > sample or pointing me in the right direction would be appreciated.
>> >
>> > God Bless,
>> >
>> > Mark A. Sam
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: High CPU util on 3825
    ... Below is the result of "sh proc cpu" which I obtained. ... Manager ... Counter Timer ...
    (comp.dcom.sys.cisco)
  • Re: Company WEBSITE will not load on my computer reliably
    ... Mark W. Kinsey CRA CPIA CRIS <Mark W. Kinsey CRA CPIA ... load on my computer reliably. ... My tech's assistant is NO help ...
    (microsoft.public.exchange.misc)
  • Re: how can i remove unused but loaded kernel modules?
    ... I think what Mark wanted (Mark, ... please correct me if I'm wrong) is not to load them in the first place, ... getting loaded that are assocuated with the eliminated startup processes? ... However, they'd still have to load during bootup, then they'd get removed ...
    (Fedora)
  • Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt.
    ... > can lessen the impact of the timer interrupt under load. ... > 100Hz under some load, apparently because of bad cache interaction. ... > granularity, and the uncertainty on where the jiffy tick ends up being, ... The dyn-tick patch skips ticks only during idle, ...
    (Linux-Kernel)
  • Re: Pool timer wiring dilemma
    ... I agree with moving the black wire to the load side. ... not just when the timer is activated. ... What confuses me here is that one power linefrom the pool pump is ... This pump switch is and x-10 wide /flat type switch. ...
    (alt.home.repair)

Loading