Results 1 to 3 of 3

Thread: Messagebox KILL [resolved]

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2004
    Location
    Cape Town, South Africa
    Posts
    18

    Messagebox KILL [resolved]

    How do I kill a messagebox with a timeout ?

    resolution:

    It appears I'll have to build my own then ....
    Last edited by microfast; Jun 21st, 2004 at 02:19 AM.

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Location
    Bristol, England (but heart is in Virginia)
    Posts
    2,949

    Re: Messagebox KILL !!

    Originally posted by microfast
    How do I kill a messagebox with a timeout ?
    Someone else might have a direct answer, but as a messagebox is just a modal form, you could design your own and after the required message has been displayed use something like

    VB Code:
    1. Obj.Update    (Where OBJ is the name of the control displayng
    2.                           the message)
    3.   Threading.Thread.Sleep(5000)

    to give a 5 second delay.

    (With acknowledgements to Pirate)
    Taxes
    The more I learn about VB.NET the more I like dBaseIII Plus

    The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.

  3. #3
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668
    Message boxes interupt the process of your forms, you'd need to create you're on custom one for an easy solution.
    If wishes were fishes we'd all cast nets.

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