Show progress bar - InfoPath Dev
in

InfoPath Dev

Show progress bar

Last post 07-15-2010 01:48 PM by sk92u. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 12-22-2005 05:28 AM

    Show progress bar

    It is possible to implement a progress bar in C#? The form loads large datas from a web service.
  • 12-23-2005 07:26 PM In reply to

    Hm, great question! Haven't heard of this being done. What kind of data are your loading from the Web service? Database query? Images? XML data?

    You could probably split whatever it is you're loading into a couple of pieces (say, 10) and then after you load each piece update the progress bar (10% each time). Another option would be to load a small piece of data (a small picture) and time how long it takes, and then use that timing to estimate how long it will take to load the rest of the data. Then use that estimate that makes a progress bar update.

    ---------------
    Matt Faus
    InfoPath Dev Texas
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 12-28-2005 05:36 PM In reply to

    You could create an ActiveX control.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 01-18-2006 12:55 AM In reply to

    Do you have an example to implement the ActiveX?
  • 01-18-2006 05:34 AM In reply to

    Hi,

    Here is an article that speak about how to make an activex control for Infopath:

    http://blogs.msdn.com/infopath/archive/2005/04/15/408728.aspx

    ++

    Thierry
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 01-23-2006 04:06 AM In reply to

    Thank you for the link.
    I have added a progress bar as ActiveX control in InfoPath. It is
    showing in the form at run-time but no the progress. If is finishing
    the process then is showing the progress.
    How can I implement that the progress bar is refreshing at the run-time
    when process is running.

    I have found a second solution but I don't know if it's the right way. I have
    bound a .NET class (System.Windows.Formsin C#) in managed code in
    InfoPath. I create a form and add a progressbar to the form. This form
    is showing in the foreground when the process begins to run. It is a
    separate window. The form with the progressbar is closing when the
    process is finished.
  • 07-15-2010 01:48 PM In reply to

    • sk92u
    • Not Ranked
    • Joined on 06-10-2010
    • Posts 6

     Hi Mancha,

     I am having the same requirement as yours. Can you please forward me that link, which you were talking about or atleast you can give me the idea how you have done it. Appreciate your help. Thanks

     Suhail

Page 1 of 1 (7 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.