Steps on creating a SavePanel and save as options?

Hi, I have gone an created my own Mac computer application. Though I don't know how to to add the feature to save the progress of everything typed into my application. I know I need to add a SavePanel class to the MainMenu.xib window, but I'm not sure how I activate the code (below) or what file I add it too. Please help me in the process of this situation. Thanks
Objective-C Code: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/AppFileMgm t/Tasks/UsingASavePanel.html

There is no security setting that locks out save/save as.
Save is greyed out when a file has not yet been changed, so that is normal. Save AS should not be greyed out at all. Don't know why that should happen.

Similar Messages

  • Trying to create an image and save it on file system

    Hi,
    I'm trying to create an image and save it in the file system :
         public static void main(String[] args) {
         int wid = 632;
         int hgt = 864;
         BufferedImage bufferedImage = new BufferedImage(wid,hgt,BufferedImage.TYPE_INT_RGB);
         bufferedImage.getGraphics().setColor(Color.black);
         bufferedImage.getGraphics().drawOval(30, 30, 100, 100);
              bufferedImage.getGraphics().drawString("test me one two three",2,2);
              bufferedImage.flush();
    try {
                   ImageIO.write(bufferedImage,".bmp",new File("C:/MyImage.bmp"));
         } catch (IOException e) {               
                   e.printStackTrace();
    THE PROBLEM : It creates C:/MyImage.bmp on my file system, but the file is empty (size 0).
    Am I missing something ?
    Thanks

    Try changing ".bmp" to "bmp". If that fails, try posting an SSCCE.
    Edit 1:
    And in future, please use the code tags when posting code, code snippets, HTML/XML or input/output. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.
    Edited by: AndrewThompson64 on Aug 3, 2009 1:23 AM

  • Popup with open and save file option

    Hi,
    I have created a button on my page name as "Export File" and created a process and called on "EXPORT FILE" button. I am using utl file in this procedure and i want to download this file and file will be .ics file using for calendar.
    My page process code is
    begin
    pro_create_ical(:P6_START_DATE,:P6_END_DATE);
    end;when i click on export file button it should raise a popup with open and save file option.
    How i can do this?
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 25, 2013 1:59 AM
    Edited by: Vedant on Jan 25, 2013 2:00 AM
    Edited by: Vedant on Jan 25, 2013 3:49 AM

    Shiv,
    Have you installed any new Software/Spyware/Virus Scanner etc.Check it out.It might have caused the issue for last 5 days.
    This issue is fixed in Latest Support Package Versions.
    Which Version of Support Package you are using?
    If EP6 <SP19 you will face this issue.
    Just upgrade it to EP6, Support Pack-19,this will be resolved.
    Upgrade of Support Pack wont take much time.you can get the document under http://service.sap.com/instguides
    Hope it helps
    Regards,
    Karthick Eswaran
    *Reward Points for helpful answers.

  • To disable 'save' and 'save as' options in the toolbar of adobe reader 10

    Hi,
    I need to disable the 'save' and 'save as' options. Is there any way to do it?
    If so, please let me know how to do it.
    Thank you.

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • I am using Indesign cs5 version 7.0.4 with a mac OS X version 10.9.4. I am having an issue where the save and save as option disappears. I am exporting the file as .idml and then resaving to avoid losing work but has to import all the images which takes a

    I am using Indesign cs5 version 7.0.4 with a mac OS X version 10.9.4. I am having an issue where the save and save as option disappears. I am exporting the file as .idml and then resaving to avoid losing work but has to import all the images which takes ages. Any help out there?

    I believe there are a couple of similar threads about CC or CC2014 behaving this way that might give yo some hints, but CS5 is not supported on your OS and may not run properly regardless of what you do. An in-place OS upgrade or an attempt to migrate the application would both be major problems for ID, so if you did either of those things you'll want to uninstall, run the cleaner tool (CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3) and reinstall.

  • Steps to create User ID and assigne roles.

    Hi,
    What are the steps to create User ID using BAPI_USER_CREATE1.
    How can I assign an User the role ECC/PORTAL/BI?
    Thanks in Advance
    Roy

    Am not sure what type of BI server installation you have...
    But here's one way you could create your users.
    From the BI Administration Tool --> Open your repository either offline or online --> From the menu click on Manage --> Security--> Here's where you could create your users, groups etc., set what subject areas each user/group should have access to --> After creating your users/groups you could double-click on the user or group and set permissions.
    Hope this helps,
    -Esther

  • How can I Create Class Diagram and save as image in Java

    Hi
    I have to make a project in java that will generate class diagram of the input class file.
    I have some knowledge of listing methods/properties of a class file in text from but don't really know how to draw a class diagram model (JBuilder 2005 such class diagram whenever a class is compiled). I have to save that class diagram in an image file as well.
    Please guide me what must be my line of action to follow. I need some suggestions on urgent basis.
    Thanx in advance
    Regards

    Hi
    My problem is that I have to construct toll like JUDE. What I need from this tool is just to simply draw the diagrams and save in an image format.
    So I need to know how to draw the diagram and save in an image file. I don't know about the drawing libraries available in Java. Kindly help me
    Regards

  • Save and Save As options are greyed out

    I have an install of Adobe X Standard. An external source is sending in PDFs which are marked as Secured. However, according to the creator of these documents, only editing has been locked down, not Save or Save As functionality. When I open the document, all Edit functionality, as well as Save and Save As are greyed out.
    This is a new install of Adobe X. These documents could previously be saved using the same version of Adobe, but that machine needed to be re-installed due to OS instability. After re-installing Windows 7, then Adobe X, then updating to 10.1.13, these functions are now missing. I have no idea as to why. Does anyone know what might be causing this? Again, I've verified with the original creating that Save functionality shouldn't be disabled.

    There is no security setting that locks out save/save as.
    Save is greyed out when a file has not yet been changed, so that is normal. Save AS should not be greyed out at all. Don't know why that should happen.

  • Problem in Save and Save As Option

    Hi All,
    I hv developed a swing application in that,
    I hv a problem in save and saveas option. When i click "saveAs" and choose a directory the file is getting saved to the directory which i choose. And after that if change anything and click "Save" the file is saved to the default directory i.e the program execution directory.
    Is there anyway to change this. Kindly help me.
    Thanks in Advance.
    ss

    First thing is not to cross-post.

  • How to create Pen-up and Pen-down option in X-Y graph ?

    Hi,
    I would like to create a basic digital version of XY plotter. I sorted out everything (scales, offsets, ranges, printing) except for Pen-up and Pen-down option. This application will be use to take multiple plots one after another. I need to print them on the same sheet. Basically when I run the test I plot one "line", then I take pen up, move it (with offset), put the pen down and draw another "line". Up to probably 6-8 "lines". My problem is that when I put the pen up and then down it connects old "line" withe the one that I just started to draw. (I assume that use of shift registers and a buffer needs to be involved??)
    I'm new to Labview and I would appreciate any help.
    Thx.
    Solved!
    Go to Solution.

    Hello again.
    Thx for all the replays. It works great.
    I would like to add another function to the plotter. The guy who is using it wants to write on the plot - I mean he draws a line and then he needs to mark it as A, then he draws another line and he wans to mark it as B, C and D. Then also he is reading some values from digital displays and he wants to be able to write it down on the plot while the plotter is running (then he prints it out).
    I think the only way to do that would be to use cursor name. Set as many cursors as I want (for now I would need 8), place them in the corner (for a start, so I wouldnt see them on the printput, only the name) and drag their name to wherever I want. 
    I wanted to do that but...I have a bit of a problem. When I'm setting property nodes for cursors (name visible, cursor visible, allow dragging, cursor name, cursor position) I'm only able to do that for one cursor. How can I create another one and set properties of that one?  Also is there a possibility of having a transparent cursor and a colored cursor name??
    frannerr

  • How can disable save and save as option in excel & word

    we want to share a excel and word file across the network.
    So want to disable save & save as option from file menu.
    Any comment is highly appreciate.
    Regards
    Arvind
    Arvind

    Hi,
    Search the control ids of FileSave & FileSaveas commands in Office programs from the following files:
    http://www.microsoft.com/en-us/download/details.aspx?id=3582
    Then disable the commands in Group Policy with the Ids.
    For example, the Policy IDs for FileSave & FileSaveas in Excel 2007 is 3 and 748.
    In Group Policy, you will need to set:
    Administrative Templates > Microsoft Office Excel 2007 > Disable Items in User Interface > Custom > Disable commands > Enabled > click Show... button > type 3 in Value and 748 in the next row.
    Best regards,
    Rex Zhang
    TechNet Community Support

  • How to create Unique Identifier and save it to identify user(device)

    I want to create unique identifier on iOS 5 and use it for identifying user (user device) every time app is started. I am able to create a unique identifier by following code 
    CFUUIDRef theUUID = CFUUIDCreate(NULL);
    CFStringRef string = CFUUIDCreateString(NULL, theUUID); CFRelease(theUUID);
    But unable to save it on user device so that particular identifier is not deleted even when app is uninstalled. I tried using SSKeychain approach but it gives Apple Mach-o Linker error.
    Please let me know the the way I can accomplish the same.
    Any help is appreciated.

    I want to create unique identifier on iOS 5 and use it for identifying user (user device) every time app is started. I am able to create a unique identifier by following code 
    CFUUIDRef theUUID = CFUUIDCreate(NULL);
    CFStringRef string = CFUUIDCreateString(NULL, theUUID); CFRelease(theUUID);
    But unable to save it on user device so that particular identifier is not deleted even when app is uninstalled. I tried using SSKeychain approach but it gives Apple Mach-o Linker error.
    Please let me know the the way I can accomplish the same.
    Any help is appreciated.

  • Mail imap problems: Mail created random folders and saves multiple drafts

    Hi there, I have a brand new MacBook Pro, and set up Mail to imap my two primary email accounts (new to discussion forum and forums in general):
    I have two imap accounts set up: Gmail and Network Solutions (my work webmail). Gmail is working fine.
    Network Solutions imap account:
    - Saves numerous copies of drafts of the same email as I type, and when I try to delete them (select them all, delete, or select all and move to trash), I get a message saying the Network Solutions server on port 143 has timed out. So I have a bunch of drafts that I can't clear.
    Mail menu on lefthand side of Mail window looks like:
    Mailboxes
    Inbox icon with dropdown to
    Gmail Inbox icon
    Net Sol Inbox icon
    Drafts icon with dropdown to
    Gmail Drafts icon
    Net Sol Drafts icon (this is where all those drafts keep saving and can't be deleted from)
    Sent icon with dropdown to
    Gmail Sent icon (only about a dozen sent emails are shown here)
    Net Sol Sent icon (only about ten sent emails are shown here)
    Trash icon with dropdown to
    Gmail Trash icon (seems to be all my trash)
    Net Sol Trash icon (seems to be all my trash)
    REMINDERS
    ON MY MAC
    RSS
    GMAIL drop down to
    [Gmail] white folder icon that has the following sub folders:
    All Mail (appears to have all mail from gmail in here)
    Drafts
    Sent Mail (appears to have all sent mail here)
    Spam
    Starred
    Trash
    NET SOL (drop down triangle)
    Draft folder (empty folder)
    locker folder (empty, no idea what this is, did not come from Net Sol)
    Sent (does not refresh properly, always missing recent msgs)
    Sent Items (empty folder)
    Trash
    The thing is, that in Network Solutions, prior to imapping with Mail, I had these folders:
    Inbox
    Deleted Messages
    Drafts
    Sent
    Trash
    NOW, after setting up imap to Mail, new folders have appeared in Network Solutions:
    Folder Name
    INBOX
    Deleted Messages (Bolded)
    Draft
    Drafts
    INBOX
    Sent Messages (Bolded) (all recent sent msgs are in here now)
    Sent (Bolded) (all sent msgs from Nov 6 and earlier are in here)
    Sent Items
    Trash
    If I want to reference an email I sent after Nov 6, I have to log onto my Network Solutions webmail and go to that Sent Messages folder, move them to the Sent folder, then log out and update my Mail, at which point, I can see them on Mail.
    I have not made a single folder in Mail -- what's there is a result of me setting up the two imap accounts.
    Network Solutions has no idea what that "locker" folder is, it is not a Network Solutions-generated folder, does not appear in my Network Solutions webmail folder list, and I did not make it.
    Can anyone help me clean this up, explain these mysterious folders, why I can't delete Net Sol drafts, why I can't get my sent messages that are more recent than Nov 6 into Mail, even though I've been primarily using Mail to send and receive mail for both Gmail and Network Solutions?
    Thanks in advance for any help you can provide!
    -Sunny

    Hi. I posted again, and no one has answered either, here is the other post, it's more detailed in scope:
    I am having a very strange problem here which started about a week ago, maybe someone can point me in the right direction:
    1) I use both gmail and my domain's server email which load into Mail.app. I use gmail because I like their spam filter and I use their SMTP because where I am, my ISP SMTP server isn't very reliable. Gmail solves my outgoing mail problem, but doesn't support showing when mail has been answered and that is a useful feature.
    2) My procedure is to open up gmail in my browser, mark and delete the spam (IMAP Account), then close the browser and open mail.app
    3) I have a rule in mail.app which moves my gmail to my domain mail Inbox where I organized with folders and subfolders and use many signatures to send different email out to customers. Mail has been very good as you can do quite a lot with it compared to most other email clients for OSX. I do this for three domains, with several email addresses within each domain.
    4) In mail.app, I can choose which mailbox to use for sent mail, junk, etc. This way I am sending from my domain, the email response shows and is linked to that mail so I can look for old responses fast and organize things by department. Spotlight or search works fast and perfectly. It's a good solution which I have used for well over a year (whenever gmail released IMAP services), or was, until a week ago.
    Problem 1) As of now, when I open the mail account, the domain subfolders which should be below my Inbox are no longer there. If I look lower to the account folder, sometimes the folders show up there, sometimes they do not show up at all, but they are online in my web-based mail with my hosting company. The mails are not lost, but mail.app is not connecting with the host correctly as they appear and disappear randomly.
    Problem 2) Every time I open mail.app now, most of my email inbox folders have to download all of the mail and their attachments again, even though I have the boxes in preferences correctly checked. Once the inbox loads all of the mail, then the subfolders disappear. This is very consistent. As long as there is no mail showing in the inbox, then the subfolders are showing correctly. As soon as the inbox is loaded showing mails, then the subfolders either disappear or move.
    Problem 3). The mailboxes that my hosting's webmail service creates (like deleted mail, mail to delete, trash, trash delete, whatever, it's a Windows server) keep showing up in Mail. They never did that before. Once I deleted them, I could see them online, but not in mail. All was as it should be. Now they keep coming back every time I reconnect and I often have to reset which mailbox is being used for junk, sent mail, drafts, etc.
    Problem 4). This same problem happens on all three of my machines, two being PPC and one Intel, running 10.4.11 and 10.5.5 respectively. The problem started happening on all my machines at the same time. This is also connection from three different ISPs.
    Solution? My hosting company says that they have changed nothing in their settings (IMAP uses Port 143 and I do get a time-out error sometimes but not often). They have tried it in Outlook and do not get the same results, they say it's working fine. I have tried to subscribe in Leopard (you can't do this is Tiger, only in Leopard, but Mail.app says I have no subscribed folders, which is not true). The Quota Limits shows the standard Mail.app mailboxes, the Subscription List shows nothing, and no way to change it).
    I tried Thunderbird and it connects faster, downloads faster and the folders are OK, but I still get mail folders appearing randomly. Sometimes I get mail folders appearing that I have not ever created with names like "System Mail". Sometimes I get mail boxes which are stored On My Mac which appear on IMAP suddenly. (Also, Thunderbird has poor signature file support, so I would prefer to use Mail, it's a better program overall.)
    I have tried rebuilding the mail accounts, have done this, realistically, 25 times. Yesterday I did a complete reinstall of 10.5.5 just because I am at the end of my rope. Now I am about ready to change hosting companies as I am still having the same trouble. I am in the process of archiving all of my mail into Gmail so I can switch hosts if that is the problem. But, I would like to know first if that is actually the problem, since overall I am pretty happy with my hosting company. They are in Arizona and speak my language and they are easy to talk with. However, they do not have a Mac there so they cannot test my situation from their facility.
    It's a strange problem in that one, I have used the system fine for well over a year with perfect results. Two, it happens on three different Mac used in three different places (office, home, and another person's home), and three, I have not changed hosting companies, I have been using the same host for two years and they deny changing any settings on their end.
    The hosting company has no answer for me, they are not Mac users, and say that it's perfect in Outlook, but it's not actually perfect in Outlook either as mailboxes still appear randomly and sent mail ends up in my inbox randomly even in Outlook. They just don't realize it as they are not watching my mail boxes except when I am on the phone with them.
    I am not having trouble with my websites. I do not have this problem with Gmail, only with my domain webmail.
    I have to use Windows because of a particular shopping cart system I use, but IMAP systems should be the same on Windows or anything else. Some how, some where, some one has changed some thing. Any idea what and how to solve the problem?
    Thanks,
    John

  • I am trying to create a folder and save it onto my desktop but apparently I do not have permission to do so. How can I change this?

    I am trying to figure out how to create a folder on my desktop. For some reason, my desktop folder is no longer available and whenever I try to set one up, an alert states that I do not have permission to create one. I don't know what to do.

    I think you need to repair user directory permissions.  Follow these instructions:
    http://osxdaily.com/2011/11/15/repair-user-permissions-in-mac-os-x-lion/

  • Create one agent and save it, it will generate error message.

    Hi experts,
    In OBIEE 11g ,when I create one agent for sending the emial to group and click saved button, it will generate the following message:
    [nQSError: 76015] The active Oracle BI Scheduler instance in the cluster could not be determined.
    Are you facing the same issue?

    Check this doc id 1072778.1
    pls mark if helps

