Results 1 to 4 of 4

Thread: Is this easily done? **Resolved**

  1. #1

    Thread Starter
    Lively Member carl_mathews200's Avatar
    Join Date
    May 2004
    Location
    Wales, UK
    Posts
    94

    Is this easily done? **Resolved**

    Hi, when my application loads it generates a webpage which is displayed inside the application. This usually take a few seconds or longer depending on the ammount of information in the database, speed of link etc etc.

    Is there a way to get the app to generate the page and allow the user to continue working with other stuff while it is all going on, rather than having to wait until it has finished and displayed?

    Hope that makes sense!

    Thanks.
    Last edited by carl_mathews200; Jul 27th, 2004 at 05:36 AM.

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    This sounds like just the job for threads.

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Yeah. Threads sound good.

    Make you app load up in the normal way but early on in the load event, spawn a new thread that generates the HTML and updates the display control with it. Hopefully the user will not be inconvenienced by background processing.

  4. #4

    Thread Starter
    Lively Member carl_mathews200's Avatar
    Join Date
    May 2004
    Location
    Wales, UK
    Posts
    94

    Cheers.

    Thank you both, i think ive got it figured now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width