Working Message in taskbar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • axapta

    Working Message in taskbar

    Hi Group,
    I've got a search screen whereby it could take a couple of seconds or
    minutes for the results to be returned. Is there a way to place a "working
    message" in the taskbar area, so the user can see that it is doing
    something? I did this years ago in MS Access. Should be able to do this in
    ..NET.

    I'm querying a SQL database using a DA.

    Thanks

  • rowe_newsgroups

    #2
    Re: Working Message in taskbar

    On Jul 31, 6:05 am, "axapta" <jas.jac...@gma il.comwrote:
    Hi Group,
    I've got a search screen whereby it could take a couple of seconds or
    minutes for the results to be returned.  Is there a way to place a "working
    message" in the taskbar area, so the user can see that it is doing
    something? I did this years ago in MS Access.  Should be able to do this in
    .NET.
    >
    I'm querying a SQL database using a DA.
    >
    Thanks
    1) Spawn the search on a thread separate from the UI.
    2) Show whatever you want on the form while the search is in process
    3) When the search is over, remove the "wait content" and replace it
    with the search results.

    Thanks,

    Seth Rowe [MVP]

    Comment

    • Gillard

      #3
      Re: Working Message in taskbar

      For x = 0 To 5555555
      Application.DoE vents()
      Label1.Text = x
      Next
      work fine

      "axapta" <jas.jackie@gma il.comwrote in message
      news:23CBAA8D-6904-4FC7-8F9D-6177110561D7@mi crosoft.com...
      Hi Group,
      I've got a search screen whereby it could take a couple of seconds or
      minutes for the results to be returned. Is there a way to place a
      "working message" in the taskbar area, so the user can see that it is
      doing something? I did this years ago in MS Access. Should be able to do
      this in .NET.
      >
      I'm querying a SQL database using a DA.
      >
      Thanks

      Comment

      • Andrew Morton

        #4
        Re: Working Message in taskbar

        axapta wrote:
        I've got a search screen whereby it could take a couple of seconds or
        minutes for the results to be returned. Is there a way to place a
        "working message" in the taskbar area, so the user can see that it is
        doing something? I did this years ago in MS Access. Should be able
        to do this in .NET.
        I think that if you change the application's name that will be reflected in
        the TaskBar:



        Andrew


        Comment

        • axapta

          #5
          Re: Working Message in taskbar

          Thanks for your replies but it still does not help. I'm after some code
          samples.

          Regards

          "rowe_newsgroup s" <rowe_email@yah oo.comwrote in message
          news:bc9e5e40-9d67-4a3f-86fe-df75bfc75229@d4 5g2000hsc.googl egroups.com...
          On Jul 31, 6:05 am, "axapta" <jas.jac...@gma il.comwrote:
          Hi Group,
          I've got a search screen whereby it could take a couple of seconds or
          minutes for the results to be returned. Is there a way to place a "working
          message" in the taskbar area, so the user can see that it is doing
          something? I did this years ago in MS Access. Should be able to do this in
          .NET.
          >
          I'm querying a SQL database using a DA.
          >
          Thanks
          1) Spawn the search on a thread separate from the UI.
          2) Show whatever you want on the form while the search is in process
          3) When the search is over, remove the "wait content" and replace it
          with the search results.

          Thanks,

          Seth Rowe [MVP]


          Comment

          • rowe_newsgroups

            #6
            Re: Working Message in taskbar

            Thanks for your replies but it still does not help. I'm after some code
            samples.
            Sorry, but I only write quick code samples, and unfortunately,
            converting a project to a multithreaded design isn't one that will fit
            under that category.

            Thanks,

            Seth Rowe [MVP]

            Comment

            Working...