"Save as" Option in Notepad

I am opening a file in Notepad by ..
Runtime.getRuntime().exec("Notepad.exe "+logPath);
this opens the specified file.. but when i edit the file and try to choose "Save as " option it gives Common Dialog error(0x3002).
could any please help me solve this..
Thanks In Advance
Vyas

Check out Swing and JTextPane or JEditorPane class.
You can create your own text editor with all of the functionality of notepad however it will be internal to your application and will work be platform independent.
Depending on a Windows based app like that is a poor design choice. Any Windows errors associated with Notepad then will automatically be associated with your application by the Customer.

Similar Messages

  • IN ALV Report 'SAVE LAYOUT' option missing

    Dear All,
                 I have created one report in ALV GRID using ABAP OBJECTS(Using class CL_GUI_CUSTOM_CONTAINER and
    CL_GUI_ALV_GRID).But in output when i click on change layout option i am not getting SAVE layout option.
    I have already passed I_SAVE parameter = 'A' while calling metod SET_TABLE_FOR_FIRST_DISPLAY. But i didnt worked.
               Please do needful.
    Regards,
    Mayank

    Hi,
    You can manage display variants by using parameters, “is_variant” and “i_save” of “set_table_for_first_display”. Here are options for variant handling. <structure_name> is the variant-defining structure of type “DISVARIANT”. The field “report” in this structure should contain the value of “sy-repid.”
    Hope this helps. Reward points if helpful.
    Thanks,
    Balaji

  • Standard Report not Displaying 'SAVE LAYOUT' Option

    Dear All,
    Using Tcode VF44, i am getting output list.But in that list when i click on select layout option from toolbar its not displaying 'save layout' Option. can anybody give me soln for the same.How can i get that option?
    Regards,
    Mayank

    hi ,
    it depends on the user parameters.
    U have to identify the parameter id and u have to activate it in user maintainance partameters .
    su01 -> parameters.
    ex .  parameter id ->  SD_VARIANT_MAINTAIN -> X
    so u can save layout now.
    regards,
    manikandan

  • HOW TO ACTIVATE SAVE LAYOUT OPTION IN VA05 T CODE

    Dear Genios,
    i am facing probel to activate the save layout option in any sap standard reports.
    I want to create & save a layout in standard report va05.
    please help me for the same.
    Regards
    Rabin Nayak

    Go to SU01/SU3 ( to ur ID) select parameters tab and then scrol down and press F4 select SD_VARIANT_MAINTAIN and in the next field select A or X then try it will allow u to save ur own variant.(the save icon come to screen variant selection screen)
    More on this:
    By default, SAP user can't save report layout in some SAP SD t-code such as: VA05 and SDO1. The 'save' menu will be grey. But, you actually can save the layout by adding a parameter in your SAP user profile. You do that with t-code: SU3. Go to 'parameters' tab and add new parameter id, which is: SD_VARIANT_MAINTAIN'. The parameter value for that is 'A'. Then save your user profile and try again to save layout in VA05 or SDO1 t-code.
    Regards,
    Sanjeev

  • Issue with Save As option

    Hello Experts,
    I have BEx Web analyzer integrated with SAP- NW portal 7.0.
    Everything is working fine .
    I go to new analysis and select a query.
    After this when I go for " Save As" option.
    System and Type comes grayed out. Is there anyway to enable them ?
    or
    Would they remain disable as we have already selected the query from required system , I am not sure . please suggest
    Thank you
    Regards,
    Khushboo

    Hi Durgesh,
    I have assigned  in your role S_RS_AUTH object with the 0BI_ALL to my user id. But issue is still the same.
    Notes 1083423 is applicable for BI 7.0 and I am working with BI 7.10
    Regards,
    Khushboo

  • Problem with save as option in version 10 or above

    Hi,
    I have created a pdf using pdfbox api which has links to go to a particular page in pdf. When a create a copy of this pdf using Save as option and open that copy pdf the links dont work in adobe reader versions 10 or above while they are working fine in older versions 8,9 etc. Can anybody help me why this is happening and hpw to resolve this issue.
    Thanks,
    kamal

    Hi,
    While saving the copy of created pdf in reader 10 or above, if i enable Save As optimizes for Fast web view links stop working else they are working fine. Can you help me with how to uncheck this option automatically. Please provide a solution as i have been looking for the resolution for last couple of weeks and need to resolve asap.
    Thanks,
    Kamal

  • JPEG/PSD issue--I open a jpeg and edit it (levels, crop) and then "save as" and the save as option shows there are now levels in the image and it wants to save it as a .psd file or a copy with layers.  What am I doing that has these settings appear?

    JPEG/PSD issue--I open a jpeg and edit it (levels, crop) and then "save as" and the save as option shows there are now levels in the image and it wants to save it as a .psd file or a copy with layers.  What am I doing that has these settings appear?

    16bit? Pixels extending beyond the canvas? (from a crop with delete unused pixels turn off).  Have you previously been saving PSD files?
    IME you sometimes have to tell Photoshop that the first save of a session is JPG, and it remembers from there on.  The way to 'tell' Photoshop that JPG, or PDF, or PNG etc are now your preferred format is to Ctrl (Cmd) click on that format in the Save As drop down list.  So long as the file does not have parameters that your chosen format does not support, then this should work for you.
    [EDIT]  Just noticed that you did include 'Crop' in the subject line.  Do you have 'Delete cropped pixels' checked?

  • 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.

  • Creation of folder/"SAVE AS "option

    Dear all / baneka raj
    1) I want to give a authorization for creation of folder to HOD only  in easy DMS .
    Please le me know the detail procedure. Its burning issue to me .
    2) "SAVE AS "( Kindly refer my last thread/Deactivate this SAVE AS option) option as per baneka raj it is possible through funtion "F_EXPORT"
       How can i activate this function in SAP
    Let me know t-code or procedure
    Thx in advance
    Edited by: Harish Parab on Aug 1, 2009 2:30 PM
    Edited by: Harish Parab on Aug 1, 2009 2:31 PM

    hi,
    for, ? 1.
    u2018ACO_SUPERu2019 is the only PFCG object for working with ACLs in SAP Easy Document Management.
    PFCG roles (objects) and ACLs are independent of each other. If both PFCG objects and ACLs are maintained, the system takes both of them into account, but PFCG roles are given preference.
    To be able to use object-related authorizations (ACLs) in SAP Easy Document Management, you have to carry out the following steps:
    1.      Create a PFCG role or use an existing one
    The PFCG role ensures access to document management. The system first checks the PFCG roles of a user. If the user has authorization for document management, the system carries out the check for ACLs.
    2.      Assign user to role
    3.      In SAP Easy Document Management you define the administrator authorizations for a folder or document under SAP Properties on the Authorizations tab page with Create Admin Authorization. These authorizations allow the user to edit documents and folders and assign authorizations to other users, user groups, and roles.
    4.      You define authorizations for other users, user groups, roles, and HR objects in SAP Easy Document Managementunder SAP Properties on the Authorizations tab page for a folder or document, by choosing
    for Q2, u can edit original program and make it deactive that field. not recomended. ask Abaper.
    Benakaraj
    ??P

  • How to remove save, cancel option when end user runs the workbook in Portal

    Hi,
    how to remove save, cancel option when end user runs the workbook and make some small changes like using page items or increasing rows and columns
    I already made 2 changes
    1) I removed the option in Oracle Enterprise Manager under discoverer viewer of saving
    2) I also removed the option of Allow saving changes made in Viewer when adding workbook to portal
    But still the end user gets options of saving when made small changes to workbook like increasing rows and columns
    Is their any place, I need to make changes?
    Thanks in Advance
    Rowdheer

    Don't use JSP to serve a binary file. It almost implies the use of awful scriptlets and the invocation of both the response writer and the response outputstream which would only lead to IllegalStateException headaches in the server logs.
    Use a Servlet instead. Specify the file name as request parameter and let the servlet read the file and write it to the outputstream of the response.

  • How to record SAVE AS option in BDC

    HI,
        I am trying to create a Utility program which will download all the Z* -SMARTFORMS from the System on the Presentation server.
    I am recording a BDC for the Same.During record I am following steps like
    1- Tcode - SMARTFROMS
    2- Utlitities -> Download form
    3- Form Name
    4- Path to download
    But in the recording the SAVE button is not getting recorded, I guess as that is a window call from SAP so it is not getting recorded.
    So when I run the BDC for in BAckground mode - the Pop to save each and every file comes up..It is any way to automate the SAVE AS option in BDC or is there any other option.
    Basically I dont want any Human Intervien for saving activity.
    Regards
    Sandeep

    Thanks for your replies..
    I even tried running the program in E mode...it is still showing the SAVE option screen
    Is there any other way of downloading smartforms programatically...As basic requirement of Utlility is Mass download of smartforms.
    Can you suggest me some other way if possile?

  • How to control save as option in a jsp whose content type is PDF

    Hi
    I have one jsp in which i am showing PDF, it means it content type is PDF. I want to control save as option in it,
    i.e when a user tries to save it the default name which is coming it is name of the jsp, but i want default name is dynamic which depends upon user.
    I used response.setHeader(content-deposition,inline;filename=abcd.pdf) , but it doesnt work. if i use
    response.setHeader(content-deposition,attachment;filename=abcd.pdf) then it is working but it straight away giving option as "U want to open or want to save it". I dont want this i want first PDF to be shown in jsp then if some one wants to save he will click on save button in PDF and there and want this option.
    Kindly help me

    Don't use JSP to serve a binary file. It almost implies the use of awful scriptlets and the invocation of both the response writer and the response outputstream which would only lead to IllegalStateException headaches in the server logs.
    Use a Servlet instead. Specify the file name as request parameter and let the servlet read the file and write it to the outputstream of the response.

  • How to disable save as option in forefox when we right click on the image?

    Hi Folks,
    Can somebody help to disable save as option when i right click on the image which is showing in the browser.

    Hi,
    '''sorry,it is impossible by code'''
    you can use addons.
    or
    you can disable while developing webpage using:
    <script language="javascript">
    document.onmousedown=disableclick;
    status="Right Click Disabled";
    Function disableclick(event)
    if(event.button==2)
    alert(status);
    return false;
    </script>
    Regards
    '''Deepak Krishnan'''

  • I want the 'Save as' option to specify a location when I save a document or file rather then always save to downloads.

    I'm constantly downloading files that should go into a specific folder but I don't have a 'Save As' option when I choose to save. As a result everything goes into the Download folder. This means I have to go to the download folder and move it.
    How can I get Save As as an option when saving content?

    You can specify the download location in '''Tools''', '''Options''', '''General'''. This is the place where you also can tell Firefox to ask the location each time you do a download.

  • "Save as" Options not appearing in Photoshop

    "save as" options do not appear when trying to save a PSD file as a PNG, etc. Any ideas? I onoly get 3 or 4 choices and no JPG, PNG, or some of the more common ones.

    You must be on CS6 with a Mac?
    You copied Adobe plugins from a previous version into CS6 or pointed CS6 to a previous version plugin folder.  Delete all the plugins you moved.
    If you have 3rd party plugins they should be in the plugin folder but should be latest versions downloaded from website rather than just moved.

