How to open Crystal report 11 using the Visual c++ 6.0 code

I am using Visual c++ 6.0.I can't open crystal report X1 from my vc++ application. The same code which I have used for crystal report 7.0 is using for crystal report X1.But it shows "Unbale to load the report". Please help me out.
The code snippet I have used is given below for the reference
//m_Crystal_Image - Object of CCrystalCtrl class
//csDBFilePath - Access Database File path
//csReportFilePath - Crystal report 11 file path
m_Crystal_Image.SetReportFileName(csReportFilePath);
m_Crystal_Image.SetWindowTitle("Test Report");
m_Crystal_Image.SetDataFiles(0,csDBFilePath);
m_Crystal_Image.SetDiscardSavedData(true);
m_Crystal_Image.SetDestination(0);
m_Crystal_Image.SetWindowState(2);
m_Crystal_Image.SetAction(1);
Thanks for ur help in advance.....

same as:
How can I open the crystal report X1 report from the vc++ application?
Locking thread
Ludek

Similar Messages

  • How to open Crystal Report from the SAP GUI ?

    Hi experts,
        We have developed some reports for our ECC 6.0 system by using Crystal Report 2008 and SAP integration kit , these reports are published to BO edge 3.1 server.  To view the report, our user have to open IE and login Infoview first.
       For convenience, we want to open Crystal report from SAPGUI directly without login BOE, How can we do it? 
    Thanks.

    Hi
    please take a look here
    Crystal Reports
    Regards,
    STratos

  • How to create crystal reports using MSDE 2000?

    Post Author: S_Muhilan
    CA Forum: Deployment
    Hi,
    I am using Crystal report 8.5. My Database sqlserver 2000. I generated reports and are working fine.
    Now I want to use MSDE 2000 instead of Sqlserver 2000 due to license factor.
    My application is developed in VB 6. The all the parts of the application is working fine except the report.
    All reports produced Database DLL error.
    So I opened the report and try to verify the database. But it gives pdssql.dll not found. Database error.
    After this error, I tried to create a new report and found that there is no option for MSDE 2000 database selection under more database.
    I usually select Sql server 2000 database under More Database option of location wizard.
    How to create crystal reports using MSDE 2000?
    Is it due to crystal report 8.5 verison problem? I also have crystal report 11 licensed copy.
    Please give me the good solution as early as possible
    RegardsS. Muhilan

    To use the inproc RAS SDK with CR.NET, you'd have to purchase either (1) Crystal Reports XI Release 2 Developer edition, and apply Service Pack 2 or above, or (2) Crystal Reports 2008 (not Crystal Reports Basic that comes with Visual Studio 2008).
    Sincerely,
    Ted Ueda

  • Calling a Crystal Report using the ReportViewerBean

    Hello...I am writing a java application to display a Seagate Crystal report using the ReportViewerBean.
    The problem I am having is trying to display the report within the viewer.
    The following is a sample from my code where I create an instance of the viewer bean.
    ReportViewerBean rvb = new ReportViewerBean();
    JFrame frame = new JFrame();
    frame.setSize(1000,1000);
    frame.getContentPane().add(rvb,BorderLayout.CENTER);
    frame.show();
    rvb.start();
    try
    String strUrl = "http://localhost:8080/Report1.rpt";
    rvb.setReportName(strUrl);
    catch(java.beans.PropertyVetoException pve)
    System.err.println("Property change vetod");
    The Sys-out from the Report Viewer bean is "No reponse from server".
    The sysout from my server (Tomcat 3.2.3) is:
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): FileHandler: Ends with \/. D:\jakarta
    -tomcat-3.2.3\jakarta-tomcat-3.2.3\webapps\Report1.rpt\
    2001-09-06 09:08:53 - Ctx( /Report1.rpt ): 404 R( /Report1.rpt + + null) null
    Any suggestion/help would be greatly appreciated...TY

    I am getting the same 'No Response from Server' Message.
    URL = http://Pepperland/STPARMListing.rpt?viewer=java&vfmt=encp&vgen=728&pversion=3&language=en&promptOnRefresh=1
    Parameters = cmd=get_pg&page=1&incomplete_page=1&incomplete_page_count=1&smart_images=1
    No response from server.
    The WWW service and the Default Web Site are up and running.
    I tried configuring the application settings in the IIS MMC but I was unable to determine which .dll to associate with the .rpt extension.

  • How to create crystal reports using servlets/jsp

    plase any body help me how to create and interact with crystal reports using java

    To use the inproc RAS SDK with CR.NET, you'd have to purchase either (1) Crystal Reports XI Release 2 Developer edition, and apply Service Pack 2 or above, or (2) Crystal Reports 2008 (not Crystal Reports Basic that comes with Visual Studio 2008).
    Sincerely,
    Ted Ueda

  • How to buld Crystal report using data from Bex query

    Hi,
    I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
    Thanks,
    Chandra

    Hi Chandra,
    Here is the docuemnt which explains you in detail about the steps to create Cyrstal Report using BEX Query.
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948&overridelayout=true
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Regards
    SIndhu

  • How to get Crystal Reports Editor in Visual Studio 2013 Preview?

    In Visual Studio 2005, if I double-click a *.RPT file in Solution Explorer, the file opens in the Crystal Reports editor.
    In Visual Studio 2013 Preview, if I double-click a *.RPT file, it opens in Notepad.  How do I get it to use the Crystal Reports editor again, please?
    Thanks and RICKgards
    Rick Raubenheimer

    Hi Rick,
    Since Visual Studio 2013 is still Preview version, I don't think you can find  something like this:
    SAP Crystal Reports, developer version for Microsoft Visual Studio - 2012
    Please notice that you will need to install additional packages for latest VS version, such as Visual Studio 2010 and Visual Studio 2012,
    For more details, please reopen a new case on this forum:
    http://scn.sap.com/community/crystal-reports-for-visual-studio/content?filterID=content~objecttype~objecttype[thread]
    Or contact SAP for support since it is a third party feature to Visual Studio.
    Best regards,
    Barry Wang
    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • How to open Crystal report 9 with crystal report 8

    Hi All,
    I was using Crystal report 9(Seagate Crystal Report). I prepared report on crystal report 9.
    Now I am using Crystal report 8(Seagate Crystal Report).
    When I try to open my reports(that was build on version 9) it gives error: *"Failed to open document"*
    and *"Invalid report version".*
    Could any one please suggest me how I can open and use report of version 9 with version 8.
    Thanks in advance,
    Cheers

    This is the Oracle Forms-forum. Post your question in a crystal-reports-related forum.

  • Integrating crystal report into the visual studio standard edition IDE

    I have visual studio 2005 standard edition. I need to upgrade some asp.net reports that were done using visual studio 2003.
    I have just install Crystal Reports XI developer edition version 11.0.0.1282.  How can I integrate Crystal into the Visual Studio 2005 IDE?

    Hi
    I would like to inform you that VS 2005 is only compatible with CR XI R2 and CR 2008.
    Have look in supported platform guide:
    https://websmp105.sap-ag.de/bosap-support
    You need to upgrade CRXI to CRXIR2 then try to solve this issue.
    To download the CR XI R2 follow the instructions given below:-
    Crystal Reports XI is installed on your computer. You need to manually uninstall Crystal Reports XI for one of the following reasons:
    u2022 To verify that all Crystal Reports XI components have been completely removed prior to installing a later version of Crystal Reports.
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the 'Add/Remove Programs' command (Start > Settings > Control Panel).
    u2022 To remove the remaining Crystal Reports XI components that have not been removed using the Setup.exe file from Crystal Reports XI installation CD.
    How do you manually uninstall Crystal Reports XI?
    Resolution
    Before getting started, uninstall Crystal Reports XI by launching the Setup.exe file from the installation CD or by using the 'Add/Remove Programs' command. If either of these methods fails to remove all Crystal Reports directories, files and registry keys, then continue with the resolution of this article.
    ==========
    WARNING:
    This resolution can be applied if Crystal Reports XI is the only software installed on the computer that uses the Business Objects directories, files and registry keys.
    For example, Crystal Analysis, Crystal Enterprise and BusinessObjects Enterprise XI are applications that may share the same directories, files and registry keys.
    Removing these directories, files and registry keys may cause other software to function incorrectly.
    ==========
    1. To manually uninstall Crystal Reports XI, delete the following directories:
    u2022 C:\Program Files\Common Files\Business Objects\3.0
    u2022 C:\Program Files\Business Objects
    ====================
    NOTE:
    Do not remove the directory C:\Program Files\Common Files\Business Objects\3.0 if you have BusinessObjects Enterprise XI or Crystal Reports Server XI installed. These files are shared by both applications and removal of these files will cause Business ObjectsEnterprise XI and Crystal Reports Server XI to function incorrectly.
    ====================
    2. Delete the following registry keys:
    ====================
    WARNING:
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk.
    HELP:
    For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    RECOMMENDATION:
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    ====================
    u2022 HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects
    u2022 HKEY_CURRENT_USER\Software\Business Objects
    u2022 HKEY_USERS\S-#-#-##-...-####\Software\Business Objects
    (The number signs (#) represent a series of numbers that are different on each computer.)
    ====================
    NOTE:
    After making changes to the registry, restart the affected service or application as required.
    After deleting the CR XI from the system install the CR XI R2 full build and provide the same key as you provided in CR XI.
    URL to download CR XI R2 is: - http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CRXIR2
    Click on
    Service Pack 2 - Full build  - ZIP - 1.03 GB - released April 2007
    I would suggest to use the latest service pack of CR XI R2 i.e. Service Pack 4.
    to download SP4 click [here|http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CRXIR2].
    Note:- before installing SP4 - you must have installed CR XI R2 SP2
    Hope this helps!!
    Regards,

  • To find and open Crystal Reports using SI_Name & SI_PARENT_FOLDER

    Hi,
    I have been given the below properties and link, which uses Crystal Reports (I guess its using java integration)
    http://<portal server>/projectsportal/jsp/collaboration/deliverables/pdf_report.jsp?entity=1&Entity_Type=P&Key_Indicators=Y&LV_FROM_FY=&LV_TO_FY=
    The properties used are
    CMSName = 138.220.5.56:6400
    hostName= crystalprd
    authentication = secEnterprise
    #infoStoreQuery = SELECT * FROM CI_INFOOBJECTS WHERE ( SI_NAME = 'OrganizationReport' AND SI_PROGID = 'CrystalEnterprise.Report' AND SI_PARENT_FOLDER = 2000 )
    infoStoreQuery = SELECT * FROM CI_INFOOBJECTS WHERE ( SI_NAME = 'scorecard' AND SI_PROGID = 'CrystalEnterprise.Report' )
    I have to make few changes in the Crystal Reports.
    Please help me in finding out the report.  What is the location of the report ?
    Thanks in Advance for your timely help.
    Eswari.

    You have most of the info already here.  Just use Query Builder to pull back the rest of the object info and you'll have what you need.  I'm not sure which report you want, but either can be achieved in much of the same way.  You'll need to know the parent-child heirarchy for the folder structure to determine where this report sits.  once you have this info, open the CR designer and open the report from the repository navigating the folder heirarchy you found.
    1.  Open "Query Builder" from the start | programs menu on the server.  Depending on the version of XI you are using, the url will differ.
    2.  Execute a query similar to what you posted to bring back the info for the report object (not instances) with the name 'scorecard'. If multiple reports exist in different folders with the same name, they will all be returned.
    SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME = 'scorecard' AND SI_PROGID = 'CrystalEnterprise.Report' and SI_INSTANCE = 0
    3.  Look for SI_PARENT_FOLDER attribute and query on this ID next.  That should give you the name of the parent folder the report sits within.
    SELECT * FROM CI_INFOOBJECTS WHERE SI_ID = <si_parent_folder>
    4.  You will need to keep querying for the parent in order to work your way up the folder tree.

  • Calculating Average Days in Crystal Reports using a Visual FoxPro driver

    Post Author: sher
    CA Forum: Crystal Reports
    I use the following code in a crystal XI report to calculate average days between two dates using the sql server driver.  It worked fine.  I used the same code in a crystal XI program using a visual FoxPro driver.  It does not work.  Can someone help me with code needed to calculate average days using a visual foxpro driver?
    cast ( Avg( DateDiff( DD, CREDENTIALING.APPLICATION_RECEIVED, ENTITYASSIGNMENTS.STATUSASOF )) As int ) AS AvgDaysFromReceipt,
    cast ( Sum( DateDiff( DD,CREDENTIALING.APPLICATION_RECEIVED, ENTITYASSIGNMENTS.STATUSASOF)) As int )  AS TotDaysFromReceipt

    Not sure if this is any simpler but you could save this as a custom function, that way you will have to modify it once a year for the holidays.
    numbervar days;
    datevar date1 := minimum({?My Parameter});
    datevar date2 := maximum({?My Parameter});
    days := DateDiff ("d", date1, date2) -
    DateDiff ("ww", date1, date2, crSaturday) -
    DateDiff ("ww", date1, date2, crSunday);    // this will give you the number of business days
                                                        // (excluding Saturdays and Sundays) for a given date range.
    // then, for each holiday, you can enter lines like this
    if date(2008,01,01) in {?My Parameter} then days := days - 1;
    // The final tally of DAYS should give you the total business days in a date range.
    totext(days,0);
    where {?My Parameter} is the date range.

  • How to open Crystal Reports from Business Content Ext BW

    Hi friends,
    I have activated 0CR_FIAA_M20_Q0007 Crystal Reports from Business Content Ext BW and I have configurated BW_Publisher services in BW but I do´t see reports in /CRYSTAL/RPTADMIN.
    I check RFC connection and it´s ok
    Here I can´t get a role
    and here I don´t see reports
    Do I have to create special role with especial authorization?
    How do I save this Crystal reports in a Rol?
    How do I open this Report ?
    I check Ingo Blog BusinessObjects and SAP - Publishing of Crystal Reports Part 1 of 3 
    but I think, I don´t have some configuration.
    Regards

    Hi,
    I can open report from Role thru CR 2013.
    Here SAP  2.0 folder y Rol
    Here, settings in /CRYSTAL/RPTADMIN are:

  • Unmanaged reports using the RAS

    We have certain question regarding unmanaged reports using the RAS and Business Object .
    1. How do we programmatically open unmanaged reports using the RAS server with BusinessObjects Enterprise.
    2. How do we configure the report directory which will specify the full path containing the sample reports.
    3. How do we publish the crystal report in to repository. As we have license for Business Object. Do we require separate license for this.

    Hello Sai,
    the answers to lots of your questions can be found in our [RAS samples for .NET |https://boc.sdn.sap.com/dotnet/samples]on our [dev lib|https://boc.sdn.sap.com/developer/library].
    Please see some of our unmanaged RAS samples for .NET. ([example|https://boc.sdn.sap.com/node/6392])
    The lowest version for them to run is CR XI R2 SP2 as this brings the inproc RAS.

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.HttpException: Failed to Execute URL.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Display structure in crystal report using structure created in BEx.

    I created a structure in BEx query designer and trying to display the structure as a hierarchy in crystal report.
    Iam not able to accomplish it. the crystal report is displaying the structure with no nodes. please help

    Hi,
    in case you created a BEx query with 2 structure - one for keyfigures and one as characteristic structure - then the structure for the characteristics will result in Crystal REports using the BW MDX Driver as a single field and each element of the structure will result in a row of data.
    regards
    Ingo Hilgefort

Maybe you are looking for

  • Performance Issues with Folio format in Ipad.

    Hello everyone! My FIRST post here!!! I work with educational games and I'm facing performance issues with games that I've made in HTML5 to play in Ipad. I tried to import them to the format folio in DPS (Adobe Digital Publishing Suite). However when

  • 10.2.1 update problem

    I have BB Z10 It is bought from Uniquemobile.com , on the official web site it is saying there is update 10.2.1. but me i stil dont have that update,my Z10 made update but with 10.2.0.......not 10.2.1.Please if you know why send me an email . I am us

  • Sales Analysis Report for Batch Numbers

    I am currently having an issue with Batch numbers and sales analysis report item wise. If the goods are delivered it does not show the quantity in the report. is there a way to make the quantites show. Open delivery notes show the quantity in the rep

  • Is it possible to install a 250GB SSD in a DV7-3160us?

    Hello, After struggling to install a Samsung 840 250GB SSD in my DV7-3160us, it has dawned on me that this may not be possible. Is there a known issue with SSD's as the primary drive in this model? Is the 250GB size a problem? If this size SSD is all

  • How to store text file in MySql database

    Hello Sir/Madam, I want to store and retreive text file in mysql database ,Please give some ideas and send me code examples.