Cannot save the Untitled.indd under a new file name.

hi,
   i am using window.i got this message while save a document,Cannot save the Untitled.indd under a new file name.
my code is,
IDocument *docFrom = Utils<ILayoutUIUtils>()->GetFrontDocument();
UIDRef docRef = GetUIDRef(docFrom);
InterfacePtr<IDocumentUtils> docUtils((IDocumentUtils*)GetExecutionContextSession()->QueryInterface(IID_IDOCUMENTUTILS ));
InterfacePtr<IDocFileHandler> handler(docUtils->QueryDocFileHandler(docRef));
IDFile destFile;
PMString path("E:/desktop/auquery.indd");
FileUtils::PMStringToIDFile(path,destFile);
handler->SaveAs(docRef,&destFile,kFullUI);
ErrorCode result = ErrorUtils::PMGetGlobalErrorCode();
pls help,
thanks,
screen410099

Hi JADarnell,
             desktop is a folder which i created in e: drive.And I found problem so pls give me a solution.
   Problem is i save a file without any changes its save but if i made any change in a document it doesn't save and one more information
  the  saveas method working in ActionComponent.cpp file in a project only.
thanks,
screen410099

Similar Messages

  • Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working

    Cannot move any files into trash to delete them. I get a Trash warning box saying "The Finder cannot complete the operation because some data in 'file name' could not be read or written.(Error code - 36)".Macbook has so much data it is almost not working.
    I have tried reseting to factory settings by removing battery and holding down the power switch for more than 5 sec but this does nothing.
    Any ideas would be greatly appreciated as I think with so much unwanted data on the desktop and other places the whole os will crash very soon.
    Thanks, Rick

    The hard drive may be dying anyway, or the directory damaged because it is so full.  You should never let the hard drive get over 85% full.
    A -36 error is a read/write error.
    All you did with the power is reset the SMC.  Does nothing to reset everything to factory settings. 
    Do you have your original 10.4 installer discs for the MacBook?
    Is your data backed up?

  • Saving PDF under new file name

    Hi,
    I'm using adobe to complete forms and wish to save the form under a new file name every time I complete one.  Is is possible on the iPad?
    Thanks

    We do not yet have the ability to rename or make copies of documents, but that is a very good feature request!

  • Save data at given simple rate with new file name

    Hi,
    I'm using a PXI-5105 scope to acquire data generated by a function generator. Currently I am able to save the data displayed by the scope under a given name: test.txt
    What I would like to do is continously save the acquired data at a given sample rate under a new file name. In other words, when I first "turn on" the boolean switch, a first set of data is saved as test001.txt, 1 second later the new incoming data is saved as test002.txt and so on.
    I looked into this a couple weeks ago and thought I had found a VI posted by another user that did exatcly this, but I can't seem to find it anymore.
    I attached the VI I'm using to save the data. I'm still relatively new to LabVIEW, so my program isn't as efficient as it can be. I'm in the process of changing the program so the two switches don't conflict.
    Any help would be greatly appreciated.
    Best,
    Marc

    I forgot to attach the file. Here it is.
    Attachments:
    Acquire and Save.vi ‏34 KB

  • Trying to save a document with a new file name

    I have a IMacOSX Lion
    I am very new to apple products
    How do I save an existing document with a new file name thereby having two documents the old one and the new one with changes? Once a document has been saved once opening File no longer offers the save or Save as choice. Clicking on Save a version does not work either. Please help!

    What application are you using?
    Most Apple apps have adopted a new file saving scheme for what you describe. In Pages, for instance, you go to the File menu and select Duplicate. You end up with two documents, one labeled xxx copy (if the original was xxx). Now you can save xxx copy by using Save from the File menu, and change the name to whatever you want.
    Hope this helps you. Best of luck.

  • Cannot save "Untitled-4" under a new name.

    I'm getting this error trying to run the HelloWorld.jsx Script on a Windows Server 2003 VM machine inside OSX.
    I've been working with the server with no problems, having been able to test scripts to import XML, and export in various formats..
    I had just written a Windows App test client in C# .Net, the aim being to develop an Object Pool to control multiple instances, and was going to use HelloWorld as the test script... and now this.
    The same script runs perfectly well from the ActionScript IDE, both in the Windows Server and on OSX.
    InDesign Server is running as a Windows Service.
    I can view the WSDL on http://localhost:1978/?wsdl ... fine.
    Any ideas?

    You may as well see the script
    //HelloWorld.jsx
    //Create a new document.
    var myDocument = app.documents.add();
    //Get a reference to the first page.
    var myPage = myDocument.pages.item(0);
    //Create a text frame.
    var myTextFrame = myPage.textFrames.add();
    //Specify the size and shape of the text frame.
    myTextFrame.geometricBounds = ["6p0", "6p0", "18p0", "18p0"];
    //Enter text in the text frame.
    myTextFrame.contents = "Hello World!";
    //Save the document (fill in a valid file path).
    //If the active document has not been saved (ever), save it.
    //If you do not provide a file name, InDesign displays the Save dialog box.
    app.documents.item(0).save(new File("/c/myTestDocument.indd"));
    //Close the document.
    app.documents.item(0).close();

  • PPT has found an error and cannot save the file in Microsoft Powerpoint2010

    I have been working in 2010 for 6 months and this is the 3rd time I have experienced this error.  I am using my own 2010- created, macro-enabled template - I want to save the file but I get an error message stating PPT
    has found an error and cannot save the file. 
    This has happened on both newly created files using this template, and files previously successfully saved.  The template has been used without error many, many times.
    I have on occassion been able to save as a 97-2003 file and then resave (with some loss of function) as a 2010 macro-enabled file, on another occassion I was not able to do this and lost some work.
    Copying into a new document didn't solve the problem. Copying into a different template didn't solve the problem.
    Any ideas what is happening, and how I can stop it happening?
    Kind regards

    Hi,
    Have you tried saving the file in *.pptm format (basically this extension is for powerpoint presentation with macros)
    Maybe try Save As and see if you can save it under a different name.
    Once you get the file closed, then reopen PPT and go to Office Button | PPT Options | Resources. Run Office Diagnostics there.
    In addition, make sure you have a local printer driver installed and set as the default printer. And it really might fix the issue.
    Here's info on what to do:http://www.pptfaq.com/FAQ00952.htm
    Sincerely

  • Acrobat XI cannot save the file, cannot read document

    Recently acquired Acrobat XI with a new scanner. with several specific files that were sent to me, I get an error message that it cannot save the file because it cannot read it error (135). 3 out of 4 documents are originals. The 4th was apparently printed out and scanned. No problem with it. Any suggestions? I've pretty much tried everything and only solution seems to be creating jpgs files and then turning them back into a PDF file. Another party who received the files reports she has no problem with it. My guess is that she has an older version of Acrobat. I'm having the same problem with the Reader version.

    Thanks for the response. I sent a response to the email notification but since I don't know if that puts my response on the forum, I'm putting it here as well. Yes, Under "help" I've run the updates multiple times and none are available. I did see a fix that sounded like it was for this type of situation but I could not find the switches in the program to carry out the recommendation. It sounded like the problem was that XI has trouble "reading" some documents and gets "hung" as a result. The solution was to turn off this feature. But I don't see how I can do that. I downloaded Soda PDF (alternative program) and it did not have any problem with it. Also, someone else opened it with no problem.

  • I get this message "Cannot save the file as the font "ArmenianLSU-italic" could not be embedded because of licensing restrictions. Turn off the pdf compatibility option and try again. I have this file from when I had CS4. It worked then. I trying to make

    I get this message when I am trying to save a file that was done in CS4, now using  CS6 "Cannot save the file as the font "ArmenianLSU-italic" could not be embedded because of licensing restrictions. Turn off the pdf compatibility option and try again." Even if I start a new file I unable to save it with this font. I need to use this font.

    Then you need to outline all text before savng the PDF.
    Make sure you do this on a copy of the file.

  • Can anyone help me with an iWeb problem? I cannot save the site after making changes. I receive this error: "website.sites2 could not be saved"

    Can anyone help me with an iWeb problem? I cannot save the site after making changes. I receive this error: "website.sites2 could not be saved"

    You could try duplicating the Domain.sites2 file and launch this in iWeb. Delete the last page you edited and try saving. If that doesn't work, undo and try deleting another and so on...
    If you can find the problem page you would only have to rebuild it rather than the whole site.
    The other possibility is to create a new site on the same domain file and drag each page in turn down to it from the top site and try to save each time.

  • HT4623 I cannot find the update section under Settings. What do I do?

    I cannot find the update section under Settings. What do I do?

    If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.1.3. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
    iOS 5: Updating your device to iOS 5 or Later
    http://support.apple.com/kb/HT4972
    How to install iOS 6
    http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
    Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update an iPad (except iPad 1) to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
    Tip 2 - If you're updating via wifi, place your iPad close to your router to preclude getting a corrupted download.
     Cheers, Tom

  • Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame st

    Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame still there. Is there a "apply change" or similiar command that I simply cannot see.

    brings the image back, straightened, but with the skewed back ground frame
    PSE did what you told it to do. Choose the Straighten and crop edges or fill edges options when you use the straighten tool if you want it to do more than just straighten the contents of the image. Many people prefer the plain straighten because they'd rather crop themselves than let PSE do it.

  • Infopath cannot save the following form - this document library was either renamed or deleted

    Hi there,
    I'm working in InfoPath 2013, using a remote desktop connection to a Windows 7 machine publishing to an on-prem SharePoint 2013 server.
    When creating my form, I go to publish it to a form library and get the following error:
    InfoPath cannot save the following form http://myformlocationandname This document library was either renamed or deleted, or network problems are preventing the file from being saved. If this problem persists, please contact your network administrator
    I've tried updating a library, creating a new library, but neither work. I can however, edit a list and customise the form to then publish back without a problem.
    If anyone could offer any advice, I'd be very grateful! :-)
    Thanks very much,
    Alex

    Step1: First, the method of control :
    Add
    Windows Server Feature: User Interfaces and Infrastructure -> Desktop
    Experience 
    Reboot 
    Start
    Windows Services -> Themes service
    Step2: I did not answer:
    Go to SharePoint and create new Subsite
    Created Test Subsite

  • I recently upgraded my MacBook from 10.5.8 to 10.6.8 Snow Leopard. Now when I create a song in Garage Band 2008, I cannot save the volume adjustment when I share back to iTunes and ultimately upload to YouTube. The volume reverts back to a default? low l

    I recently upgraded my MacBook from 10.5.8 to 10.6.8 Snow Leopard. Now when I create a song in Garage Band 2008, I cannot save the volume adjustment when I share back to iTunes, which is now version 11.1.1, and ultimately upload to YouTube. The volume reverts back to a default? low level. How can I retain the volume I assign in Garage Band, so that when the song moves to iTunes it doesn't revert?

    I recently upgraded my MacBook from 10.5.8 to 10.6.8 Snow Leopard. Now when I create a song in Garage Band 2008, I cannot save the volume adjustment when I share back to iTunes, which is now version 11.1.1, and ultimately upload to YouTube. The volume reverts back to a default? low level. How can I retain the volume I assign in Garage Band, so that when the song moves to iTunes it doesn't revert?

  • I created a form using acrobat XI pro.  SOME users of the form cannot save the form.  what can i do from my side to 'correct' the issue?

    i created a form using acrobat XI pro.  SOME users of the form cannot save the form.  what can i do from my side to 'correct' the issue?

    Do you know what PDF viewer those users were using? Do you have any more details about what happens when they attempt to save?

Maybe you are looking for