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.

Similar Messages

  • 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

  • While executing crystal report in visual studio getting hresult 0X80131515

    I am working on visual studio 2010..windows form application i am try to create one crystal report.but while executing am getting
    error like this: 
    Then I added crdb_adoplus.dll to
    my refernce.but then also am getting same erro my Target Frame work is .Net
    FrameWork 4
    while coming to this line:
    rpt.SetDataSource(ds.Tables(0))
    what is wrong? how i can resolve this issue?

    Hi jaseem0712,
    Please ask this question on SAP Crystal Report forum instead of here:
    http://scn.sap.com/community/crystal-reports/content
    Regards,
    Barry Wang
    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.

  • Displaying an Indeterminate Progress Bar While a DB2 Stored Proceedure Runs

    How do I display a dialog with an indeterminate progress bar while a DB2 query runs? Could anyone point me to an example or some strong docs?
    I learned Java about six months ago, so I'm relatively new to the language. Through searching and documentation, I've been able to find all the examples and answers I've needed so far. Now I've run into an issue I can't find anywhere. It seems like the most basic thing in the world. I have a DB2 stored procedure that takes about 5 minutes to run. While it's running, I want to display a simple dialog with a progress bar going back and forth (no buttons, no user interaction).
    I'm using Eclipse 3.3.1.1 as my IDE, and running the application from a JAR file. I have Java 1.6.0.30 installed. The DB2 query is running in response to a user clicking a button on the form (an ActionEvent). All of my forms are using Swing (JFrame, JDialog, etc.).
    The crux of my problem seems to be that I can bring up a dialog (which should contain the progress bar), but I can't get it to paint. All I get is a window that's the right size/location, but contains an after-image of what was behind it. I can't even get a dialog to display with a "Please Wait" label while the DB2 procedure runs.
    I tried separating both the DB2 stored procedure and the progress dialog into separate threads. I tried yielding in the DB2 thread to give the progress dialog a chance to update. I tried using invokeAndWait, but I got the following error:
    Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
    It seems like I'm doing something wrong in my use of Theads, but I can't for the life of me figure out what it is. If anyone could help out a bit of a Java newbie, I would be extremely grateful.

    Demo:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ProgressBarExample2 {
        private JProgressBar bar = new JProgressBar(0,99);
        private JButton button = new JButton("Lengthy operation");
        private ActionListener al = new ActionListener(){
           public void actionPerformed(ActionEvent evt) {
                button.setEnabled(false);
                bar.setIndeterminate(true);
                new Worker().execute();
        private class Worker extends SwingWorker<Boolean, Boolean>{
            protected Boolean doInBackground() {
                try {
                    Thread.sleep(10000); //10 secs
                } catch (InterruptedException e) {
                return Boolean.TRUE;
            protected void done() {
                button.setEnabled(true);
                bar.setIndeterminate(false);
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new ProgressBarExample2();
        ProgressBarExample2() {
            button.addActionListener(al);
            JPanel cp = new JPanel();
            cp.add(button);
            cp.add(bar);
            JFrame f = new JFrame("ProgressBarExample2");
            f.setContentPane(cp);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • 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

  • 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.

  • 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

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • Crystal Reports for Visual Studio and (Wcf) Web Services

    I´m evaluating Crystal reports for Visual Studio 2010. I want to read data from a (Wcf) Webservice into the predefined Reports and deliver them to the Users in an ASP.NET Application. As far as I see reading Webservices via the XML/Webservice datasource works good in the Crystal Reports 2011 Applications - But I have Problems with the Integration of the XML/Webservice datasource in the CRVS2010 Environment.
    I read your Article on sdn: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13732
    which helped us to enable the XML Datasource in the CRVS2010 environment on a Machine where Crystal Reports 2011 and VS2010 is installed, but this required copying DLL´s and installing the JRE.
    But I´m not able to  run the XML/Webservices datasource on a webserver in a ASP.NET Application where Crystal Reports 2011 is not installed (only the runtime) - the above post doesn´t help because  the path structure is completely different on my machine. Is there a manual, which helps me to enable the XML datasoucre and the CRVS2010 runtime ?
    I´m not sure if reading XML is the best practice for a new Project, especially after reading your article at http://forums.sdn.sap.com/thread.jspa?threadID=1952093
    I´m now evaluating ADO.NET XML as mentioned in your article, but I´m not sure if this is the right decision.
    Is there a a new version  for Visual Studio 2010 of the u2022csharp_web_adonet.zip example ?
    BTW: All examples in the Sample Code for Crystal reports for Visual Studio 2010 reference Assemblies in Version 14, which are not present on my machine. I had to find/replave 14 through 13, before they are compilable. Did I made a mistake during installation ?

    Hi Henrik,
    First of all you didn't make any mistake installing CRVS2010. It has assemblies with version 13.x
    Now as far as patches are concerned ensure that you are on SP2. You can get runtime and patch from following:
    http://www.sdn.sap.com/irj/sdn/crystal-xcelsius-support?rid=/webcontent/uuid/d01fdad8-44e5-2d10-61ad-9d2d4158f3a8
    You can opt for AD.NET as one of the datasource but what is the error/ warning you get when you use Web Serive as datasource?
    You can find the latest samples created for CR2008 here
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0bf8496-2a81-2b10-95ac-b1f48d5b63f5
    - Saurabh

  • Crystal Reports for Visual Studio 2010 runtime LICENCE

    I want to welcome everyone. It's my first post on this forum.
    I want to provide my Windows Form application to a client. This application was written in VS 2010 and it uses SAP Crystal Reports for generating simple report.
    I've read [Crystal Reports Licensing Explained|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10cd9e15-120d-2c10-3fb5-be299000b6b7&utm_source=crvs2010&utm_medium=lp&utm_campaign=licensing_explained] pdf and I've learnt that in my case redistribution of software that embeds the Crystal Reports runtime engine is free.
    My question is:
    Is there something else I must include in my application package for instance a licence file? Or maybe I just have to include SAP CR runtime or ask user to download it from the SAP web site and that's it?
    Marcin

    Hello Marcin,
    Welcome.
    Please note that whenever you distribute your application (which uses Crystal reports) to others who may not have Crystal designer product, you need to provide the runtimes along with the application. The runtimes provide the necessary dlls in the machine for running Crystal inside the app.
    You can use an exe to install the CR runtimes and then deploy your app. OR you can include the msm files and create a deployment package.
    You will get the runtimes for CR4VS2010 [here|/people/coy.yonce/blog/2010/11/12/crystal-reports-for-visual-studio-2010-production-release-now-availableCystlR%2528SAPWeblogs%253ACrystal+Reports%2529].
    You might want to check [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313335333833323336%7D.do] link for details.
    Forgot to mention:
    we have dependency on C++ runtimes. Please look at [this|Visual studio setup project with merge modules - C++ problem; thread for details or do a quick search, in this forum.
    Hope it helps.
    Thanks.
    Edited by: A G on Dec 2, 2010 6:03 PM

  • Image Quality In Crystal Reports for Visual Studio 2010

    I am using the new production release of Crystal Reports for Visual Studio 2010 and I am having an issue with image quality when adding an image to a crystal report.
    The image itself is a .TIF file,  and when opened in Windows, the quality of the image, which is mostly text, is very high. The image was created from a electronic PDF form and I intend to use this as a background for the crystal report, over which I will place data fields.
    As soon as the image is added to the report you can see the degradation in quality in the design window and in the preview window within visual studio. The quality remains low when viewing the report in the WPF report viewer and when printing from this control.
    I have ensured the "Retain Original Image Color Depth" option is checked but this has made no difference (the image is black and white anyway).
    The image in the report has been left at its native size, no resizing at all. The image is 355KB in size if that's relevant.
    Is there a reason the image looses quality when added to a report? Is it being compressed? More importantly, is there a way to make the image retain its native quality when adding it to a crystal report?
    Thanks in advance.

    The following image is the image I am trying to display. Although imageshack has converted it to a png, if you right click and save the image you can open it and zoom in with little image degradation.
    http://img132.imageshack.us/i/j301.png
    The following is a screen shot of how the tif file looks in the designer when zooming in:
    http://img138.imageshack.us/i/j30lowquantity.jpg
    The second image has lost its clarity and is unusable when printing.
    I hope this helps.

  • No images when deploying Crystal Reports for Visual Studio 2005

    Post Author: wcl
    CA Forum: Publishing
    Developed a ASP.Net web site that uses Crystal Reports for Visual Studio 2005, everything works fine locally.
    Following instructions from  http://support.businessobjects.com/downloads/merge_modules.asp#07 a deployment package has been created using CrystalDecisionsRedist2005_x86 merge module and the website has been installed.
    When it is deployed to a remote development server the report images are not displayed.  The report navigation works, it is the images that are not found when the report is displayed.
    Should the vs2005 key be entered some where on the remote server?

    Post Author: wcl
    CA Forum: Publishing
    Thnakyou very much for your quick reply.
    The directory has not been created by the merge module,  which folder should it be created in and what contetants should it have?
    <-edit>
    an example of an image it can not find is "/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/upd.gif",  so does the folder '/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3' need setting up?
    </edit>

  • Looping login screen in Crystal Reports for Visual Studio 2008

    Hello,
    I am using Visual Studio 2008 with the Crystal Reports Basic for Visual Studio 2008. Visual Studio and the Crystal Reports Basic Runtime for Visual Studio 2008 (x64) are installed on both the development and production boxes.  I am using Crystal Reports via Visual Studio and do not have the full blown version of Crystal Reports installed on my machine.
    We have used Visual Studio to create an aspx webpage and would like to use Crystal Reports to display a graph. The report displays fine in debug mode, but displays a looping login screen when moved into production on the web server. The web server is using Windows Server 2008 (x64) with IIS 7. We have tried passing the logon parameters to the crystal report during the page init event with the auto-bind feature enabled on the crystal report viewer. A MySQL database provides the data for the report. All ODBC data sources have been configured the same on both machines. 
    Any help would be greatly appreciated!  Thanks!

    Hello,
    Use a tool called ProcessMonitor from Microsoft and watch what happens when you try to log on.
    Also can you verify you created your DSN using the 64 bit ODBC Admin and that you are using a System DSN so IIS can find it.
    And that the MySQL ODBC drive is also 64 bit?
    If you can read ODBC trace logs you could enable it also and see what error you are getting.
    Thank you
    Don

  • Using Crystal Reports for Visual Studio 2008 in C++/CLI

    How can I use Crystal Reports for Visual Studio 2008 for creating WinForm Application written in C++/CLI under VS2008 ?

    Can you repost your last response in English?
    Also, check out this post
    Read Before Posting - Where to find Crystal Reports .NET SDK resources
    It has links to our Crystal Reports resources for .NET.
    Edited by: Jason Everly on Apr 22, 2009 9:07 AM

Maybe you are looking for