Close CR via Addin

Hi all
Hopefully a quick question.
Am developing an Addin to have better control over CR and it's integration with our Document Management System (DMS).
One thing I'm having trouble with at the moment is closing CR when one of my Addin menu options is selected.
To get back to our DMS we just want 'Save and Exit' and 'Exit without Saving' which will indicate to our DMS what should happen next.
No problem there, except I'd like to shut down CR via the Addin code. Not sure which class I should be using?
CrystalDecisions.ReportAppServer.ClientDoc.ISCDClientDocument.Close() doesn't do it.
Any ideas anyone?
Many thanks
Julian

Thanks for getting back to me Don.
Apologies, should have made myself clearer. I do infact want to close just the report that is currently being worked on, so that it's no longer visible to the user in the main CR interface.
When you say 'the report object' should this simplified function do the job?
        public bool SaveAndClose(string strInPath)
            ReportDocument rptDoc = new ReportDocument();
            // Load the report from file path passed by designer
            rptDoc.Load(strInPath);
            rptDoc.Close();
or should I be getting hold of the current instance of the report instead of creating a new one and loading it from the file. If I do, I don't know how to.
any help, as usual, is greatly appreciated, thanks
julian

Similar Messages

  • Close document via javascript, possible?

    My scenario is that a user gets a number of documents loaded into Acrobat to fill-in & sign
    Once a user has submitted a form I would like to auto close the document
    Is there a way to do this via java script?
    Thank you
    Pete

    Hi Ole,
    It is possible to close the document in any of the event through javascript. If you wish to close the document on a button click event, use the following script in the click event.
    app.execMenuItem("Close");
    Regards,
    Sanoosh

  • Excel VBA projects don't close with PDFMaker addin

    I just got a new computer with preinstalled Win7, Office 2010 and PDFMaker.
    If I open Test.xlsm I see it in the project explorer in the VBA editor.
    If I close the file in Excel it doesn't disappear from the VBA project explorer.
    If I open it again I see two instances of Test.xlsm in the project explorer.
    The problem disappears when I deactivate the PDFMaker COM addin.
    Is it a problem with the PDFMaker addin?
    Or should I keep investigating?
    See my post in MSDN.
    Thanks,
    Stefano

    The start menu shows Adobe Acrobat X Standard.
    What else should I look to know the version?
    Thanks,
    Stefano

  • Firefox freezes ONLY when entering a search with Google, must close FF via task manager in order to restart it - Windows 7 64 bit. Was not like this always.

    Sorry, cannot give further details. 4.0 runs smoothly with all websites I visit. Each time when entering a search term in Google I get all the results, but that's it - FF then freezes down completely.

    This can happen if you or an extension have modified network.http prefs.
    You can check the network.http.* prefs on the about:config page and reset all bold user set network.http prefs to the default value (network.http.proxy.keep-alive should be true) via the right-click context menu -> Reset.
    *http://kb.mozillazine.org/about:config
    *http://kb.mozillazine.org/Resetting_preferences

  • Can ipad quicktime use close captioning via smil?

    On a desktop browser web page, I'm loading an smil file that contains closed captioning in Quicktime.  Works great:  video plays along with the closed captioning.
    However, when I load the same page on an iPad, I get a crossed out play button, telling me it cannot play. 
    Does the iPad Quicktime player support smil?  I've seen the closed captioning option on the iPad through Settings - > Video - > Closed Captioning.
    I want to leverge the Quicktime player via the QT object in HTML.  That way if a user is browsing the site on an iPad, they get the QT player instead.
    Any thoughts or techincal limitations?

    Apple (and no one else) can not assist (with serial number or iCloud) in finding a lost or stolen iPad.
    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668
    iCloud: Locate your device on a map
    http://support.apple.com/kb/PH2698
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    What NOT to do if your iPhone or iPad is lost or stolen
    http://www.tomahaiku.com/what-not-to-do-if-your-iphone-or-ipad-lost-or-stolen/
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

  • Itunes freezes on Win7 when i go to edit/preferences.  i have changed nothing, started 2 days ago.  Does not affect other users with the same apple ID.  After it freezes i close it via task manager

    i'm supposed to type in here??
    I have a computer with itunes on it.  Worked fine until i tried to switch users and have the music shared, that feature used to work great.  Doesn't share, although sharing is turned on, and works well except if you wanna change preferences it freezes.  Upon closing there are up to 7 distinct hangtime codes.  Apple doesnt recognize these codes - and have not replied to other questions concerning similar problems.  Any help or ideas would be welcome.  Removing my library or preferences did nothing, so I am reinstalling all this crap.  Please help!  I just want to be able to see my preferences.

    You are not addressing Apple here.
    You may leave feedback for Apple at:
    http://www.apple.com/feedback

  • Close Sale Orders via DTW

    Hi,
    I want to close Sales Orders using DTW but I got an error:
    Document rows Cannot be closed concurrently.
    I read some threads:
    Link: [Document rows Cannot be closed concurrently - Purchase Orders;
    Link: [How to close a row in a Sales Order?;
    Link: [Closing Order rows;
    Link: [Documents rows cannot be closed concurrently with the other document modify;
    and many more but couldn't solve problem.
    I work on 8.8 version and try to close Sale Order that has few rows. I can close line via UI ( right mouse button and choose close line) but when I try to do it via DTW I have an error.
    I disabled all formatted searches and it didn't help.
    Need help.
    Reagrds
    Szymon

    Hi,
    the problem now is not the error message. The problem is: what about the sales order which should be lost after we regenerate the program RSM13000?
    We installed the following support packages:
    1.     SPAM and SAINT      from 26 to 38
    2.     SAP Basis:           From SAPKB62047 to SAPKB62068
    3.     SAP_ABA:          SAPKA62047 to SAPKA62068
    a.     And 2 CRT
    4.     SAP_APPL          SAPKH47022 to SAPKH47033
    5.     SAP_HR:          SAPKE47024 to SAPKE47099
    6.     SAP_IPPE:          SAPKGPIA06 to SAPKGPIA28
    7.     PI:               SAPKIPZI55 to SAPKIPZI59  
    8.     PI_Basis:          SAPKIPYI57 to  SAPKIPYI59 
    9.     ST_PI:               SAPKITLQG7 to SAPKITLQG8 
    10.     EA_APPL:          SAPKGPAA06 to SAPKGPAA29
    11.     EA_FINSERV:          SAPKGPFA06 to SAPKGPFA29
    12.     EA_GL TRADE          SAPKGPGA06 to SAPKGPGA29
    13.     EA_HR               SAPKGPHA10 to u2026u2026  SAPKGPHA99
    14.     EA_PS               SAPKGPPA06 to SAPKGPPA29     
    15.     EA_RETAIL:          SAPKGPRA06 to  SAPKGPRA29
    Thanks in advance
    Hanseatik

  • Close of Open Sales Orders

    Dear Experts,
    I have a similar requirement i.e. A good Volume of Open Sales Orders which are to be Closed. The Status of these Sales Orders being Partially Delivered, Not Delivered and Being Processed. Can I have a best solution to close them via an SAP transaction or with an ABAP Program. Kindly give us a detailed Solution to proceed.
    Regards
    Hari

    Hi,
    As i understood, you want the STATUS of the orders to be COMPLETE.
    For this you have to do some settings in the ITEM CATEGORY in VOV7
    Goto the Transaction code VOV7 and select the ITEM CATEGORIES for all those documents and maintain the  *COMPLETION RULE as A.*
    Now check creating the new documents after executng the full cycle.
    thanks,
    santosh

  • The minimize, maximize and close buttons don't work, and I can't select any items in drop-down menus.

    Running Firefox 23.01 on Windows, and two days ago I lost the ability to maximize, minimize or close windows via the buttons in the upper righthand corner. I also am unable to select a choice in dropdown menus, and for good measure I cannot x out of the About window that popped up went I wanted to check my version number!
    I've looked in the support forum and seen that this is not an uncommon problem. However, I have tried every suggested solution I could find - reset Firefox several times, turned off hardware acceleration, opened in safe mode and finally uninstalled and reinstalled the program (deleting the old program folders before reinstalling as recommended - and nothing has worked.
    Any help would be greatly appreciated.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Problem is testing mapping via test tab - URGENT

    Hello experts,
    I have a idoc to file scenario. Now in my production environment, SAP r/3 is sending some 14 idocs containing around 13000 article informations in all. 12 of the 14 idocs have been processed successfully but 2 idocs errored out.
    When i see the monitor, it says null pointer exception in mapping. that means its giving error in one of my udf. But what exactly the error is can only be found if i test my mapping with this payload.
    I download the XML (which i very big as it contains some 850 article information) and when i try to upload this xml in the test tab, it gives me error that the tree cannot be created and IR hangs. It doesnt respond anymore and i need to forcefully close it via Task Manager. I dont understnad why is it not able to upload the XML. Is there any limit to which the test tab can take the xml or am i missing something.
    Please help as this si really urgent as i am working on the production system.
    regards,
    Yash

    hi
    Chk the XML structure first..It will really better if U can download the Altova XML tool (if possible ) and can chk the structure .
    Java null pointer exception comes if one of ur object is not getting the proper value..
    That means U initialize ur object ..U use also in any method..
    When U use the object in method it is not getting the exact "value"  u want to pass.Chk also the UDF..
    I think the error is due to the UDF u hv written..
    Cheers
    MANas

  • Can't close firefox tabs even in safemode. (Windows 7)

    I normally run firefox with NoScript and AdBlock. Lately I have been unable to close tabs and after research saw that it was recommended to try safe mode. Safe mode has been working fine for me, but just now I cleared my cache and now I can't close tabs even in safe mode.
    Edit: Shortly after posting this question, I tried to open a new tab and firefox froze up. I had to close it via the task manager.

    It could be the work of one of your add-ons, or even add / mal-ware.
    Look thru your add-ons list and make sure you know what each one is
    and what it does. Also, check the programs that are on your computer
    '''Windows:''' Start > Control Panel > Uninstall Programs.
    '''Mac:''' Open the "Applications" folder
    '''Linux:'''
    * [http://www.freesoftwaremagazine.com/articles/see_all_your_installed_applications_ubuntu_unity Ubuntu Unity]''' {web link}
    * Xfce: Applications Menu category sections
    * options depends on the package manager and the desktop environment
    Go thru the list. If you find something that you don't
    know what it is, use a web search.
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-caused-malware Troubleshoot Firefox Issues Caused By Malware]''' {web link}

  • [dwm] can not close irssi window when opened in a xterm class

    Hello guys,
    I know the subject title is not really meaningful but the problem is a bit odd.
    When I start irssi in a opened xterm window I can easily close it via modkey-shift-c. To open it directly in a specific tag I created a new class for irssi and defined in config.h how to deal with that class.
    the script called "irc"
    #!/bin/bash
    xterm -class irc -e irssi &
    and the relevant part of config.h
    static const Rule rules[] = {
    /* class instance title tags mask isfloating monitor */
    { "irc", NULL, NULL, 1 << 1, False, -1 },
    When I then try to close the window with modkey-shift-c I just get the message "Irssi: Reloaded configuration".
    I don't really know why this happens. I defnied also a seperate class for alsamixer and closing this is working without any problem.
    What could I try to solve that?
    Best regards.
    Last edited by orschiro (2010-01-22 21:29:02)

    What key do you have assigned as modkey in dwm?
    It seems that modkey+shift+c is issuing the /RELOAD command in irssi rather than closing the window.  The modkey is superceded by whatever appilcation is running in the terminal. 
    I run irssi in xterm and modkey+shift+c closes it without issue.

  • Adobe 10.0 is asking me to close plugincontainer and retry install?

    Trying to get recipes on line and latest vers. of Adobe Reader needs to be installed..exe file.....saved.......run, then it asks me to close Plugin Container first and retry run......file is 96% loaded.....?

    Save the Flash installer to the desktop and close Firefox via File > Exit or Firefox > Exit.
    Then run the Flash installer with a double lick on that desktop icon.<br />
    You may need to use "Run as Administrator" via the right-click context menu of that file.

  • I am trying to download Adobe Flash player and it is asking me to close Mozilla Firefox, how do I do this?

    I am trying to download Adobe Flash Player and it is asking me to close Mozilla Firefox before it will download. How do I do this?

    Save the Flash installer to the desktop and close Firefox via File > Exit or Firefox > Exit.
    Then run the Flash installer with a double lick on that desktop icon.<br />
    You may need to use "Run as Administrator" via the right-click context menu of that file.

  • HT4623 How do I close programs running in the background to speed up my phone?

    Downloads are very slow.  How do I speed up?

    You can close apps via the taskbar : double-click the home button to open the taskbar at the bottom of the iPhone's screen, then press and hold any of the apps on that taskbar for a second or two until they start to shake, tap the '-' to close them, and then click the home button to close the taskbar. But a lot of the apps that appear there won't be active, they will just be 'recently used'.
    In terms of speeding up downloads, what connection do you have ? If you are downloading via cellular and you are somewhere where you can only get a 2G connection then downloads will be slower than if you were in an area with better reception or if you were connected to a decent wifi network.

Maybe you are looking for

  • I cannot uninstall or install the latest version of Flash Player

    Hi, the latest version of this  player is showing up, and is enabled on my computer but does not work: I cannot view any video or listen to radio except for youtube. When I try to uninstall it  and to retry the download of the latest version the inst

  • Unable to send mail to importet contacts via address book

    Hi all, I've searched the web without finding a solution to my issue with one of my users, so I had to create my own thread. My issue is that one of my newly employed users importet a large amount of contacts (over 3000) from his previous workplace (

  • Posting a screenshot

    I'm getting some very erratic behavior when employing the 'Adjust' settings: noise filling up the screen incrementally in rectangular patches. Simply posting or linking to a screen shot would go a long way toward describing the issue. I'm wondering i

  • How to update apps on windows 7

    I have windows 7 64 bit and itunes 11 64bit.  It states in the manual to click on the app in the library and press F5 to update.  i did this and nothing happens.  i tried it with numbers ( which on the ipad states there is an update for it) but nothi

  • Outgoing failures

    Hi, I have been using JES messaging server 6.2-3.04 (built Jul 15, 2005) as our corporate email server for a while without any problem. However, I have recently started getting the following postmaster reports for a specific domain for our outgoing e