Maybe you are looking for

  • Reports Server - dynamic reconfiguration needed for long-running reports

    We have a need to permit users to submit large reports via scheduler from the hours of 8 pm to 2 am. These reports currently fail due to the daytime configuration limits on the row count and the elapsed time. I guess effectively we need to stop, chan

  • Multiple rows in report

    Hi, I have a problem on my report. All sales data, cost data, GL data of a project on a single row but paid invoices are displayed on a separate line while it should be on the same line as the project. The paid invoices have project on the data rows

  • Windows – but Which? (What to install on Mac Pro Quad Core?)

    First, apologies in advance if this seems like repetition of a recent topic, but I read through the recent "Vista vs XP" thread and it didn't quite answer my questions. Basically, I'm planning on buying a Mac Pro "Quad Core" 2.8 and installing Boot C

  • Group number for multiple groups

    I have a report that has two groups. I would like to get the total number of groups in Group 2 under each group of Group 1. I know there is a Group Number field in the special fields but that will only give me the group number of Group 2 for the whol

  • ORA-07445 WHEN RUNNING XMLTYPE

    HI ALL I hit an ora-07445 error when I running the below SQL.  BUT if I repleace the xmltyp character strings from a physical table(means I input the xml strings into a xmltable), this SQL was working. anyone hit this issue before?? SELECT * FORM TES