Get the Picture object location path from crystal report using CRAXDRT.DLL

Post Author: hpatel_it
CA Forum: Crystal Reports
Hi All,I am working on one project - Crystal report to SQL Report conversion and I am using CRAXDRT.DLL to open and read crystal report.I have done conversation of all controls but I am not able to get PICTURE object from Crystal report and also PICTURE object source path.I am using CRAXDRT.OLEOBJECT to get the path of the picture object.if someone have knowledge of CRAXDRT please help me.Regards,Harry

You can get at specific objects using events,  but not a whole record.
Can't think of any way of doign this at all...
Ludek

Similar Messages

  • Can't get the picture to show up on Apple TV using both of my iPads.  Only sound.   Everything is updated and rebooted.  What's the deal ?

    Can't get the picture to show up on Apple TV using both of my iPads.  Only sound.   Everything is updated and rebooted.  What's the deal ?
    there is no mirror button,  nor is one hidden underneath anywhere.

    Not all apps are enabled for airplay, this is up to the developer to do. If you want to mirror, it cannot be turned on within an app. You need to bring up control centre, select airplay and toggle ON mirroring.
    iOS: Use AirPlay Mirroring - Apple Support

  • How do I get the pictures of app icons from being blank?

    Lately half of my app icons are blank. How do I get the pictures back?

    - Have you tried resetting yuor iPod.  Nothing will be lost:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next would be to restore you iPod.

  • How to get the image in docking control  in a report using doc management

    HI All
    My question is that is that i am storing one image using documents in jha2n.
    Now I want to get that image in report using Document management.
    Pls guide how to proceed as I am new and dont know anything about document management.
    Thanks
    Pooja

    Hi,
    Please kindly refer to the online help link below:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/973035624811d1949000a0c92f024a/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/973035624811d1949000a0c92f024a/frameset.htm]
    And for handling the DMS document, you may check the BAPIs in SAP Note: 504692
    Function group: CVBAPI
    BAPI_DOCUMENT_GETDETAIL2
    BAPI_DOCUMENT_CREATE2
    BAPI_DOCUMENT_CHANGE2
    BAPI_DOCUMENT_DELETE
    For display image in the docking control, pleae kindly refer to the SAP DEMO: RSDEMO_DOCKING_CONTROL
    Cheers,

  • Crystal Reports Crashes : CRAXDRT.DLL fails

    I am using an old version of Crystal Reports probably v8. We have our users who like to see the report in PDF format.
    On certain days,when the users open the reports at high frequency the application goes crashing down.
    We are using asp.net 3.5 to run this application which was developed in vb.net.
    When i looked at the code,it is first saving the report on the server and then the same file is being read and displayed on the browser as a pdf.
    I have some questions.
    1. Can we directly render the report without having to save it on the hard-disk of the server?
    2. What is the current version of crystal reports?
    3. How do I prevent the CRAXDRT from crashing?
    4. Crystal Reports 9 ActiveX Designer Runtime Library,is it something which we need to install on the server where crystal reports are placed?

    Yes, you can use the stream API, something like this:
    private void ExportToStream_Click(object sender, EventArgs e)
        rptClientDoc = rpt.ReportClientDocument;
        CrystalDecisions.Shared.MicrosoftMailDestinationOptions mailOpts = CrystalDecisions.Shared.ExportOptions.CreateMicrosoftMailDestinationOptions();
        CrystalDecisions.Shared.DiskFileDestinationOptions diskOpts = CrystalDecisions.Shared.ExportOptions.CreateDiskFileDestinationOptions();
        CrystalDecisions.Shared.ExportOptions exportOpts = new CrystalDecisions.Shared.ExportOptions();
        CrystalDecisions.Shared.CharacterSeparatedValuesFormatOptions csvExpOpts = new CrystalDecisions.Shared.CharacterSeparatedValuesFormatOptions();
        CrystalDecisions.Shared.HTMLFormatOptions HTMLExpOpts = new CrystalDecisions.Shared.HTMLFormatOptions();
        CrystalDecisions.Shared.PdfFormatOptions PDFExpOpts = new CrystalDecisions.Shared.PdfFormatOptions();
        CrystalDecisions.Shared.EditableRTFExportFormatOptions RTFExpOpts = new CrystalDecisions.Shared.EditableRTFExportFormatOptions();
        CrystalDecisions.Shared.PdfRtfWordFormatOptions PDFRTFExpOpts = new CrystalDecisions.Shared.PdfRtfWordFormatOptions();
        CrystalDecisions.Shared.ExcelDataOnlyFormatOptions XLSXExpOpts = new CrystalDecisions.Shared.ExcelDataOnlyFormatOptions();
        CrystalDecisions.Shared.TextFormatOptions txtFmtOpts = new CrystalDecisions.Shared.TextFormatOptions();
        CrystalDecisions.Shared.ReportFileFormat crExpFormat = new CrystalDecisions.Shared.ReportFileFormat();
        CrystalDecisions.ReportAppServer.ReportDefModel.HTMLExportFormatOptions myHTML = new HTMLExportFormatOptions();
        CrystalDecisions.ReportAppServer.ReportDefModel.RPTExportFormatOptions myRPTExp = new RPTExportFormatOptions();
        CrystalDecisions.ReportAppServer.ReportDefModel.ExportOptions RASEptOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.ExportOptions();
        rpt.Load(@"c:\reports\b.rpt");
        rptClientDoc = new ReportClientDocument();
        string MyRptName = rpt.FileName.ToString();
        MyRptName = MyRptName.Substring(MyRptName.LastIndexOf(@"\") + 1, (rpt.FileName.Length - 3) - (MyRptName.LastIndexOf(@"\") + 1)) + "pdf";
        exportOpts.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile;
        exportOpts.ExportDestinationOptions = diskOpts;
        diskOpts.DiskFileName = @"D:\Atest\735372\ReportName.rpt";
        CrystalDecisions.ReportAppServer.ReportDefModel.ExportOptions exportOptions = new CrystalDecisions.ReportAppServer.ReportDefModel.ExportOptions();
        exportOptions.ExportFormatType = CrReportExportFormatEnum.crReportExportFormatPDF;
        //rptClientDoc.VerifyDatabase();
        //This exports the report to a byte() that we will stream out.
        Byte[] oByte = (Byte[])rptClientDoc.PrintOutputController.ExportEx(exportOptions).ByteArray;
        //this is used to verify the file so I saved it to disk
        System.IO.File.Create(diskOpts.DiskFileName, Convert.ToInt32(oByte.Length)).Close();
        System.IO.File.OpenWrite(diskOpts.DiskFileName).Write(oByte, 0, Convert.ToInt32(oByte.Length));
        System.IO.File.SetAttributes(diskOpts.DiskFileName, System.IO.FileAttributes.Directory);
        GC.Collect();
        MessageBox.Show("Export to Stream complete", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    I do export to disk but not required. There are other ways also but the idea is the same.
    Don

  • OBIEE metadata from Crystal reports

    Hello,
    I am trying to connect to the OBIEE metadata from Crystal Reports using an ODBC connection. I am able to see the column definitions but the data is not shown - anyone have any suggestions on getting this to work?

    At least one of the 3rd-party Crystal report Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html
    provides this functionality.  It even allows you to dynamically control the password via a field/formula inside the Crystal report. It can also take care of the emailing part.  You can call and request the processing from your own application (via a command line API).

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • Active Directory error message "the following object is not from a domain listed in the Select location forestB\username

    Hello Community
        "forestA" is my forest it is a Windows 2008 Server Enterprise Edition
    domain controller using Active Directory and the UI.
        In my forest ("forestA") trust relationship I created a "One-Way, Out-going"
    forest trust with Forest-Wide authentication so that a different forest user(s) or
    group(s) with a different admin in a forest named “forestB” can access the resources in my “forestA”
        But also forestB needs to create a "One-way, Incoming" forest trust so that
    I can either add the user(s) or group(s) from “forestB” into to a "Global Security - Group"
    in my "forestA" or I can
     add user(s)  as  "domain user(s)" from “forestB” into my "forestA".
        The problem is that when I right click  the global group in my forestA  and then
    properties, when I click "Members" and then the "Add" button when I type
    "forestB\username" I get an error message from Active Directory stating:
        "the following object is not from a domain listed in the Select location
    dialog box, and is therefore not valid: forestB\username".
        Am I doing something wrong when creating the one-way trust in my
    “forestA” or is the one-way trust being created wrong by the other domain admin in the other “forestB”?
        Or could I possibly need to select "Change Domain" or "Change Domain Controller"
    before adding the users or Groups to my forestA from forestB?
        That is why I am asking
     how do you add an Active Directory user from one forest into another forest?
        Thank you
        Shabeaut

    Hello Denis Cooper
        That is the end result.
        What I was trying  to do was that I was trying to
     bring in the user(s) and group(s) from “forestB”  into
    my “forestA”  Global group.
        Later on I was going to add the user(s) or Global groups(s) that I brought into my dc in my forestA
     into the domain local groups  on my member servers in my forestA.
        So since the error message is:
    "the following object is not from a domain listed in the Select location dialog box, and is therefore not valid: forestB\username".
    Does your response
     mean only Global group(s) from forestB not domain user(s) from forestB have
     to been added to domain local groups in forestA?
    Or is it also possible to add Global group(s) from “forestB” to Global group(s) in my “forestA” and if so
    how without getting the above error message?
    Thank you
        Shabeaut

  • How can I get the underlying object from the ObjectReference

    Dear friends,
    I think this question has been asked a couple of times. But, I am still wondering if anybody has found an answer to it. Maybe this is some common need ...
    I would like to get the underlying object for which the ObjectReference is
    a mirror For example, I have a class Customer in my application, and I can get an ObjectReference through JDI during runtime. But how can I get the target VM's object which is a real instance of Customer, by which I can invoke methods defined in Customer?
    Thank you so much for any input!
    SunnyDay

    I'll preface this response by admitting this far from an elegant solution, but I did write a function addressing this question, mostly as an exercise.
    If passed an object with an InTextFrame property (Pgf, AFrame, Cell, Fn) that resides in an open document, the function will return the Doc object. Otherwise, it returns undefined.
    function getParentDoc(testObj) {
        //Get object for current page
        try { var curPage = testObj.InTextFrame.FrameParent.PageFramePage; }
        catch(er) {return;}
        //Step backwards to first page in document
        var prevPage = curPage.PagePrev;
        while (prevPage.ObjectValid())
            curPage = prevPage;
            prevPage = prevPage.PagePrev;
        //Compare with first pages of open documents
        var testDoc = app.FirstOpenDoc;
        while (testDoc.ObjectValid())
            if (curPage.id==testDoc.FirstBodyPageInDoc.id) return testDoc;
            testDoc = testDoc.NextOpenDocInSession;    
        return;
    To your PPS: Rather than seeing the native framework grow bloated to address additional features, I would love to see Adobe and other developers publish libraries of useful functions and class extensions.

  • My new iPhone get restored and all the storage from my old phone got on my new phone. is there a way I can get the pictures and storage I had on my new phone?

    i plugged my new iPhone into the computer for the first time and it proceeded to restore. i accidentally clicked on the storage saved on my iTunes for my old phone. so now all the storage from my old phone is on my new phone and I can't find any of the storage from my new phone. is there a way to get the pictures and data back onto my phone that i originally had ?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    SHARING iTunes MUSIC
    http://macmost.com/five-ways-to-share-music-in-itunes.html

  • I have appleTV 1st generation.. How do i get the pictures from my AppleTv on to my new MacBook Pro

    I have appleTV 1st generation.. How do i get the pictures from my AppleTv on to my new MacBook Pro

    Welcome to the Apple Community.
    There is no option to sync photos from the Apple TV (only to it).

  • My podcasts do not show the pictures only the sound when I import them to iTunes from Garage Band.  How do I get the pictures to show up in iTunes?

    My podcasts do not show the pictures only the sound when I import them to iTunes from Garage Band.  How do I get the pictures to show up in iTunes?

    Well, all I can tell you is that if your file is an m4a with chapter markers, those markers having suitably sized images attached, and you drag it into the Music area of iTunes (so that it appears as a song) in List view, when you play it and then command-click on the small image in the header (next to the progress bar) you should see your embedded images.
    If this isn't happening the best place to ask would be in the GarageBand forum: my own experience of GB is rather out of date and in any case I've never used it for podcasting.

  • How do I get the pictures I put onto my phone from iphoto into my photostream?

    I am a photographer and would like to show off pictures.  I was able to sync my photos from iPhoto to my iPhone but I can't seem to get the pictures to be viewed on PhotoStream.  Pictures that were sent to me in a text and saved to the phone are automatically in PhotoStream though.  Needless to say I am extremely confused.  ADVISE PLEASE!

    If I read things correctly.... Photo stream transfers "New" Photos on a device to the other devices by "WIFI" only.
    I had photos on iPad that I wanted on my phone.  Had to message them..... Then when iPhone was connected to wifi they updated in photo stream.
    Hope that helps

  • The apps I created from "add to homescreen" have turned white and have a few lines and circles in it. How can I get the picture back on them?

    The apps I created from "add to homescreen" have turned white and have a few lines and circles in it. How can I get the picture back on them?

    Those aren't apps; they're bookmarks to websites. Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears? If all else fails, you can just re-do the shortcuts.

  • I cannot open files attached to an excel spreadsheet. I am using office for mac 2011. when double clicking object I only get the picture modifier windows.

    I cannot open files attached to an excel spreadsheet. I am using office for mac 2011. when double clicking object I only get the picture modifier windows.

    Preventing Microsoft Office to open recent documents at startup in Mac OS, Please see:
    http://www.frenchguys.com/wordpress/preventing-microsoft-office-open-documents-startup-mac-os-lion/
    It seems that the solution works for most people.
    In a terminal, enter the following:
     defaults write com.microsoft.Excel NSQuitAlwaysKeepsWindows -bool false

Maybe you are looking for

  • Speaker problem on Macbook pro

    I was just listening to music on my macbook pro and all of a sudden it sounded like one of the speakers died. It is about half as loud as it was before even with the volume all the way up. What do I do? Any ideas for troubleshooting?

  • Can you use apple tv to show pictures from iphoto from a macbook pro?

    Can you use apple tv to show iphoto from a macbook pro?

  • PDF HTML links/parameters

    Are there any parameters you can add to the end of a PDF HTML link to make it open in a particular size (such as 80%)?  I guess this assumes that the user is using an Adobe product to open a PDF but i was curious.

  • Error -50 when syncing photos to 2nd Gen Nano 4gig

    Receiving an error message -50 when trying to load photos onto a new iPod Nano 4gig. Music loads fine. Photo tab will not allow me to select prefered photo albums and when forced to sync, I get the above error message. Any ideas how to correct? Thank

  • Powershell Error when trying to delete a single document

    Hello, I am trying to delete a single file named test in my library named testtesttest and I am not able to do so with Powershell. Could someone assist? $web = get-spweb "http://Webapp/sites/knowledgebase/test3/" $list = $web.lists["testtesttest"] $i