Maybe you are looking for

  • How do I delete a large number of songs off my iPad

    I have a large music collection and have downloaded a large number of songs onto my iPad (10GB).  I don't need that much music on my iPad and would like to put the songs back in the cloud.  I don't want to have to delete thousands of songs one at a t

  • Sharp TV No Sound

    Hooked up Sharp LCD TV with HDMI cable to Charter HD cable receiver box and after 2 months suddenly no sound from TV speakers,  I can get sound with surround system.  Thought TV defective so I hooked up A/V cables Charter supplied and there is sound.

  • One more Standard table filter weird work

    In the same VO described in previous thread: Standard table filter weird work I have another filter trouble. The attribute is calculated, not bound to entity. SQL:to_char(case when ID_BASE_TYPES_MIME is null then substr(THE_VALUE, 0, 100)            

  • Webutil - CLIENT_OLE2 for exporting to MS Word

    I've done a lot of reading about this on the net, and have been unable to find the solution, perhaps someone on here knows. I am attempting to launch a word document and fill it with some text. A very simple small block of code (taken from an example

  • Rounding Profile for Material Staging

    To All Is it possible to use a rounding profile for materials used in material staging transaction LP12? Currently it totals production order demands. e.g. Prod Order 1000000 Material A Requirement 0.6kg Prod Order 1000001 Material A Requirement 0.7k