Re: How to display a picture while a long process is carried out ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



How about some more of the code you're writing?

pamelafluente@xxxxxxxxx wrote:
I tried but it does not work. See a blank page.
Can anyone show a simple working example?

-pam

Ray Booysen ha scritto:

What you can also do is add some javascipt to the onclick() method of
the button to change the visibility of the image.

pamelafluente@xxxxxxxxx wrote:
I have an animated gif in an image control:
Me.ImageProgress1.Visible = False

I want that when the User click on a given button to execute a long
task
Me.ImageProgress1 become visible until the task on the server is
finished.
I call the task this way:

Protected Sub ButtonSomeLongTast_Click(ByVal sender As Object, ByVal
e As System.EventArgs) Handles ButtonSomeLongTast.Click

ExecuteLongTask()

End Sub

I think I am dumb as I can't figure out how to do this simple thing!
Thanks for any help!

-Pam


.



Relevant Pages

  • Re: How to display a picture while a long process is carried out ?
    ... Ray Booysen ha scritto: ... I want that when the User click on a given button to execute a long ... Protected Sub ButtonSomeLongTast_Click(ByVal sender As Object, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Why are there 2 sections: code and header?
    ... On Intel processors, writing to the data space is ok, but writing to ... procedure can cause the procedure to execute about 10 times slower. ...
    (comp.lang.forth)
  • Re: multiple values for keyword argument
    ... although, when posting sample ... Please consider that your code is written primarily for humans to read, ... and only incidentally for the machine to execute. ... and it's impossible to know at the time of writing it ...
    (comp.lang.python)
  • Re: Executing a program from memory
    ... The file on the HDD is compressed; ... >impossible to execute the file as is; the software I am writing shall ... >but I dont know how to execute it without writing it to disk. ...
    (comp.programming)
  • Re: Out of tree module using LSM
    ... written to by ten other programs at once and shared over a network while ... Actually the kernel prevents writing to files which are executed currently ... and you can also not execute what is currently open for writing. ... it signalled that attempts to write to the underlying file should fail ...
    (Linux-Kernel)