Windows 2008 problems with Delphi and the Crystal Reports VCL

Anybody had any luck with Crystal XI using the VCL on a Windows 2008 machine?
In testing we've found that everything seems to work, except that the user can not select a different printer.  When I go to the Printer Setup button, the panel that pulls up used to have, in previous Windows versions, a printer button inside the Printer Options box.  Windows 2008 does not, so the end user can not select a different printer to print to than their default.
Anybody have any ideas on:
1) Am I just doing somthing wrong
2) A fix for the Crystal XI VCL that will address the probelm
3) An option on how to call Crystal Reports from inside a Delphi program without the VCL?
Obviously, I'm hoping I don't have to go with #3, but if that's the only solution I guess I need to know now.
Mike Nielsen

Hi Mike,
Try these links:
https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375
If that link doesn't work try this one:
https://www.sdn.sap.com/irj/boc/businessobjects-samples
Then click on the Crystal Reports .NET SDK link.
Gets you to the .NET downloads and you should see this, try the RAS samples, gives you the most functionality:
Crystal Reports .NET SDK Applications
All Sample Applications
All | Exporting/Printing | Report Modification | Viewing | Home
Report Application Server .NET Sample Code Code Sample(ZIP 177 KB)
Contains Visual Studio 2005 Web sample code pages that highlight features of the RAS SDK, including report parameter and formula modification, database logon, and exporting.10 Oct 2008
NET-CS2005_CRNET_CR115_Set_Viewer-Locale-by-Page Code Sample(ZIP 51 KB)
This sample shows you how to change the multilingual settings for the .NET web form viewer control (CrystalReportViewer) to any locale of your choice. The locale is set via a QueryString variable. The settings are changed on the webform page level instead of using the web.config. Changing the Regional Settings or IE Language Settings will not impact this sample. Note: This has only been tested on Crystal Reports XI R2 with Visual Studio .NET 2005.14 Jul 2008
NET-CS2003_RAS-Unmanaged_CR115_Modify_Command-Table-SQL Code Sample(ZIP 31 KB)
"This sample application shows how to retrieve and change the text of a SQL command table from a Crystal Report using the CR .NET SDK and in-process Report Application Server (RAS) Report Creation API (RCAPI). Note that you must have SP2 for Crystal Reports XI R2 for this sample to work. Previously you could access the RAS .NET SDK from the ReportDocument object only if you had a dedicated RAS server. Now you can use RAS in-process to accomplish this. "05 Mar 2008
NET-CPP-Win2005_CRNET_CR115_Change_Record-Selection-Formula Code Sample(ZIP 3 MB)
A .NET C++ Windows application that demonstrates how to change a record selection formula at runtime.03 Mar 2008
Crystal Reports 2008 .NET SDK Tutorial Samples Code Sample(ZIP 2 MB)
This sample contains Visual Studio 2005 Web sample code projects that highlight features of the Crystal Reports .NET SDK, including viewing and exporting reports, filtering data and setting parameters, and connecting to different data sources.19 Feb 2008
NET-CS2005_CRNET_CR115_Modify_Image-Location Code Sample(ZIP 90 KB)
This sample application shows how to change an image in a Crystal Report at runtime using the graphic location formula in the CR .NET SDK (C#).16 Feb 2008
NET2003-CS-Web_CRNET_CR115_change_graphic-location Code Sample(ZIP 103 KB)
This sample application shows how to change an image in a Crystal Report at runtime using the graphic location formula in the CR .NET SDK (C#).31 Jan 2008
Crystal Reports .NET SDK u2013 Sample Applications from Tutorials Code Sample(ZIP 1 MB)
This file contains C# and VB .NET Windows and web sample applications. These samples were built using the tutorials provided in the u2018Crystal Reports .NET SDK u2013 Additional Documentation and Tutorialsu2019 (cr_net_sdk_additional_en.zip). These sample applications apply to Crystal Reports 9 and 10, and Crystal Reports for Visual Studio .NET 2002 and 2003.10 May 2006
Thanks again
Don

Similar Messages

  • Problems with parameter button in Crystal Report Server  2008

    Dear all,
    I have problems with parameter button in Crystal Report Server 2008.
    when I created some parameters and groups in Crystal Report 2008, they showed both parameters in 'Parameter button' and group in 'Group button'  on the left, so I can choose or type without clicking 'Refresh button' But when I added it to Crystal Report Server 2008 and I click parameter button , it doesn't show any parameter. Only click refresh button to choose them. On the other hand, for 'Group Tree' is ok. When go to Default Setting-> Parameter, all parameters are in 'Unused parameter'  First time I think I had problems with my installation, but when I reinstalled it again, it was like before.
    Could any one help me with this?
    I appreciate looking forward to your reply
    Ketya

    Try posting your questionin the correct forum, this is for SAP Business One, not Crystal reports Server

  • Mountain Lion fails to install saying it cannot create the recovery; I had a similar problem with Lion and the Apple Store that helped me resolve it gave me an installable version of Mountain Lion on a flash drive for my inconvenience....

    Mountain Lion fails to install saying it cannot create the recovery; I had a similar problem with Lion and the Apple Store that helped me resolve it gave me an installable version of Mountain Lion on a flash drive for my inconvenience....is there some trick I am missing or do I need to make an appointment with a genius...

    I have the MacIntosh volume and the Boot Camp partition only.  I know that when I installed Lion, I had to go through a whole back-up and recovery of Windows and then re-format the drive. 
    The tech at the Apple Store had a previous life as a MSCE and was very helpful.  I believe he even said that I should not have htis problem with Mountain Lion which is why they gave me the flash with it onboard.  I was in the process of starting a new job when I went to Lion, so I have waited to do this next and probably last upgrade to this old MBP since I doubt Apple will support this MBP in Maverick. 
    I do not have another installation, so that is not an option.  I will try to create an external, I have plenty of hard drives around and see if I can get it done that way.  It might take me a week or two to get back to it, but I will comment back upon completion of that effort.  Thanks for your help....Dave Iverson

  • I'm having problems with iPhoto and the facebook set-up.  Every time I attempt to do so it says an error has occured and try again later.  I have not seen a solution posted.  Therefore, how does one contact Apple to solve the problem?  I'm new to the worl

    I'm having problems with iPhoto and the facebook set-up.  Every time I attempt to do so it says an error has occured and try again later.  I have not seen a solution posted.  Therefore, how does one contact Apple to solve the problem?  I'm new to the world of iMac but I find it a bit frustrating trying to solve basic issues/problems:(

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • Problem with Grand total in Crystal report xi

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

    Post Author: eshwar_polawar
    CA Forum: Crystal Reports
    eshwar_polawar:
    Dear all,
    I am facing the problem with Grand total field in Report footer.Please advise me how should we resolve it.
    My report design as follows
    Report Title
    Page Header section:
    charged date    fee_ description charge_ amount currency_code
    Group  Header #1(Group by bank_ref)
    Group Header #2(Group by Currency code)
    Details
    charged date    fee_ description charge_ amount currency_code
    Group Footer#2 
    (Sub Total )
    Running Total field(Fields to Summarize on Charge_amount, Evaluate on "Group2# change of currency code) ,Sum of Charge_amount,Currency_ code
    Report footer:
    Sum of (charge_amount) currecy code
    Example of data:
    charged date   fee desc   chrage amount  currencycode
    0000000060129
    CAD
    10-Oct-2007    Transfer     200   Cad
    11-Oct-2007  comm          150 cad
    Sub total                        350 Cad
    0000000060129
    CAD
    10-Oct-2007    Transfer     100   USD
    11-Oct-2007  comm          150  USD
    Sub total                        250 USD
    Grand total     should   350 CAD  but it is showing  all total amoun 1000 CAD ,Group by Curreny code in the table
                                        250 USD but it is showing all  total amount 1200 USD
    Please provide the solutions like:
    1).About Running total in Report footer section
    2).Formula on While printing records for grand total
    3).How will send links with subreports
    Thanks and Regards
    Eshwar

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • Problem with subrpt links in crystal reports 8.5 (cr 9 and 2008 installed)

    I am trying to add a subreport to an existing CR 8.5 report.  I currently have Cr 8.5, cr 9 and cr 2008 on my pc (xp).  The subrpt is pointing to a sql 2005 stored procedure that has a parameter (@vvcrCono).  When I try to set up the link, the parameter  is not listed in the of available parameters to link to.  I select a field from the available fields on the main report, hit the > to move it over as a field to link to, and the dropdown that contains the list of parms to link to on the subreport will change to ?pm-(fieldname).  I do not see the parm list from the subreport.  I am unable to get the link defined.  This occurs even when trying to edit an existing subreport.
    Is there a problem with running these crystal report versions on the same machine?  Or am I just missing something? It has been a while since I've used cr 8.5.

    Joanne, thank you for your posted solution and specifically your mention of miniscule scroll bar of the 'subreport parameter field to use' drop down, I had been on several forums but none of them mentioned this, my subreport now accepts the passed parameter and main report works well. Hope your post helps others as it did me, only wish we could include a graphic to illustrate this as I have seen same question posed several times and several different msg boards.

  • Problem with keydecoder.dll in Crystal Reports 2008 Trial Version

    Hello,
    My company is interested in purchasing Crystal Reports 2008 and has asked me to download and try the trial version.  However, I have been running into a keydecoder.dll problem.  Setup was smooth and here are the details:
    Problem message:
    "Crystal Reports: Application Error Couldn't load keydecoder.dll"
    I have Windows Vista and I have already configured all permissions and administrative rights to the problem to full control.  I have also attempted to drag the keydecoder.dll application extension out of win32_x86 to the file folder crystal reports 2008.  I have also already attempted to reinstall and making a new program file location named 'Crystal Reports 2008'. 
    I'm running out of ideas and would appreciate some help.  Thank you

    Hi Key,
    I have found a business objects Note 1198801.
    Please have a look to it.
    We can find Business objects Note/KBase from here
    [https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_ossnotes&query=&adv=true#]
    For your reference have a look to content of that Note:-
    1198801 - Error: "Crystal Reports: Application Error - Couldn't load the keydecoder.dll" when attempting to start Crystal Reports XI
    Symptom
    When attempting to start Crystal Reports XI, the following error message appears:
    "Crystal Reports: Application Error - Couldn't load the keydecoder.dll".
    Cause :
    The error message occurs because the CommonFiles entry has the wrong path in the registry.
    Resolution :
    CAUTION 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. It is strongly recommended that you make a backup copy of the registry files before you edit the registry. For information on how to edit the registry key, view the 'Changing Keys And Values' online Help topic in the Registry Editor (Regedit.exe).
    To resolve the error message
    Click Start > Run. The Run dialog box appears.
    Type "regedit" in the Open: text field. Click OK. The Registry Editor appears.
    Navigate to the following key: HKEY_LOCLAL_MACHINESOFTWAREBusiness ObjectsSuite 11.5Crystal Reports.
    Double-click the CommonFiles string. The Edit String dialog box appears.
    Ensure that the path points to the location of <installation directory>Common3.5 in.
    For example, the default location is the following: C:Program FilesBusiness ObjectsCommon3.5 in.
    Edit the path as necessary.
    Click OK. Close the Registry Editor.
    Crystal Reports starts successfully.
    Hope that helps!!
    Regards,
    Shweta

  • Strange problem with publication based on crystal reports, bwquery and DynR

    Hi everybody,
    I found the following behaviour when executing a publication based on a crystal reports document ontop of a BW query and dynamic receipients. This is what the personalisation looks like:
    _____________________Default Value
    PARAM1____________ null____________ @param1 based on my dynamic receipient list
    PARAM2____________  null____________ @param2 based on my dynamic receipient list
    PARAM3____________  10____________ Default value for all receipients
    When executed this happens:
    - the publication starts
    - the query is executed with the default values for the parameters
    - the query is executed for every receipient with the correct, personalised parameter values
    I am sure, the the query is executed with non personalised values because a) there is a cache entry on bw site and b) when one of the parameters is filled with an invalid default entry under personalization I get an bapi error.
    I am not 100% sure but I think this problem is new since SP3 or a 3.x fixpack. Has anyone faced the the same problem yet? Maybe Ingo knows something about it.
    Thank you very much in advance!
    Kind regards,
    Thorsten

    Hi Ingo,
    thank you very much for your reply. I am speaking of the default value entered under personalization in the publication in CMC or InfoView.
    The report only has parameters based on BEx varialbes.
    If needed I can post some screenshots.
    Kind regards,
    Thorsten
    Edited by: Thorsten Voß on Mar 17, 2011 9:23 AM

  • Are there any known problems with Macs and the mp3 playback in Adobe Connect ?

    One user using an Apple Mac has complained of not being able to hear the mp3 sound playback in a meeting.
    Is this a problem with Apple Mac and mp3 compatibility or is it an individual soundcard issue ?

    I use several Macs with Adobe Connect and I have even created MP3 files for playback in the room. Works fine on all my macs. It's basic Flash. Suggest they clear their browser cache, replace their host-add-in if using one. Run the audio wizard as well to make sure sound is working in Connect.
    All of the Adobe Connect Government engineers use Macs all the time so we've never had an issue with MP3's.

  • Problems with Whatsapp and the iOS 8.1.2

    Hi
    I have had many problems using whatsapp with my iPhone since I update the iPhone iOS to 8.1.2.
    Whatsapp gets locked frequently and I have to erase it and download again, loosing the last conversations.
    What is happening? What could I do?
    Thanks
    Jorge

    Check with Whatsapp support. If you have downloaded a new one and it is still acting up, there could be something wrong with it and their support should be able to answer your question. That is not an Apple application.

  • Windows 10 -problems with touchpad and two-finger scrolling

    I upgraded to Windows 10, and the touchpad settings default to enable reverse scrolling direction with the two-finger scrolling. I disabled that, and it works all right.. But when I restart my computer, the change isn't saved and I have to do it all over again Is there any way to get the system to recognize the change to the settings after rebooting? I would think it would be simple, but even creating a separate profile doesn't work.

    I upgraded to Windows 10, and the touchpad settings default to enable reverse scrolling direction with the two-finger scrolling. I disabled that, and it works all right.. But when I restart my computer, the change isn't saved and I have to do it all over again Is there any way to get the system to recognize the change to the settings after rebooting? I would think it would be simple, but even creating a separate profile doesn't work.

  • Having problems with InDesign6 and the new OSX Mavericks

    I just downloaded the new OSX and now my Id6 won't open. It starts initializing and the I get the message "InDesign quit unexpectedly." I am in the middle of publishing a book for someone using the "export to kindle" plug-in which isn't compatible with IdCC. Has anyone else had this problem?

    I have just run into the same issue. New Macbook Pro running Maverick and I have Vectorworks 2011. Appple support recommends against partitioning the hard drive on a new MacBook Pro running Maverick. (The first call the apple person suggested it. On a follow up call they strongly recommend against doing it because it can screw up the firmware.) How did doing the downgrade work for you, and how did you do it, external drive, partition? I hate to drop $1300 on Vectorworks when I don't yet need it.

  • Problems with VISA and the serial port

    Hello,
    i have a little problem with the serial port and VISA. I have changed an existing LabView- Software in that way that I have replaced the serial- module by the VISA- module. The function of the program is to communicate with different devices by RS232. After changing the modules to VISA the software doesn't work probably. The problem is, that when I try to communicate with one of the devices first I get no answer. When I try it a second time after some seconds the communication works perfect. After about a minute I send another message to my device but there is no answer again. I have to send the message again.
    I hope someone in this forum can help me with my problem
    cu Marco

    Marco,
    this sounds very much like a problem with the termination of your messages. You may have to tell VISA to add a termination character. Please follow the instructions in this document.
    Best regards,
    Jochen
    National Instruments Germany

  • Problems with links and the "advanced" field

    Has anyone else had problems with the advanced field when
    making a new link? It seems I have to edit it three or four times
    before it will actually take the link I put in ("
    http://www.blah.com/" instead of
    "../../"). Anyone else?

    I am having the same problem... although I am only trying to link between "One of My Pages" i.e navigation menus.
    It is pretty random which links work and which don't as far as I can tell anyway.
    The links work fine when I activate hyperlinks in iWeb but as soon as I publish to a folder some of them don't.
    I will post if I find a solution, but I have read and tried just about everything.
    Best
    PowerBook G4   Mac OS X (10.4.9)   1.25 GB RAM

Maybe you are looking for