How to avoid the "Save As" dialog when using "Close Button"

Hello All,
I am facing a problem while closing a pdf file.
I am using the following code to Open a pdf file.
CAcroApp objAcroApp = new AcroAppClass();
CAcroAVDoc objAVDoc = new AcroAVDoc();
objAVDoc.Open(C:\\new.pdf,Sample);
objAcroApp.Show();
After opening the document I am **** some changes (adding markup) in the file.
Then I am closing the file using the Close Button and in YES for the save confirmation dialog.
Here is the problem.
After giving YES, I am getting a Save As dialog with "Sample.pdf" in the FileName box.
I am getting this only in Acrobat 9.0.
When I tried the same in Acrobat 8.0 I didnt get Save As dialog. It saved with out "Save As" dialog in "C:\\new.pdf".
I need to give the same behavior in both Acrobat 9.0 and 8.0.
Please help me out to fix this issue. Thanks in advance.
Regards,
Mohd Mustafa SK

In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

Similar Messages

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • How to suppress Save As dialog when using the Close button on an editable pdf

    Environment: Windows 7, SDK 9, Adobe Acrobat Pro X, Visual Studio 2010 Professional
    Summary: when a document is opened for editing using automation, edited, then closed using the "Close" button, the confirmation dialog appears, "yes" is selected and then the "Save As" dialog appears.  It should save without the "Save As" dialog in the same way it does were the document opened from Adobe Acrobat directly.  My question is, is there any flag to set which governs whether the "Save As" dialog appears as part of the close document process.  It is behaving as if the document is read-only upon close. (it isn't)
    This is how the document is opened from C++:
    if(SUCCEEDED(hr = ::CoCreateInstance(__uuidof(Adobe9::Acrobat::CAcroAVDoc), 0, CLSCTX_ALL, IID_IUnknown, (void**)&pUnk))){
    hr = OleRun(pUnk);
    if (SUCCEEDED(hr)){
    if (SUCCEEDED(hr = pUnk->QueryInterface(&pAVDoc))){
    hr = pAVDoc->Open((BSTR)CComBSTR(strPath), strDocName, &bRet);
    Even when the plugin is removed from the plug_ins\AcrobatSDK directory, the behaviour is the same.
    Another reproduction is running the BasicIacVC sample, commenting out all lines from gAcroPdDoc->Close(); in InitInstance() and returning TRUE.  If an editable document is opened using the sample, edited then closed using the "X" button, the confirmation dialog is followed by a "Save As" dialog as if it were a read-only document which it is not.
    Any suggestions would be appreciated.
    Regards,
    Evan

    Yes, it does.  (as long as the pdf has been opened via a COM interface)

  • How to avoid the transport request popup when changing real-time load behav

    Hello experts,
    I'm often switching between the two loading mode, and I already worked in systems where I don't have the popup for transport request : (so I guess there is a possible tuning anywhere)
    How to avoid the "asking for a transport request" popup in BW when changing real-time load behaviour of an infocube
    Thanks in advance, I will save precious time
    Guillaume P.

    Hello Krishnan,
    i tried to switch all object types from "not changeable" to "changeable original", but still get the popup when switching cube loading mode.
    Do you know the particular object type to manage ?
    Hello Vishnu,
    same thing, whatever the option is (switch on / off standard) I have the transport popup.
    Anyway thanks for your try.

  • I get the Save As dialog when trying to Save, whether using Command-S or File menu

    When trying to Save a document, I am presented with the Save As dialog. The file name has a serial number added  to the old file name and the default destination is the Documents file. This happens whether I have tried to save using Command-S or using the Save option in the File menu. This started after I upgraded to Mavericks.

    I checked and the files are not stationery pads, Permissions show me as having read and write authority.
    But, when I  opened the files from the finder, the problem disappears and they saved normally. I then removed the files from the Dock and re-placed them in the Dock via drag and drop. The problem re-appears and changes will not save normally. Not being able to use the Dock is inconvenient but at least there is a workaround. Thanks for your help! Before declaring victory, I'd like to watch it for a while for other quirks.

  • How to trace the save menu in cs3 using javascript?

    i can able to add menu items using the following syntex
    app.scriptMenuActions.add("Script 1");
    but i dont know how to trace the save menu, i want to do certain action while the user try to save their active document.
    is it possible in script?
    thanks
    subha

    Hi subha,
    re: "i dont know where to get that BeforePrint.jsx, but by using scripting guide i able to trace the menu events."
    All of the scripts shown in fragmentary form in the Scripting Guide are included in the associated scripts archive on the InDesign Scripting home page.
    The BeforePrint.jsx script shows how to cancel the display of the Print dialog box; I assume that the same techniques will work for the Save dialog box. No time to check right now.
    Thanks,
    Ole

  • How to customize the Save as dialog Box for saving Web Query???

    Hello,
       we are usnging SAP NW Portal and BI 7.0 (SP14).
       We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog Box name "Save As Dialog Box", so from this dialog box the user can select where to save the query, he/she have 3 options* to save qureies: My Favorites, Bex Portfolio and MyPortfolio, this also works fine.
      My Quetsion is: How can i customize the View of this "Save As" dialog box, so at the end the User can only select 2 Options:  My Favorites + MyPortfolio. So how to hide the Tab:  Bex Portfolio in the Dialog Box.
    Points for any good answer.
    Many Thanks and Regards,
    Nazih
    Edited by: Nazih Kayyali on Feb 3, 2009 4:04 AM

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How can I change the default "file type" in the open file dialog when using Firefox on certain web pages?

    I work for a bankruptcy attorney. We use the Court's file upload to file our documents. When I am on the Court's site and I have to pick a file to upload, the "open file" dialog box pops up. In Firefox, the default "file type" is always "image" files. I need it to be "all files". How can I change this setting?

    Two observations.
    First — "Tools-> ...." is specific to Acrobat X and XI. It did not exist prior to Acrobat X.
    Second — Acrobat 9 Pro / Standard (nor earlier release) does not support viewing a PDF page containing a scanned image and performing a right-click  ... Save Image As. 
    The context menu provided by Acrobat 9 Pro with a right-click on a scanned image is:
    The context menu,from a right-click with the TouchUp Object tool selected, for Acrobat 9 Pro is:
    So, to paraphrase what Paul Harvey used to say ... What's the rest of the story?
    Be well...

  • How I change the save image dialog box view from oldest to newest first as the default?

    My save image dialog box has the oldest file in the folder in the upper left position (using list). I want to change it to the newest file shown first. It used to be that way, but now it showing oldest first. I haven't found any guidance on defaults for this box. Thanks.

    Leave it to Apple.  When I first got the phone, that's the way they were configured.  Now that they've flipped around, there's now way to change it!

  • How to avoid the Commit/Rollback dialog box

    I've a JClient app with two frames wich relate to the same appllication module with the same connection (I need it because I want a single commit).
    I start the first frame,then I click a button to start the second frame, I insert data in the second one and I see the commit/rollback buttons in both navebars enabled.
    When I close the secod frame, without committing (because I want to commit at the end of the whole process) I receive the Commit/Rollback dialog box.
    How can I solve that problem ?
    TIA
    Tullio

    Remove or conditionalize the code in generated Form/Frame.java class that binds a WindowListener to the Frame like:
        addWindowListener(new WindowAdapter()
            public void windowClosing(WindowEvent e)
              _popupTransactionDialog();
              JUApplication juApp = panelBinding.getApplication();
              if (juApp != null)
                juApp.release();
              System.exit(0);
      }You may either conditionlize the above windowClosing method or the code in generated method
    private void _popupTransactionDialog()

  • Woundering how to change the "save as dialog / window" in Reader X ?

    Hi
    I am woundering if there is possible to change the "save as window" in Adobe Reader X. I want this to be the same as the "open window", where you get more browse options.
    Regards Frode - Netscenario.no

    You may use the forum for Adobe Reader.

  • Hi, How to stop the open new view when i click button in OnClick event

    Hi,
    I have the popup window[window.showodelDialog] with one button called confirm.and table control values
    Actual requirement: when i click confirm button it saves the tablecontrol value in the internal table. it is fine.It saves.
    Currently working is : When i click the confirm button in the onClick event ,the new view is opening with empty tablecontrol popupin the new window.I don't want that one.
    my requirement is: When i click the confirm button through onclick event ,i want to close the currently showing popupwindow and it should come to main page.How to do that?
    view1.htm
    =======
       <htmlb:button id            = "sub1"
            onClick =""
            text          = "Confirm" />
    Do_handle_data
    ============
      LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
                                              't_confirm' .
        CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
                       EXPORTING
                         im_id      = 't_confirm'
                         im_request = me->request
                       CHANGING
                       ch_table   = me->r_asset_data->t_maintain ).
        EXIT.
        ENDLOOP.
    t_maintain it stores the changed values.. It is fine..

    Hi raja,
    1.I have a main page like req_asset_create.htm. In this page one button called maintain. If i click the maintain button the popup window is opening using window.showModelDialog. 
    2. In this popup i have a Editable tableview and one button called confirm. User can edit the values. After editing he is clicking the confirm button.
    3.when he click the confirm button two things should happen a)Popup should vanish and it should go to main page ie req_asset_create.htm.The editrd values should store in to the internal table (t_maintain).it is in model class.
    What heppenings for me using this code
    =============================
    <%----
    confirm -
    --%>
        <htmlb:button id            = "con"
            onClientClick = "self.close();"
            text          = "confirm"
            onClick       = "confirm"/>
    When i click the confirm button ->popup is closing ->thats 100% fine and again one new view is coming with popupdisplay values.This should not happen.
    a)The server event is not happening.It should happen.
    b) The edited values are not stored in the internal table..
    Do_handle_data : for storing the edited tableview values
    ===========   
    confirm
      LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
                                              'con' .
        CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
                       EXPORTING
                         im_id      = 'tv1'
                         im_request = me->request
                       CHANGING
                       ch_table   = me->r_asset_data->t_maintain ).
        EXIT.
        ENDLOOP.
    What should i do to happen for the server event to update the edited records.
    How can i achieve? ow to control the new opening view?

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • How to get the PDF Document version when using Digital Signature

    Hi,
    I have a form which contains two signature fields.
    When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
    I need to get the binary of the versions stored in the form.
    Please suggest me the how to get the version data from the form.
    Regards,
    S.V.atish Kumar

    Hi Mithun:
    I think I have run into a similar issue and have not been able to find a resolution.
    I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
    Earnings .............. Pre-Tax Deductions .........Taxes
    <line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
    <line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
    <line 3 earnings> <line 3 pre-tax deductions>
    <line 4 earnings> <line 4 pre-tax deductions>
    <line 5 earnings>
    <line 6 earnings>
    The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
    Check Writer (XML)  - Issues with payroll check stub in rtf
    As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
    *** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
    Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
    Thanks!
    Edited by: RedLacey on Dec 17, 2009 11:48 AM

  • How to avoid OCM reinstall through OPatch when using EM Harvester?

    Currently running OEM Grid Control 11g (11.1.0.1.1GC PSU) on an infrastructure repository database (11.2.0.1.2). Previously had OCM installed in every ORACLE_HOME in our environment. I removed all existing OCM installations and OCM Instrumentation in each database.
    I then installed OCM (10.3.3.2.2) into the OMS_HOME in order to begin using the EM Harvester for all configuration uploads rather than multiple OCM installs. This went fine, and I began to see targets in MOS indicating GC as the data source rather than OCM. Good so far.
    I then installed PSU 11.2.0.1.3 to the infrastructure repository database. During the patch installation, OPatch re-installed OCM into the database ORACLE_HOME without my knowledge. This caused some targets to appear in MOS with OCM as the data source again. At this point I had two sets of OCM processes running. I've confirmed that the patch caused the OCM reinstall by checking the opatch logs from $ORACLE_HOME/cfgtoollogs, where I can see the fresh OCM install occur.
    I then installed patch 9431704 to the MW_HOME/oracle_common ORACLE_HOME to resolve the 'FMW Welcome Page Application' target showing down in Grid Control issue. The patch went fine, but OPatch again reinstalled OCM, this time to MW_HOME/oracle_common and MW_HOME/utils. So at this point I had four sets of OCM processes running, which caused many duplicate targets to appear in MOS, again with OCM as the data source. Confirmed yet again that the OPatch session led to the new OCM installs by reviewing the logs.
    I would like to exclusively use the EM Harvester to upload configuration details to MOS. Per the whitepaper in note 848962.1, "The only prerequisites for using an EMGC system to collect and upload configuration data to Oracle Support are that the EMGC OMS must be at least version 10.2.0.5, and there must be an OCM instance configured (and running in connected mode) in the Oracle Home of the OMS."
    So this leads to my question. How can I continue to patch OMS, the repository database, and the target databases, while preventing OPatch from reinstalling OCM in every ORACLE_HOME it finds?
    I understand that whitepaper's comment to mean that I only require OCM in the OMS_HOME and it should not run out of any other ORACLE_HOMEs in our environment. Should I simply allow OPatch to install OCM anywhere it wants, then pause them by running '$ORACLE_HOME/ccr/bin/emCCR hold'? Is there a flag I can include when running 'opatch apply' to tell it skip OCM installation?

    Thanks EricvdS, I think that will work. I plan to try it with my next PSU patch. It's not exactly what I wanted, since I'd prefer to avoid having OPatch installed at all (and thus have no ORACLE_OCM user and no OCM instrumentation in the database), and I believe the initial OPatch install will submit OCM data to MOS even before pausing it and setting it to disconnected mode, and I'd like to avoid that too.
    I also have the feeling that I may be able to skip the OPatch install by not providing my email address and MOS password or CSI number when applying patches. I'll try that too.

Maybe you are looking for