Show Progress During Lengthy Multiple Procedures Executing

I have a C# winform app that on a button press event will call about 8 different procedures taking close to 10 minutes to perform the full cycle of events.  I see that you can use a Background Worker to display a progressbar and display text above the
progress bar, but is their a way I can display when each different procedure is entered?  For example, possibly show in a BackgroundWorker Something like this: (maybe customize the message a little bit more but this would get the point across and at least
show progress)
Procedure 1 Starting 03/25/2015 10:01:08 p.m....
Procedure 1 Finished 03/25/2015 10:02:25 p.m...
Procedure 2 Starting 03/25/2015 10:02:28 p.m...
Procedure 2 Finished 03/25/2015 10:04:30 p.m...
Procedure 3 Starting  03/25/2015 10:04:50 p.m...
Procedure 3 Finished 03/25/2015 10:06:15 p.m...

This is exactly what the ProgressChanged Event is for:
https://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.progresschanged(v=vs.110).aspx
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

Similar Messages

  • How to show progress during a long Render call

    My effect computes values from all frames in a layer much like Warp Stabilizer does. I set a flag and do this when necessary in my Render function. The user controls when to analyze by clicking a button in the effect UI.
    It can take from a few seconds to over a minute depending on the layer, so I need to show progress to the user.
    In After Effects I can use the progress bar, and put text in the info panel from within the Render proc; but I'd like to find a better way to show progress.
    Indicidentally, neither of these two thing seem to works in Premiere Pro.
    Warp Stabilizer shows progress to the left of the Analyze button in its effects window, but I can's seem to do this from within Render.
    Any ideas?

    Try the Top Menu or Menu button on the dvd player remote. That usually returns to the start of the dvd.

  • Show progress bar while executing scp command in linux

    I am being trying to execute scp command throug java frames, I want to know is there any way to show progress when i am copying a file to another system.
    The scp command shows the progress in command prompt can i implement that on the jprogressbar.
    thanx in advance.

    I am being trying to execute scp command throug java frames, I want to know is there any way to show progress when i am copying a file to another system.
    The scp command shows the progress in command prompt can i implement that on the jprogressbar.
    thanx in advance.

  • How do you use the status column to show progress of a step in an OI?

    Hi everyone,
    I was just doing a little browsing and noticed the picture at the top of the http://www.ni.com/teststand/ web page.  It shows a progress bar in the status column of a step being executed.
    I have several applications where this would be a very useful addition.  I use the progress bar at the bottom of the OI and sequence editor regularly, but would very much like to show progress of an individual step in the status column.  It would be particularly useful where you turn the tracing off into a sequence but want to see that progress is being made through the steps within it...
    Anyone know how to do this?  I have been unsuccessful in trying to find examples....
    Cheers,
    Barry

    James,
    I believe your answer to Bazza's question also applies to my situation, but I wasn't sure so I thought I would ask.  I am working on a custom TestStand operator interface in LabVIEW using the UI controls.  I would like it to behave as closely as possible to the old Test Executive.  Specifically, I would like the operator to be able to see the contents of the sequence file, interact with them, and see the execution results all in the same view.  Is that possible?  In other words, can I display and interact with a sequence file (display the sequence steps, run selected steps, loop selected steps, etc.) and display the sequence's execution results (including tracing) in the same SequenceView control or do I have to use 2 of them?
    Thanks,
    Ryan Wright

  • How pass progressive in a stored procedure

    Hi,
    I've 3 procedures:
    procedure EXEC_STOR_A;
    procedure EXEC_STOR_B (SERV_IN VARCHAR2, NAME_IN VARCHAR2);
    procedure EXEC_STOR_C (SERV_IN VARCHAR2, NAME_IN VARCHAR2);
    and I've created one stored procedure that run the 3 procedures simultaneously
    CREATE OR REPLACE PROCEDURE EXEC_MORE_PROC
    IS
    ERR_MSG VARCHAR2(300);
    ERR_NUM NUMBER;
    PROG NUMBER;
    BEGIN
    EXEC_STOR_A;
    EXEC_STOR_B ('OC', 'MY_STOR_B'));
    EXEC_STOR_C ('OC', 'MY_STOR_C'));
    EXCEPTION
    WHEN OTHERS THEN
         err_msg:= SUBSTR(SQLERRM, 1, 300);
         err_num:= SQLCODE;
         INSERT INTO REP_MESS (proc_name, err_code, err_msg, err_date)
    VALUES ('EXEC_MORE_PROC', err_num, err_msg, sysdate);
    COMMIT;
    END;
    EXEC_STOR_B and EXEC_STOR_C insert the value NAME_IN in the tables MY_TAB_B, MY_TAB_C and progressive starting from 0:
    CREATE TABLE MY_TAB_B (
    ID VARCHAR2 (12),
    NAME VARCHAR2 (32)
    PROGRESSIVE NUMBER);
    CREATE TABLE MY_TAB_B (
    ID VARCHAR2 (12),
    NAME VARCHAR2 (32)
    PROGRESSIVE NUMBER);
    for example when I execute the proc EXEC_MORE_PROC the first time I get (in MY_TAB_B):
    ID.........NAME........PROGRESSIVE
    1.........MY_STOR_B.........0
    10........MY_STOR_B.........0
    88........MY_STOR_B.........0
    99........MY_STOR_B.........0
    when I execute the proc EXEC_MORE_PROC the second time I get (in MY_TAB_B):
    ID.........NAME........PROGRESSIVE
    1.........MY_STOR_B.........1
    10........MY_STOR_B.........1
    88........MY_STOR_B.........1
    99........MY_STOR_B.........1
    Now I'd like to create my stored procedure, inserting into column NAME the value NAME_IN + progressive:
    for example when I execute the proc EXEC_MORE_PROC the first time I get (in MY_TAB_B):
    ID.........NAME..........PROGRESSIVE
    1.........MY_STOR_B_0.........0
    10........MY_STOR_B_0.........0
    88........MY_STOR_B_0.........0
    99........MY_STOR_B_0.........0
    when I execute the proc EXEC_MORE_PROC the second time I get (in MY_TAB_B):
    ID.........NAME..........PROGRESSIVE
    1.........MY_STOR_B_1.........1
    10........MY_STOR_B_1.........1
    88........MY_STOR_B_1.........1
    99........MY_STOR_B_1.........1
    How can I pass varchar2+number in my stored procedure??
    Thanks in advance!!

    and I've created one stored procedure that run the 3
    procedures simultaneouslyActually, you've create one procedure that runs the three procedures sequentially. If you want parallelism, you would have to do something like spawning three background jobs via DBMS_JOB.
    w I'd like to create my stored procedure, inserting
    into column NAME the value NAME_IN + progressive:
    How can I pass varchar2+number in my stored
    procedure??This looks to be the only question you're asking. The answer would seem to be to add a numeric parameter to the stored procedure(s). If the question is how to concatenate a number to a string, that's just
    <<string>> := <<string>> || to_char(<<number>>)Justin

  • How to show progress bar

    how to show progress bar

    This gets asked about 100 times a day, especially when you get people posting it multiple times - learn to use the search facility, or at least Google. It's really not that hard.
    Type "java progress bar" into Google and hit "I'm feeling lucky" - the answer is there.

  • Make task befor send mail. Use of "Show Progress" and Exception

    Hello,
    Could I handle Send Event of MailItem in a way that Outlook understand it.
    I want to do a long task before sending the mail. The user musn't be block. I wish Outlook display the task when user click on "Show progress" I have two choise actualy:
    - I cancel upload while my task ending.
    - I make a new thread were i do all the process and finally call the mailItem send method
    The first seems to work pretty well. But it need the user wait to the end of the process before send. As it didn't block the user to write read others mail it could be a solution.
    I prefered the second one who don't change the user experience. But i have many problem to do it :
    - How to apeared in "Show progress"
    - Exception raise when i send a (draft)mailItem show in preview pane.
    Thanks.

    That is how Outlook Object Model works. Prior to Outlook 2013, some things would work on secondary threads, but sometimes they would blow up in a really spectacular fashion. So in Outlook 2013 Microsoft made a decision to raise an exception immediately as
    soon as Outlook detects that one of its objects is used on a thread other than the primary Outlook thread.
    This applies to the COM addins only of course since when your code is running inside the outlook.exe process. If you are out-of-proc, all calls will be marshaled to the main Outlook thread anyway, which negates the whole purpose of using multiple threads
    to begin with.
    Only Extended MAPI (C++ or Delphi) can be safely used on a secondary thread. You can also use the
    RDO family of objects in
    Redemption - it wraps Extended MAPI and can be safely used on a secondary thread from any language. See also
    http://www.dimastr.com/redemption/faq.htm#Threads
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Show Progress Bar while only on Page Load.

    Hi Experts,
    I want to show progress bar every time when page loads.
    Progress bar is coming on the page. but it is not going off after page is loaded.
    Below is the code which i added for the Progress bar.
    //written on Header Text of Page
    <script type="text/javascript">
    <!--
    function html_Submit_Progress(pThis){
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    //-->
    </script>
    //written on footer text of Page
    <style> #AjaxLoading{padding:5px;font-size:18px;width:200px;text-align:center;left:20%;top:20%;position:absolute;border:0px solid #666;}
    </style>
    <div id="AjaxLoading" style="display:none;"><br /><img src="#APP_IMAGES#progress_bar.gif" id="wait" /></div>
    //called the function Execute on Page Loads 
    html_Submit_Progress(this);Progress bar is continuously showing on the page after page is loaded.
    I want only to show only page loads.
    Please help me .
    Apex Version : Apex 4.1
    DB Version : 10g
    Regards,
    Jitendra

    Hide the loader element when the page has loaded. Put this in the javascript section
    $(document).ready(function(){ $x_Hide('AjaxLoading'); });Or put it in the page load section
    $x_Hide('AjaxLoading');Or create a dynamic action which fires on page load, select a hide action, and use a jQuery selector to target '#AjaxLoading' as an affected element.

  • Crystal Report not showing up during deployment for CRVS2010

    Hi,
    Have encountered problem when deploying Crystal Report using VB 2010. The report is able to show up during ASP.net development using VS 2010 but when i try to deploy on a IIS server, the report is just showing a blank page when trying to view using an Explorer on the client side. I'm using Window XP IIS 5.1 web server.
    Have tried doing VB setup and installing the merge module CRruntime_13_0_1 but still not working.
    Any help will be appreciated.
    Thanks
    KB

    While the supported platform text says that Microsoft  IIS5.1 is supported, I'm a bit dubious as CR 2008 (v. 12.x) did not support IIS5.1. See [KB 1494954 - Crystal Reports 2008 DHTML viewer for VS .NET is blank when displayed on a web form|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433393334333933353334%7D.do].
    I'll check with Program Management and get back with a definitive answer.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Problem in showing progress image and status message.

    Hi, friends,
    I have file upload program in which when user uploads the file
    i want to show animated progress file
    i.e. ( circle.gif )
    when upload finishes it should display message :
    File < file name > uploaded successfully.
    How do i achieve it ?
    since when i am uploading file , image is displayed but
    due to upload process image is hanged up and did not showing
    animation.
    Kindly solve the above problem.
    i post my some code here.
    ============================
    javascript part is here
    function showProgress()
            document.getElementById('imgprogress').style.display = "";
         document.getElementById('imgprogress').style.visibility="";
        function completedupload()
         document.getElementById('progress').style.display = "";
         document.getElementById('progress').style.visibility="";
    <div id="imgprogress" style="display:none; visibility:hidden;"><img src="images/circle.gif"></div>
                                                      <div id="progress" style="display:none; visibility:hidden;"><%= status %></div>
                                                      <div id="" style="display:none; visibility:hidden; "><img src="images/circle.gif" width="21" height="21"></div>since it is not working good.
    please provide me good solution for this.
    i need exactly following :
    when user gives big file to upload it shows progress as animated image
    and upload process finished up, it should remove image and display status message like " File Upload completed. "

    I know this is an old topic, but I found the solution and thought I'd share it! By default, a JList only has 1 visible row. To allow the number of rows to expand dynamically, throw this in.
    this.imageList.setVisibleRowCount(-1);My code looks like this. It centers each image and centers the text under the image and wraps images horizontally.
        ListCellRenderer renderer = new ImageListCellRenderer();
        this.imageList.setCellRenderer(renderer);
        DefaultListModel listModel = new DefaultListModel();
        this.imageList.setVisibleRowCount(-1);
        this.imageList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
        this.imageList.setModel(listModel);and the renderer
    public class ImageListCellRenderer extends DefaultListCellRenderer { 
      public Component getListCellRendererComponent(JList list, Object value, int
          index, boolean isSelected, boolean hasFocus) {
        JLabel label = (JLabel)super.getListCellRendererComponent(list, value,
            index, isSelected, hasFocus);
        if (value instanceof File) {
          File imageFile = (File)value;
          String path = imageFile.getAbsolutePath();
          Image image = Toolkit.getDefaultToolkit().getImage(path);
          image = image.getScaledInstance(100, 100, Image.SCALE_DEFAULT);
          ImageIcon imageIcon = new ImageIcon(image);
          label.setIcon(imageIcon);
          label.setText(path.substring(path.lastIndexOf(File.separatorChar) + 1));
          label.setVerticalTextPosition(SwingConstants.BOTTOM);
          label.setHorizontalAlignment(SwingConstants.CENTER);
          label.setHorizontalTextPosition(SwingConstants.CENTER);
        else {
          label.setIcon(null);
        return label;
    }I need to work on this to improve performance, but it works!

  • Why is Apple TV showing the same computer multiple times for Home Sharing?

    Why is my Apple TV showing the same computer multiple times for Home Sharing? Also have connectivity issues. Sometimes will lose signal.
    JonRod's music
    JonRod's music
    JonRod's music
    JonRod's music
    JonRod's music
    I recently updated to Yosemite and never had this issue before.

    I'm not 100% sure of the ins and outs, but it's some sort of known issue between Yosemite, Airport and wifi. All you can do is wait for a fix and keep restarting your equipment as and when needed, unless you have the ability to connect your Mac via ethernet.

  • How to show progress bar in miniplayer?

    How to show progress bar in miniplayer? I play a lot of music podcasts and it would be very helpful if anyone could help me bring that feature back.

    i answered here:
    http://forum.java.sun.com/thread.jspa?messageID=9739423&#9739423

  • Show progress bar before loading the applet or application

    hi ,
    My application size is large and take some time to load . Now i want that to show progress bar . how can i do this .Please Help me
    sorry for my english.
    Thanks

    Do everything in a seperate thread. Create a progress bar in the main thread, then create a new thread for initializing your app. Once the init is done, hide the progress bar and make your app visible.

  • Itune doesnt install showing error during installation of assembly ''Microsoft.VC80.CRT,type=wim32'',version=''8.0.50727.6195''.publicKeyToken=''1 fc8b3b9a1e18e3b

    itune doesnt install showing error during installation of assembly ''Microsoft.VC80.CRT,type=wim32'',version=''8.0.50727.6195''.publicKeyToken=''1 fc8b3b9a1e18e3b

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Creating multiple procedures in one go

    When I try to create multiple procedures in one go
    All of the procedures are stored in the first procedure
    When I run the following script:
    create or replace
    PROCEDURE CREATE_ITEM
    (ITEM_id items.item_id %type,
    ITEM_DESC items.item_description %TYPE,
    ITEM_COST items.item_cost %TYPE,
    ITEM_QUAN items.item_quantity %TYPE)
    AS
    BEGIN
    if (ITEM_QUAN >=0)
    THEN
    insert into items values
    (upper(item_id) || LPAD(seq_item_id.nextval, 4, '0'), upper(ITEM_DESC), ITEM_COST, ITEM_QUAN);
    DBMS_OUTPUT.PUT_LINE (ITEM_DESC || ' was recorded');
    else
    DBMS_OUTPUT.PUT_LINE ('Quantity should be 0 or more!!');
    end if;
    END CREATE_ITEM;
    CREATE OR REPLACE PROCEDURE CREATE_ORDER
    (customer_id customer.customer_id %TYPE)
    AS
    BEGIN
    insert into orders values
    (seq_order_id.nextval, 0, customer_id, sysdate, 1);
    END CREATE_ORDER;
    It creates "CREATE_ITEM" procedure and store all the script in it..
    Is there a solution for this problem?
    regards

    Hi
    Place a forward slash
    between the two procedures on its own line.
    SQL*Plus requires it as well.
    Regards,
    Dermot.
    SQL Developer Team

Maybe you are looking for

  • New Ipod touch can't connect to itunes due admin restrictions.

    I just got a new Ipod touch. Where I'm located i'm unable to connect to the iTunes store since it is blocked. Is there any otherway to activate my iPod. I'm unable to go any other place in which I would be able to connect to the store. It's going to

  • Premiere Pro CC won't import XDCAM EX files from the Sony PMW200 or PMW150

    I work for a company that recently upgraded to Premiere Pro CC from premiere Pro 6 after purchasing a Sony FS-7. This has worked great for viewing the files out of the FS-7, however I can no longer import the XDCAM EX files from our PMW200 camera tha

  • Can I highlight and post-it-note a pdf on a tablet and then open it later on my laptop (and vice-versa)?

    Thank you for your time and clear answers. Obviously I would save it and then transfer it to my laptop. One more thing: I am interested in purchasing a tablet primarily for reading PDFs (often scanned books and articles).  But I must be able to highl

  • Error Seeburger Mapping Designer

    Hi Experts. I have an Scenario file to file and I try to convert an ANSIX12 document from EDI to XML with the Seeburger BIC, but I have an error: - Conversion of synchronous request from module chain ended with errors ---Error: [Error:ID=2023;LEVEL=1

  • SRM wf

    Hi all, Are the workflows in SRM shopping cart used for the same purpose as release pocedure in ECC???