Is it possible to create a Progress Bar?

Hi All,
Is there any way to create a Progress Bar in a Form?
John

You can create your own progress bar form using Visual Basic.  Display your progress bar form with the always on top flag set with an API call.
I've done this and I use it a lot because I have found that there is no other way to indicate to the user that a lengthy process is executing.

Similar Messages

  • How to create a progress bar showing status on timeout of TCP Read function

    Is there any way of creating a progress bar showing the status of a 'TCP Read timeout' time ... ?
    I'm sending a data request to an intranet server via TCP Write, and then using TCP Read with a 2 min. timeout to receive the requested data. During this time i want to show the actual progress of the timeout in a progress bar.
    Can this be done?
    And do i have to implement some kind of multitasking to make it happen?
    TIA

    Soulstorm wrote:
    > Is there any way of creating a progress bar showing the status of a
    > 'TCP Read timeout' time ... ?
    >
    > I'm sending a data request to an intranet server via TCP Write, and
    > then using TCP Read with a 2 min. timeout to receive the requested
    > data. During this time i want to show the actual progress of the
    > timeout in a progress bar.
    > Can this be done?
    > And do i have to implement some kind of multitasking to make it
    > happen?
    It can be done and you need to do some multitasking yes, but that is
    quite easy in LabVIEW. A separate loop or subVI with loop will be
    responsible for the progress bar. Set its scale to 0 and the number of
    seconds of your timeout. In parallel to the TCP Read let this loop or VI
    execute reading the time every few
    seconds and calculating the
    difference to its start time, passing this value to the progress bar
    slider. Have an extra boolean global which aborts the loop and set this
    boolean to FALSE before starting the loop/VI and TCP Read and setting it
    to TRUE on return of the TCP Read.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Create a progress bar DeskBand

    sh to create a progress bar deskband, in order to display a progress bar in windows taskbar. I wish to display the progress bar horizontally and the same width as the taskbar.
    Can someone please tell me how to create a taskbar deskband, in order for me to use it as a reference?
    If you could please give me an example, I would greatly appreciate it.
    Thanks.

    Hi Nando88
    I am not completly sure about if I completely understood your question, however, I found this in the community, and I think it might be usefull for you.
    https://decibel.ni.com/content/groups/ui/blog/2009/12/24/using-windows-7-taskbar-progress-bar-from-l...
    Could you please let us know if this is what you were refering to?
    Thanks!
    WenR

  • Is it possible to have a progress bar on a J3d-applet?

    I wonder if it is possible get a download progress bar to work on a J3d-applet. I have to do this with a JProgressBar, which is a Swing component. I have heard that it is hard to get Swing to work with Java3d. Is this the case?

    You can try to add Canvas3D in some container like JFrame, JDialog or what ever you are using and add JProgressBar to that container as well. You may use appropiate layout as well. JProgressBar cannot be a part of your 3D world. But if u want to use simple components like Label or TextFields then u could use Overlay library at j3d.org

  • How can i Create a PROGRESSIVE BAR   while process of a procedure is going

    hi,
    I have a push button in my form that runs the procedure .the process will approx 15 minutes. while processing is started, i want to display PROGRESSIVE BAR
    until process complete and exits automatically after process . please suggest me how to create the same, is it possible..
    please send me solution as soon as possible please
    thanks in advance
    prasanth

    The forms demos contains a progress bar bean which you can use if web deployed.
    Regards
    Grant Ronald
    Forms Product Management

  • Is it possible to fit 2 progress bars within 1 (more)

    hi, I am implemented a client/server which streams music files, and plays them concurrently. I currently have a progress bar which indicates how much of the file has been downloaded.
    And I could also have a seperate progress bar indicated how much of the song has been played, but what i would really like to do, is have 1 progress bar, and have 2 actual bars moving inside it (each different colors), one indicated the download percentage (which should always be ahead) and the other indicating how much of the song has played (which will write over the download bar).
    Thus i would like to have both bars moving at the same time. I dont think this is possible, but if anyone has any ideas, I would love to hear them. Thanks!

    ok...so i got that working, and i am very grateful for your help. but i have ran into another problem:
    I want to set the two different progress bars to different colors, so you can distinguish them, so I looked at the API for fillRect says it uses the default color. so i looked in the JProgressBar to see if there is any function to change the color and there wasn't, so i tried g2g.setColor(Color.RED), and i got all these errors:
    java.lang.NoSuchFieldError: RED
    at client$JDoubleProgressBar.paintComponent(client.java:425)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
    n Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Any ideas here?

  • Is it possible to use a progress bar in Photoshop?

    Hi,
    I'm developing an automation plug-in to Photoshop. It take long time to do the work, I therefore want to start a none modal dialog with a progress bar and a cancel button. I did not find any example of this in the SDK. Is it possible to use any of the functions in the PIProgressSuite.h for this kind of dialog?
    Regards,
    Mattias

    I don't think you will have much luck with the progress suite. It is used for one operation that your plug-in would control. You are probably using multiple Photoshop events and want to sum them up in a progress bar. Ideally you would want a double progress bar, one for the overall progress and one for the step progress. Unfortunately, the progress suite will get reset with each process that Photoshop tries to show progress for. Your best bet is to just use an OS progress bar in your dialog. Figuring out the progress will be dificult.

  • Creating a progress bar while querying a report in Visual Studio

    I have created a Visual Studio 2013 program that runs reports from a SQL server.  I want a progress bar to show up in my VS program while it is querying so my user doesn't think that it is frozen while running larger queries.  How can I do this.
     Step by step is better since I am new to programming.
    Gracies 
    Much Love 

    Hi flextera,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    To make this issue clearly, would you mind letting us know more information about this issue? Which language are you using? Which kind of app are you developing? You said that it is related to the report in SQL Server, is it the SSRS issue or the specific
    windows app like the WinForms app?
    Please share me more information, I will help you find the correct forum for this issues.
    If there's any concern, please feel free to let me know.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating a progress bar using BufferReader()

    Hi,
    I was wondering if it was possible to count the number of bytes that BufferReader() has read. I doing that because I need it to calculate progress (to have a progress bar). This is what I'm doing.
    private void createOutputFile() {
            String line;
            String [] temp = new String [21];
            try {
                FileReader fr = new FileReader(new File(openTF.getText()));
                FileWriter fw = new FileWriter(new File(saveTF.getText()));
                BufferedReader br = new BufferedReader(fr);
                BufferedWriter bw = new BufferedWriter(fw);
                while ((line = br.readLine()) != null) {
                    temp = line.split("\\t");              
                    if (temp.length > 18 && temp[18].length() > 0){
                        fw.write(temp[0] + "\t" + temp[18] + "\n");
                bw.close(); fw.close();
                br.close(); fr.close();
            catch (FileNotFoundException fN) {
                fN.printStackTrace();
            catch (IOException e) {
                System.out.println(e);
        }I know that I can do it using BufferedInputStream but due to the fact that I'm parsing each line of the file, I don't think I can do that because the length of each line is different (am I right?)
    Thanks.
    Desmond

    the length of each line is different (am I right?)Probably. Just get the length of the each line your read and keep a running total.

  • How to create/set progress bar for loading flash intro

    Hi,
    I am having a falsh intro for my website.
    But its taking time to download and play the intro when we try to access it.
    I have seen many sites with progress bar indicating the status on the downloading of flash items.
    Can anybody please tell me how should I go about this?

    You can make a simple loader, it's a visual cue so your users wait for a moment.
    Try this, get a GIF from one of these site: http://www.google.com/search?hl=en&client=safari&rls=en-us&q=loading+gif&btnG=Se arch
    download it and name it as loader.gif
    add it to you page, and add the following to the page using HTML Snippet:
    <script type='text/javascript'>
    var timerCount = 0;
    var delayTimer = 5; // change this for the duration to show the loader.gif
    var loaderName = 'loader.gif';
    function stopLoader() {
    _imgs = parent.document.getElementsByTagName('img');
    for (ji = 0; ji< _imgs.length; ji++) {
    if (_imgs[ji].src.indexOf(loaderName) != -1) {
    loaderElement = _imgs[ji];
    break;
    if (timerCount == delayTimer) {
    loaderElement.style.visibility = 'hidden';
    clearInterval(_stopLoader);
    timerCount++;
    parent.iWLog(timerCount);
    _stopLoader = setInterval('stopLoader()', 1000);
    </script>
    BTW, here is an example: http://hdl.50webs.com/Sample/Blank.html

  • Creating a progress bar on a HTTP Service

    Hello All,
    As the top title suggests, does anyone know the best way of doing this? The HTTP service is simply pulling some XML data and I want to inform the user of how long this is going to take or what % it is currently completed.
    I dont have much experience with using progress bars so any help would be much appreciated.
    THANKs!

    I found this online but It doesnt seem to work;
    If your HTTPService has id of httpService you have to first invoke an eventListener of type ProgressEvent.PROGRESS. On the stage or in your Popup you have to make a progressBar with id (for example myProgressBar)
    httpService.addEventListener(ProgressEvent.PROGRES, progressFunction);
    Than you have define a progressFunction that will accept broadcasted ProgressEvent like so
    private function progressFunction(event:ProgressEvent):void{
    myProgressBar.mode = 'manual';
    myProgressBar.setProgress(event.bytesLoaded, event.bytesTotal);
    //you can than do something when content is loaded
    if (event.bytesLoaded == event.bytesTotal){
    //code for popup removal or removal of progressBar

  • How to Create Progress Bar in SAP

    Hi!
            I need to know how to create a progress bar in Sap Business One with VB.Net to Show  a Scheduling Status.

    Hi Parag,
    The code you need to create a progress bar is:
    Dim Progress as Integer
    Dim oProgressBar As SAPbouiCOM.ProgressBar
    oProgressBar = oApplication.StatusBar.CreateProgressBar("YOUR_TEXT", oRecordset.RecordCount, True)
    oProgressBar.Text = "YOUR_TEXT"
    and for each record:
    Progress += 1
    oProgressBar.Value = Progress
    When all is finished
    oProgressBar.Stop()
    Regards,
    vanesa

  • Problem in creating progress bar in form6i

    dear all
    how are you?
    i created a progress bar but i face a problem.
    in the when button pressed trigger i write this
    declare
    cursor MY_cur is
    select col1,col2,col3
    from base_table;
    vWIDTH number :=0;
    vSTEP NUMBER := 0;
    begin
    SELECT COUNT(1)
    INTO vROWS
    FROM base_table;
    vSTEP := 300 / vCOUNT;
    show_view('progress_bar_stack');
    for i in MY_cur is
    loop
    insert int my_tab(c1,c2,c3)
    values(i.col1,i.col2,i.col3);
    set_item_property('progree_item',width,width+vSTEP);
    synchronize;
    end loop;
    end;
    I ASK IS THIS A GOOD WAY TO CREATE A PROGRESS BAR OR NOT . AND IS THERE ANOTHE WAY TO CREATE A PROGRESS OTHER THAN THIS.
    PLEASE IF YOU HAVE A WAY , WRITE IT .
    TAREK FATHI
    2005 05 31

    my way of implementig a progress bar is:
    window wn_pbar with canvas cn_pbar and a button bt_pbar. The Button has a width of 1 pixel and max 300.
    now I have a procedure pbar.init (P_<wn-name>, P_<max-value>) which writes a window-header in the wn_pbar and a max-value in a package-variable.
    another function named pbar.next (P_<value> DEFAULT 1) increments an internal variable act-value. This act-value is initially 0 and can increment to max-value. The act-value/max-value is the percentage of the width of the button. e.g. 1200/2000 means 60% -> 60% of width 300 = 180 width for the button.
    another procedure pbar.destroy deletes the variables, closes the window wn_pbar and goes back to the item, where the focus was before the pbar started.
    with this steps you can easily group these objects in a objectgroup and inherit it to all forms you need a pbar. the sourcecode is still in a library pbar.pll which you have to attach.
    it looks like your functionality, but you can use it anywhere you need it.
    try it
    Gerd
    PS: This is a very useful method for forms client/server. In the web you have to check, that the button not refreshes to open.... the more network-roundtrips, the fewer performance...

  • Create progress bar

    Hi. Do you know how to create a progress bar ?
    In my JSP, i'm going to show some numbers and a progress bar telling the user how many % of a job (s)he has done. I'm doing a regular refresh and getting the %-number from a backend-method.
    I'll be very thankful getting some advice.

    This is just one of those posts that is just asking for some sarcastic remarks... I'll pass this time.
    Advice about what? Only post here if you have a problem you can't solve yourself. If you check the other posts, another one about this very same topic has some replies, I suggest checking it out.

  • Playback progress bar for shockwave?

    Hi I’m currently playing a lot of movies in my shockwave player enbedded in my webbrowser (chrome). Is it possible to se a progress bar and to rewind and fast forward on the playback?
    It would be so good because now I have to relisten to the whole video to skip back just a couple of seconds...
    All the best and thanks for help.

    Controls are dependent on the developer of the Shockwave movie adding them. This isn't a Player property but something the author needs to create - you should contact the developer.

Maybe you are looking for

  • Adding Folders to Library in Windows Vista

    I have recently replaced my notebook with one running Windows Vista, and have a fairly annoying problem with adding music to my iTunes library. All of my music is stored in a shared folder on the hard drive of a different computer on my home network.

  • My ipod touch 3rd gen fails to restore and disconnects its self mid sync. How can I fix that?

    Its really annoying. Idk what happened to make it act this way, (i'm thinking the recent update for iOS 4.3) First, it connects normally and says that there's an update for the ipod. I download it and let it install, then for some reason while starti

  • Host OS command line call from dbs procedure

    Hi I am using Win2000 server and 8i, I want to execute a host os command in the middle of a database procedure but do not know how. I did a search here and did not find anything. Any help greatfully received. cheers Tony

  • How to boost Frame Per Second?

    Ok I see all these games that get a good 30-60 fps. I have a game I created that is 2d with some .png images. I need to boost my fps from 16 to 30+ How would I go about this? This is how I have it set <Main Applet> -> <swing.timer(1ms)> -> Repaint()

  • LVM  or not?

    Hi, Which one is the preferred method for partitioning a Linux for Oracle DB, LVM or not?