Converting a crystal report to pdf and then opening the pdf automatically

I am successfully exporting a crystal report to a pdf file using code in vb.net 2008 in a windows application.   The crystal report is open in the viewer control and the user presses a button to export it.
I create a variable with the report name and the location..  All works correctly.  However, I want the pdf to be open once it is saved which I believe is the case when you create  the pdf using the build in crystal export control.  But I am not using that.
I presume I could call another form and use the adobe com control, but i prefer to do this in one place.
How can I accomplish this.
Thanks
smHaig

How about if I filter the open dialog box using the pdf name and folder.  Then that one would be the only one open in the dialog box and if the user selects it, it would open.  Have not tested yet, but this popped into my mind.   Seems better than a button on the form with the crystal view  to open another form .  Or I could have the adobe com object over laying the cr viewer and just make it visible if they press a button to open the abode  file..
Maybe people have tried this and could comment on the better choice to view the pdf
1.  call another form that contains  the adobe com
2.  place the adobe control over the cr viewer and make visible if user requests to see pdf.   
3.  use a filtered open dialog box.

Similar Messages

  • I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".

    I get the following error everytime I download something from the internet:-"/Users/vinaypunjabi/Downloads/Ontario Colleges Chart(2)(1).pdf could not be opened, because an unknown error occurred.  Try saving to disk first and then opening the file".
    Then it shows as downloading failed.But if I click on it twice ,it opens up .
    this has started happening since last week.Before this ,it never happened.
    Please suggest what has gone wrong somewhere and how can I rectify it.

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • Why does'nt a pdf file sent to me open automatically. I have to open adobe software first and then open the file.

    Why cant a pdf file open automatically.I have to first open adobe software and then open the document.

    All files have their "native" application. Without the application the file cannot be created.
    Once created the file must have the native application to be "opened".
    For the application to do that first to open is the software (application).
    Be well...

  • My computer is running slow after Yosemite install -but in the Mail program, when I open an email and then open the attachment -all is good -when I close the attachment the Mail program goes away, and I have to reopen it in my Dock -every time -been

    My computer is running slow after Yosemite install -but in the Mail program, when I open an email and then open the attachment -all is good -when I close the attachment the Mail program goes away, and I have to reopen it in my Dock -every time.

    I tried this, but no luck. I went to Previous System>Users. There is nothing inside the "Users" folder, so I hit a dead end.
    I can find my new e-mails -- those that came in since I re-installed the system -- in my NEW system (which I did to see if I was correctly understanding the advice), by going to Users>Home>Library>Mail>POP account name>Inbox.
    Let me add a new question: I am running PhotoShop C3. It opens OK, and I can use it, but when it opens I get this message: "One or more files for Adobe Application Support folder are missing. Please re-run the PhotoShop installer."
    I don't like re-installing working programs if I can avoid it, because it always seems to lead to other issues. Any idea what files are missing, and where it/they might be in the Previous System folder?
    thanks
    Mike

  • I use Apple Mail and dislike Outlook.  If I create a note in Apple Mail, move it to desktop for easy access and then open the note, it opens in Outlook.  How do I stop Outlook from opening?  Do I need to uninstall Outlook?  Will it disrupt other software?

    I use Apple Mail and dislike Outlook.  If I create a note in Apple Mail, move it to my desktop for easy access and then open the note, it opens in Outlook.  How do I stop Outlook from opening?  Do I need to uninstall Outlook?  Will it disrupt other software?

    Open Apple Mail, and open Preferences (under Mail in the Menu Bar).  On the General tab, check the "Default Email Reader" and set it to Mail (6.6).

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • . Try saving to disk first and then opening the file. when I download

    C:\Users\howie\AppData\Local\Temp\incredimail_install-12.exe could not be opened, because an unknown error occurred.
    Try saving to disk first and then opening the file.

    Did you try saving to disk first and then opening the file?

  • When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

    So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the system
    using credentials, we have Kerberos doing this. Once the user is logged onto the system they navigate to the document they want to view or edit. So the user wants to view a .pdf file, they click the document they want, and it is supposed to open in the default
    program associated with file extension. ie: .doc would open Word, .xls would open Excel. When the document is loading in the default program Internet Explorer opens a blank page, this page is supposed to prompt the user if they want to open or save the document.
    (I changed the registry to have the files selected to automatically open without this prompt.) The blank screen generated is still staying open, this screen is supposed to close automatically after the prompt or close automatically after the document is opened.
    So when a user is looking at several documents, this floods the screen with all these blank Internet Explorer pages. This problem is only occurring for users that have Windows 7 PC's, XP users do not have this problem at all. My PC is the only one in the company
    that is Windows 7 64-bit, and working properly with the IE blank page automatically closing. I'm wondering what can be done to fix this problem, is it as simple as registering some .dll files or do I need to make a registry change? Any help would greatly be
    appreciated.

    What is the registry change exactly?  Sounds like one which is supposed to avoid the prompt.  I know
    that there used to be such a thing, before the new prompt and I know that some users think that there should be such a thing for any program but I'm not sure if that expectation is valid or not.  I think this may also be related to a concurrent change
    in the OS.  E.g. in XP we had File Types Options editor but starting in Vista that was removed.  You might get some more clues on this tack from NirSoft's FileTypesMan utility.
    The registry change that I did was to remove the open and save prompt. I will be sure to look into that. Our company
    isn't worried about the user's automatically opening the files since they are all trusted. They also do not have the ability to install anything, so if they were to download a potentially harmful file they could never install it. We monitor downloads as well,
    if they download files off the internet that aren't work related we remove their download capabilities.
    Sounds like a scenario for using ProcMon to take two traces and compare them for their essential differences.
    I talked to my boss about using this tool and he is worried about using it. I'm only an intern at my office and do not have the authority to use a program without their knowledge or consent. I will run the idea by them again and see if it's okay I use this.
    I'll maybe make some presentation about how it can help us with our problem and how much time and money it will save. Because I really want to get down to the bottom of this.
    Probably the most significant thing is going to be the Content-type that the files are being served by. 
    You could use the Developer Tools, Network Capture to check on that and ProcMon could help explain what happens after that.  A related workaround to change the symptom when the Content-type is not what is expected is to disable MIME Sniffing (e.g. in
    Security options, Miscellaneous section).  In fact, perhaps that could explain your machine's difference with anyone else?  MIME Sniffing is a default, previously known as "save according to type not extension" (or some such wording).
    Okay I will be completely honest I have no idea how to use Developer Tools (F12), yes I could google it, when I tried using it on the blank pages it would never work, I also have no idea what I'm looking at. I should mention that I do not have access to
    the web server. Our programming and development side only has access to our AS400, which is where the web server is located. I do have MIME Sniffing enabled and so does everyone else. I may be wrong but, I believe it is needed in order to open the file extension
    in the correct default program, yes? I thought MIME Sniffing would see a .docx file and then find the appropriate program to open that .docx file in. I may be wrong but I know it's used somehow along these lines.

  • Help. I am all of a sudden having download errors and get the message /Users/MWP/Downloads/PFMS_vball_sched-4.pdf could not be opened, because an unknown error occurred. Try saving to disk first and then opening the file.

    This happens regardless of the pdf file I am trying to open within a page using Firefox. My version of Firefox is updated (3.6.13). Please help!

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • HT4993 My cellular data settings the list of what apps i want to use cellular data for, will not turn off , every time i turn them off and then open the app to see if they turn off and they dont, what do i do?

    Hi my name is D.J. DeKorte,
    my cellular settings on my iphone4s is messing up
    when i go into cellular centers all my apps that use cellular settings are all turned they didn't do that yesturday
    what do i do how do i fix the problem?

    Turn off and on your phone, go back to your settings > celluar and go turn them back to the way they need to be

  • /Users/christinewoodbury/Downloads/install_flash_player_osx_intel.dmg could not be opened, because an unknown error occurred. Try saving to disk first and then opening the file.

    Hope this is the right forum to ask this question - I get the above error message when trying to download the update of Adobe Flash Player on my Mac desk top. I have done this successfully before but not now. Have I accidentally changed a setting or something?

    Please install the following add-on to see if it helps.
    https://addons.mozilla.org/en-US/firefox/addon/pdfjs/

  • Export Crystal Report to PDF

    Hi,
    in my Crystal Report (2008) is a chart, designed with Xcelsius 2008. The report is displayed well. When I export my Flash-Chart from Xcelsius to PDF the chart is displayed correctly in PDF document.
    When I export the Crystal Report to PDF my Flash-Chart is displayed completley grey in PDF document. There is the same issue when I schedule my Crystal Report to PDF on BO Edge-Server.
    Is this a known issue and can be fixed?

    I am bringing this subject back up because I am still having problems with this.  I am using CR 2008, Xcelsius 2008 and Edge 3.1 Enterprise Server along with a Visual Basic 2005 program.  I have Adobe Reader 9 loaded on both my local machine and the server where Edge is installed.
    I have a report that is passing flash variables to an embedded .swf file which is a pretty simple horizontal stacked bar chart.  When I view this report in CR on my local machine everything on the report is correct and I can print it to PDF and it is correct when I view it with Adobe Reader.  I can also print the report to a printer and get the desired result which is the most important thing here.
    My next step is saving the report to the Enterprise server.  I then run my Winform Visual Basic program that passes the paramters to the report and schedules it to run on the server.  The report runs fine and we access it with InfoView.  Again the report looks fine because when we open it, it opens with Adobe Reader on the server.  The problem is when we try to print this instance of the report from the server the chart keeps doubling up the stacked bars so there are two of them instead of the one.
    Does anybody have any ideas????
    Thank you in advance.
    My problem comes

  • Crystal Reports Viewer - pdf, prompts, icons problem

    Hi all,
    I am a new in BO.
    I have some answer about Crystal Reports Viewer (not about setup.exe but about CRV application that I uploaded on Tomcat)
    1) The old version (11.5) works good, only Export to PDF functionality is wrong. There are in the pdf file wrong display of specific czech characters (charset)
    2) A new version, Crystal Reports Viewer 2008, show the same pdf mistake. I have J2SE Runtime Environment 5.0 Update 4 and Apache Tomcat 5.5.9.
    I upload application on Tomcat, configuration (web.xml, crconfig.xml and context.xml) is the same with version 11.5.
    Crystal Reports Viewer 2008 displayed reports, but the problem with PDF is present. The second problem is the look of CRV. First one, the icons (for export, print...all icons) are not displayd. I can copy old jar files into java (in application folder C:\WebReports\WEB-INF\lib), but then CRV looks like old version.
    And CRV 2008 doesn't display listbox in dynamic prompt on crystal report. What shall I set to displaying prompts in CRV 2008 (on CRV or on report in Crystal 2008)?
    Have you some idea? What and how can I set and configure application and where?
    Veronika

    Hi,
    To confirm, are you talking about "Crystal Reports Viewer 2008" http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx
    I suggest sending in the report, in the viewer, select "Help" - "General Feedback" and then pick the option to attach the report.  In a couple of months there will be a refresh version of this view which will have Czech language support so it would be good if we could test out your PDF issue.
    As for showing parameters in the prompt panel in Crystal Reports Viewer 2008, since the viewer cannot refresh the data, make sure the parameter does not used in the record selection formula but only in the saved data selection formula.

  • Open Crystal Report in PDF

    Hi
    If I open the Crystal Report in PDF using the below code using weblogic 8.1
    ReportExportControl exportControl = new ReportExportControl();
    Object reportSource = session.getAttribute("reportSource");
    exportControl.setReportSource(reportSource);
    ExportOptions exportOptions = new ExportOptions();
    exportControl.setExportOptions(exportOptions);
    exportControl.setExportAsAttachment(true);
    exportControl.setOwnForm(true);
    exportControl.setOwnPage(true);
    exportOptions.setExportFormatType(ReportExportFormat.PDF);
    I get the following error and the server shuts down.
    An unexpected error has been detected by HotSpot Virtual Machine:
    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x060d9bea, pid=604, tid=1392
    Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode)
    Problematic frame:
    C  [awt.dll+0x69bea]
    Please help on this issue
    Regards
    kaspick

    That's not Crystal.  That's your web app server trying to load the Java JVM AWT library, and crashing when it can't.
    Sincerely,
    Ted Ueda

  • Logon Failed when exporting crystal report to PDF

    Hi, I am Teguh
    i want to ask about error when export crystal report to pdf
    error message
    CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed
    [LogOnException: Logon failed.]
       .I(String , EngineExceptionErrorID ) +506
       .D(Int16 , Int32 ) +537
       .C(Int16 ) +10
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +577
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) +141
       Falcon.CRTransferSlip.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\Falcon\CRTransferSlip.aspx.vb:77
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    environment:
    OS : Windows server 2008 standard SP1
    IIS: Version 7.0
    SQL: Sql server 2000
    VS : Visual studio 2003
    i really confused with this error,
    please help me for this problem
    many thank's

    Hi Ludek
    Thank you for your response. I have installed SP3 and ProcMon and still the same result.
    I applied a filter on ProcMon to filter out items where the path contains 'export'.
    There are a few items where the result is 'NAME NOT FOUND' but I don't think it necessarly had anything to do with the barcode. These include items such as 'EXPORT\MailDestType','EXPORT\DisableExportLiveOfficeSupport'','EXPORT\ExportDirectory' to name a few.
    What drew my attention was the ACCESS DENIED result on specifically the EXPORT\PDF folders. The detail for these are  Desired Access : All access, however the very same entry appears a little futher on as a SUCCESS but this is detailed as Desired Access: Query Value.
    So in summary it looks something like this:
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : ACCESS DENIED
    Desired Access : All Access
    User : Server\XXX
    Operation : RegOpenKey
    Path : HKU\.DEFAULT\Software\Business Objects\Suite 12.0\Crystal Reports\Export\Pdf
    Result : SUCCESS
    Desired Access : Query Value
    There are a few other entries that follow this pattern that exists in other locations such as HKLM\Software...
    Could this 'ACCESS DENIED' be the problem? and If so how do I, and should I give user XXX this ALL Access its looking for.
    Regards
    Elroy

Maybe you are looking for

  • Create an outbound delivery with reference to a purchase order

    Hi folks, would you tell me if I can create an outbound delivery with reference to a purchase order? I tried to use the transaction VL10B but after I run there is no data is selected. Should I set up anything else for that? Thanks in advanced.

  • Mapping 3 columns to 3 attributes in the same element

    Hi, I have 3 columns which are not in a collection as part of my result set. I need to map these 3 columns to an attribute in my result xsd in the transformer. eg on the left I have : addrline0, addrline1, addrline2. On the right I have an element ca

  • PC Companion update fails

    Tried to start my PC companion for Experia ARC S, it stated update required which I accepted but after download finish it states "installation error" and comapanion closes/will not run. HELP?

  • Has anyone with a 3gs upgraded to iOS 6 without issue?

    All I see below are a stream of issues people have had.  Is that the norm or are others actually having success.  No sense in upgrading if it will brick my phone.

  • FSEVENTSD using 90-100% CPU after updating to 10.6.4

    My iMac, previously running fine, is now running very slow. After reading some things here and elsewhere, I tried shutting down Spotlight indexing using Terminal (don't recall exactly what I did). That did kill Spotlight but I am still having the pro