Re: Using callback function

Tech-Archive recommends: Fix windows errors by optimizing your registry



If you fire off an event, that event handler gets executed immediately. You
should be able to update the display. You may need to fire off the component
on a separate thread.

"Sivaraman.S" <SivaramanS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2A3F75A6-ED39-45D4-87BB-68EDEB2D4503@xxxxxxxxxxxxxxxx
> But i am not able to display that message in the screen immediately after
> i
> receive it. It get displayed only after the execution of component.
>
> "Marina" wrote:
>
>> Define an event in your component. Have the thread that creates the
>> component listen to that event. The component can then raise events that
>> contain a message, and the listening program can handle the event, and
>> respond accordingly.
>>
>> "Sivaraman.S" <SivaramanS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:5BC0FD36-E00F-4386-BD2E-C18651E5C259@xxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > I have a doubt in .net. Hope u could solve the problem. When u r free
>> > plz
>> > consider this doubt.
>> >
>> > I have created a component to run End of Day Tasks. Hope u know how
>> > much
>> > time it takes to run a EOD. Say it takes about 20 min to complete its
>> > execution. Now assume that u have more than 1000 tasks to be executed.
>> > Each
>> > tasks can be of any type(component or stored procedure). I am executing
>> > the
>> > tasks asynchronously. Now I give the input to the main component from a
>> > screen from the client. Can i pass any message or value from the
>> > component
>> > to
>> > the screen, before the component execution finishes.
>> >
>> > For example:
>> >
>> > I want to display "Task 1 started execution.." when the task1 gets
>> > started.
>> > Then it should display completed message. Likewise For every tasks it
>> > should
>> > return the message to the screen.
>> >
>> > Regards,
>> > Sivaraman.S
>>
>>
>>


.



Relevant Pages

  • Disabling runtime warnings for standalone executables
    ... I'm using Matlab R14SP3 to compile a standalone executable on Linux. ... Warning: Unable to open display, ... biggie, though, since it only appears the first time the execution is ...
    (comp.soft-sys.matlab)
  • Re: accept ... from time
    ... I want to measure the execution time of a sql statement. ... DISPLAY "EXECUTION lasted from" START-TIME ... two such statements in sequence to see what the latent delay is and as ...
    (comp.lang.cobol)
  • Re: OK, lets be a bit negative and look at what APL has not achieved !
    ... problems with conformability, and it means the condition could be affected by side-effects in the evaluation of A, B and C ... we could, however, define a new primitive datatype of "executable code block", which can be explicitly executed (for which we already have ... when a display is required -- in all other contexts, ... would trigger the execution of block A, and the display of the result ...
    (comp.lang.apl)
  • Re: How to determine at runtime where the application is launched from
    ... >> I notice some .exe program under \WIndows folder ... >> when i click on them, the display a dialog shows the version info ... >> and when i type their names in a command prompt, ... Since the program's execution name is argv, ...
    (microsoft.public.vc.language)
  • Re: Using callback function
    ... I tried using frames to display it by storing it in the session. ... > If you fire off an event, that event handler gets executed immediately. ... It get displayed only after the execution of component. ...
    (microsoft.public.dotnet.framework.aspnet)