Help for write text to a file

hi,
i donot know how to write a text to a file no matter the file is exsit or not. please give a favour
public void saveFileDialog(String text) {
File file = null;
int returnVal = fc.showSaveDialog(DataIO.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
// please help me here
}

hi,
i donot know how to write a text to a file no
no matter the file is exsit or not. please give a
favour
sample code try {
        BufferedWriter out = new BufferedWriter(new FileWriter("outfilename"));
        out.write("aString");
        out.close();
    } catch (IOException e) {
    }

Similar Messages

  • How to get F4 help for Standard Text Key of a operation based on Order type

    Hi Experts,
      How to get F4 help for Standard Text Key (STK) of a operation based on Order type entered in selection screen. The F4 help should give the STK of related order type. At the same time the F4 help for Task Types based on Notification type. How to acheive the above two. Please provide the table names or any search help name if exists or Function modules...
    Thanks in Advance.
    Regads,
    Bujji

    Hi Guys,
       Any help on this...
    Regards,
    Bujji
    Edited by: Bujji on Dec 22, 2008 12:42 PM
    Edited by: Bujji on Jan 5, 2009 2:00 PM

  • Searching for a text in the file.

    I have a to search for a particular text, in the file.
    Since my file is of large size, I do not want to read the file line by line searching for the text.
    Is there any API which will help me do this?

    arc_g wrote:
    Having found the text in the file, I want to read from that point/index to the end of the file.That I can do using RandomAcessFile.
    The point is to find the text in the fileIf your problem is related to http://forums.sun.com/thread.jspa?threadID=5378628&tstart=0 then you do not want to search from the front of the file.

  • Where is saved the Preference for "Write XMP IDs to Files on Import"?

    Hello,
    In a Jsx, I test if the "CreateLayerMarkersFromFootageXMP" is activated in the AE preferences with:
    app.preferences.getPrefAsBool( "Metadata", "CreateLayerMarkersFromFootageXMP" );
    But I cannot do the same for this one:
    "Write XMP IDs to Files on Import", which is also in the Preference Panel, but not saved in the Preference files I think.
    Or if it's saved in, where? And how can I check it in ExtendedScript?
    Thanks.

    It appears that the Metadata section only carries that one pref it seems.
    ["Metadata"]
              "CreateLayerMarkersFromFootageXMP" = 01
    The only other XMP prefs I've found in the AE CC files are:
    "Adobe After Effects 12.1 Prefs.txt"
    ["Metadata"]
              "Strip project XMP history from rendered output" = 00
              "Strip project XMP history from saved projects" = 00
    ["XMP Writing"]
              "Maximum retries" = "5"
              "Seconds between retries" = "1.000000"
    "Adobe After Effects 12.1 Prefs-indep-general.txt"
    ["Metadata"]
              "CreateLayerMarkersFromFootageXMP" = 01

  • Help with Replacing text in a file using a vbscript

    I have the following script which I am wanting to
    1. Take the prf file and read it
    2. Edit a line in the  outlook .prf file replacing it with the text I have asked it to replace which is the full name of the user pulled from the currently logged on user
    The problem I am seeing is that when the temp file is being generated it is throwing off the formatting of the file hence the script doesn't work. Can anyone help me please.
    set objSysInfo = CreateObject("ADSystemInfo")
    struser = objSysInfo.Username
    set objUser = GetObject("LDAP://" & strUser)
    strFullName = objUser.Get("displayName")
    Const ForReading=1
    Const ForWriting=2
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    folder = "C:\test"
    'filePath = folder & "file.txt"
    filePath = "c:\test\test2007_3.prf"
    Set myFile = objFSO.OpenTextFile(filePath, ForReading)
    Set myTemp= objFSO.OpenTextFile(filePath & ".tmp", ForWriting, True)
    Do While Not myFile.AtEndofStream
    myLine = myFile.ReadLine
     If InStr(myLine, "MailboxName=%UserName%") Then
      myLine = "&strFullName"
     End If
     myTemp.WriteLine myLine
    Loop
    myFile.Close
    myTemp.Close
    objFSO.DeleteFile(filePath)
    objFSO.MoveFile filePath& ".tmp", filePath
    Christopher

    Sorry Irv,
    Here is the code I have and then after that is the prf file. I think there is an issue with the file structure because if I take a regular text file and add the lines in there myself it replaces the lines, but with the prf file or even the prf file as a
    text file it gives me the invalid argument message
    Const filePath = "c:\test\test2007_3.txt"
     Set objFSO = CreateObject("Scripting.FileSystemObject")
     Set myFile = objFSO.OpenTextFile(filePath)
    fileText = myFile.ReadAll()
    myFile.Close
    fileText=Replace(fileText,"%UserName%","THIS_IS_THS_REPLACEMENT_TEXT")
     Set myTemp= objFSO.OpenTextFile(filePath, 2, True)
     myTemp.Write fileText
     myTemp.Close
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard
    ; Section 1 - Profile Defaults
    [General]
    Custom=1
    ProfileName=Somthing
    DefaultProfile=Yes
    OverwriteProfile=Yes
    ModifyDefaultProfileIfPresent=false
    DefaultStore=Service1
    ; Section 2 - Services in Profile
    [Service List]
    ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section
    ; Section 3 - List of internet accounts
    [Internet Account List]
    ; Section 4 - Default values for each service.
    [ServiceX]
    CachedExchangeMode=0x00000002
    CachedExchangeSlowDetect=true
    [ServiceEGS]
    CachedExchangeConfigFlags=0x00000900
    MailboxName=%UserName%
    HomeServer=
    RPCoverHTTPflags=0x0027
    RPCProxyServer=
    RPCProxyPrincipalName=
    RPCProxyAuthScheme=0x0001
    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=
    OfflineAddressBookPath=%USERPROFILE%\local settings\application data\microsoft\outlook\
    OfflineFolderPathAndFilename=%USERPROFILE%\local settings\application data\microsoft\outlook\outlook.ost
    AccountName=Microsoft Exchange Server
    DefaultAccount=TRUE
    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to true to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to true to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to true to prompt user before opening unknown forms when using Exchange Web Services.
    ; Section 5 - Values for each internet account.
    ; Section 6 - Mapping for profile properties
    [Microsoft Exchange Server]
    ServiceName=MSEMS
    MDBGUID=5494A1C0297F101BA58708002B2A2517
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    OfflineAddressBookPath=PT_STRING8,0x660E
    OfflineFolderPathAndFilename=PT_STRING8,0x6610
    [Exchange Global Section]
    SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
    MailboxName=PT_STRING8,0x6607
    HomeServer=PT_STRING8,0x6608
    RPCoverHTTPflags=PT_LONG,0x6623
    RPCProxyServer=PT_UNICODE,0x6622
    RPCProxyPrincipalName=PT_UNICODE,0x6625
    RPCProxyAuthScheme=PT_LONG,0x6627
    CachedExchangeConfigFlags=PT_LONG,0x6629
    [Microsoft Mail]
    ServiceName=MSFS
    ServerPath=PT_STRING8,0x6600
    Mailbox=PT_STRING8,0x6601
    Password=PT_STRING8,0x67f0
    RememberPassword=PT_BOOLEAN,0x6606
    ConnectionType=PT_LONG,0x6603
    UseSessionLog=PT_BOOLEAN,0x6604
    SessionLogPath=PT_STRING8,0x6605
    EnableUpload=PT_BOOLEAN,0x6620
    EnableDownload=PT_BOOLEAN,0x6621
    UploadMask=PT_LONG,0x6622
    NetBiosNotification=PT_BOOLEAN,0x6623
    NewMailPollInterval=PT_STRING8,0x6624
    DisplayGalOnly=PT_BOOLEAN,0x6625
    UseHeadersOnLAN=PT_BOOLEAN,0x6630
    UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
    UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
    UseHeadersOnRAS=PT_BOOLEAN,0x6640
    UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
    UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
    ConnectOnStartup=PT_BOOLEAN,0x6642
    DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
    DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
    DisconnectOnExit=PT_BOOLEAN,0x6645
    DefaultDialupConnectionName=PT_STRING8,0x6646
    DialupRetryCount=PT_STRING8,0x6648
    DialupRetryDelay=PT_STRING8,0x6649
    [Personal Folders]
    ServiceName=MSPST MS
    Name=PT_STRING8,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Unicode Personal Folders]
    ServiceName=MSUPST MS
    Name=PT_UNICODE,0x3001
    PathAndFilenameToPersonalFolders=PT_STRING8,0x6700 
    RememberPassword=PT_BOOLEAN,0x6701
    EncryptionType=PT_LONG,0x6702
    Password=PT_STRING8,0x6703
    [Outlook Address Book]
    ServiceName=CONTAB
    [LDAP Directory]
    ServiceName=EMABLT
    ServerName=PT_STRING8,0x6600
    UserName=PT_STRING8,0x6602
    UseSSL=PT_BOOLEAN,0x6613
    UseSPA=PT_BOOLEAN,0x6615
    EnableBrowsing=PT_BOOLEAN,0x6622
    DisplayName=PT_STRING8,0x3001
    ConnectionPort=PT_STRING8,0x6601
    SearchTimeout=PT_STRING8,0x6607
    MaxEntriesReturned=PT_STRING8,0x6608
    SearchBase=PT_STRING8,0x6603
    CheckNames=PT_STRING8,0x6624
    DefaultSearch=PT_LONG,0x6623
    [Microsoft Outlook Client]
    SectionGUID=0a0d020000000000c000000000000046
    FormDirectoryPage=PT_STRING8,0x0270
    WebServicesLocation=PT_STRING8,0x0271
    ComposeWithWebServices=PT_BOOLEAN,0x0272
    PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
    OpenWithWebServices=PT_BOOLEAN,0x0274
    CachedExchangeMode=PT_LONG,0x041f
    CachedExchangeSlowDetect=PT_BOOLEAN,0x0420
    [Personal Address Book]
    ServiceName=MSPST AB
    NameOfPAB=PT_STRING8,0x001e3001
    PathAndFilename=PT_STRING8,0x001e6600
    ShowNamesBy=PT_LONG,0x00036601
    ; Section 7 - Mapping for internet account properties.  DO NOT MODIFY.
    [I_Mail]
    AccountType=POP3
    ;--- POP3 Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- POP3 Account Settings ---
    POP3Server=PT_UNICODE,0x0100
    POP3UserName=PT_UNICODE,0x0101
    POP3UseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    POP3Port=PT_LONG,0x0104
    POP3UseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    LeaveOnServer=PT_LONG,0x1000
    [IMAP_I_Mail]
    AccountType=IMAP
    ;--- IMAP Account Settings ---
    AccountName=PT_UNICODE,0x0002
    DisplayName=PT_UNICODE,0x000B
    EmailAddress=PT_UNICODE,0x000C
    ;--- IMAP Account Settings ---
    IMAPServer=PT_UNICODE,0x0100
    IMAPUserName=PT_UNICODE,0x0101
    IMAPUseSPA=PT_LONG,0x0108
    Organization=PT_UNICODE,0x0107
    ReplyEmailAddress=PT_UNICODE,0x0103
    IMAPPort=PT_LONG,0x0104
    IMAPUseSSL=PT_LONG,0x0105
    ; --- SMTP Account Settings ---
    SMTPServer=PT_UNICODE,0x0200
    SMTPUseAuth=PT_LONG,0x0203
    SMTPAuthMethod=PT_LONG,0x0208
    SMTPUserName=PT_UNICODE,0x0204
    SMTPUseSPA=PT_LONG,0x0207
    ConnectionType=PT_LONG,0x000F
    ConnectionOID=PT_UNICODE,0x0010
    SMTPPort=PT_LONG,0x0201
    SMTPSecureConnection=PT_LONG,0x020A
    ServerTimeOut=PT_LONG,0x0209
    CheckNewImap=PT_LONG,0x1100
    RootFolder=PT_UNICODE,0x1101
    [INET_HTTP]
    AccountType=HOTMAIL
    Account=PT_UNICODE,0x0002
    HttpServer=PT_UNICODE,0x0100
    UserName=PT_UNICODE,0x0101
    Organization=PT_UNICODE,0x0107
    UseSPA=PT_LONG,0x0108
    TimeOut=PT_LONG,0x0209
    Reply=PT_UNICODE,0x0103
    EmailAddress=PT_UNICODE,0x000C
    FullName=PT_UNICODE,0x000B
    Connection Type=PT_LONG,0x000F
    ConnectOID=PT_UNICODE,0x0010
    Christopher

  • I need help for reading from a .txt file.

    My goal in this program is to display the data from the text file to the command prompt. Everything compiles, but its doesnt display the data.
    It probably has to do with my constructer. So help with revising the constructing would be appreciated. I am new to programming by the way.
    import java.util.*;
    import java.io.*;
         class Inventory
         public static void main(String[] args)
              final int MAX = 50;
              InventoryItem[] items = new InventoryItem[MAX];
              StringTokenizer tokenizer;
              String line;
              String name;
              String file = " inventory.txt ";
              int units = 0;
              int count = 0;
              float price;
              try
                   FileReader fr = new FileReader ("inventory.txt");
                   BufferedReader inFile = new BufferedReader(fr);
                   line = inFile.readLine();
                   while (line !=null)
                        tokenizer = new StringTokenizer (line);
                        name = tokenizer.nextToken();
                        try
                             units = Integer.parseInt(tokenizer.nextToken());
                             price = Float.parseFloat(tokenizer.nextToken());
                             items[count++] = new InventoryItem(name, units, price);
                        catch (NumberFormatException exception)
                             System.out.println("error in input.Line ignored:");
                             System.out.println(line);
                        line = inFile.readLine();
                   inFile.close();
                   for (int i = 0; i<count; i++)
                        System.out.println (items);
              catch (IOException exception)
                   System.out.println("The file " + file + "was not found.");
         } //end of main method
    }// end of Inventory class
    public class InventoryItem
         private String name;
         private int units;
         private float price;
         public InventoryItem (String nameOfItem, int numOfUnits, float priceOfItem)
              name = nameOfItem;
              units = numOfUnits;
              price = priceOfItem;

    Use CODE tags
    What's not printing?
                        try
    units =
    its = Integer.parseInt(tokenizer.nextToken());
    price =
    ice = Float.parseFloat(tokenizer.nextToken());
    items[count++] = new InventoryItem(name, units,
    nits, price);
                        catch (NumberFormatException exception)
    System.out.println("error in input.Line <========= THIS ???????
    .Line ignored:");
                             System.out.println(line); <============= AND THIS???
                        line = inFile.readLine();
                   inFile.close();
                   for (int i = 0; i<count; i++)
                        System.out.println (items); <========== THIS IS OK, right?
    If I have correctly indentified your problem, then the reason it's not printing is that your print statements are within a catch block, and evidently your code is not throwing any NumberFormatExceptions

  • Attach labels for write to measuremen​t file and graphing

    I am currently having alot of problems with attaching labels to double type of wires and changing the label attached to the dynamic type of wires. I want the write to measurement file to have the correct headings but the current headings for the columns are displaying untitled or change the heading for the dynamic type of wire. I attached a picture of the program and I would be very grateful if anybody knew how to change these headings.

    Try this VI I made. It takes in a Double signal and a string, names your signal, and outputs it as a Dynamic Data.
    I used this with the Write to Measurement File without any issues!!!
    To name a Dynamic Data Signal, use the Set Dynamic Data Attributes VI found in Express > Signal Manipulation
    Hope this helps,
    Cheers
    Attachments:
    Name DBL Signal VI.png ‏59 KB
    Name DBL Signal for Measurement File.vi ‏35 KB

  • Probleme for writting in to the file

    Hello, I have a problem in my applicaion and I need your help.
    My problem is the following:
    I have a vi Entrées Consignes1.vi, when I run this vi, It open the file for exemple : FAUX.txt (which contain the expression like name = value),after the opening, the differents values display in my Entrées Consignes1.vi. up until then , that's ok!!
    But my problem is when I modify some values in my panel control and when I click to the button" Modifier Données" I' d like save it in the same file without affect the different name.I'd like just modify the values because in my solution,I don't know what make?
    I send you the Entrées Consignes1.vi with the file FAUX.txt
    Thanks you very much for your help.
    My seconds question is what exactly is the difference of Labview and Labview Real time?
    Attachments:
    Dossier.zip ‏31 KB

    Pardon, j'ai oblier l'attachment.
    - tbob
    Inventor of the WORM Global
    Attachments:
    Entrées Consignes1.vi ‏101 KB

  • Extending decimal points on timestamp for write to measuremen​t file .vi

    Hello Everyone
    Currently I am collecting a bunch of Fieldpoint Channels in LabVIEW (about 190) which is a lot of instrumentation. Right now we want to be sure the computer can keep up and read all of the channels every second. To test this theory I want to use the WTMF to get a timestamp for every channel (seems to be the easiest way).
    While reading the file I get like 5.68 so two decimal places. I was wondering if there was a way to get a more accurate time reading down to the millisecond. I know this is three places after the decimal point, but I was hoping I could extend this to 5-6 places past the decimal point.
    Usually when saving data I use the write to spreadsheet with one time column and can just format the readings through that, but for some reason I cannot figure this out with the WTMF
    If there is any input to check these time differences besides doing the above, that would also be appreciated.
    Any input would be amazing.
    Thanks so much
    Tanya

    Hi vaib,
    as i said already here, http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=332115#M332115 i think you can´t stop the writing process. If you start them, then you have to wait til the vi is ready. To measure the time you can use the "Tick count" function. See the attached picture.
    Mike
    Message Edited by MikeS81 on 06-17-2008 03:34 PM
    Attachments:
    Unbenannt1.PNG ‏12 KB

  • Enhancement: Need help for copy text

    Hello Experts,
    i am not able to do this Issue Please guide me.
    Issue is :  While creating Invoice Using MIRO Trasction User has to enter The TEXT
    Filed is SGTXT.
    After Creating the Invoice  the  text has automatically to be copied in GR/IR Accounts.
    How to proceed  Help me .
    Thanking you in advance .
    Janardhan Swamy S

    1) Swing related questions should be posted in the Swing forum.
    2) Use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the posted code is readable.
    3) Use the DefaultTableModel instead of creating your own custom TableModel. The DefaultTableModel already has method to remove rows from the table.
    4) There is no way to delete a line from a text file. The easiest way to accomplish your goal to so simply rewrite the file completely.

  • Required help for Identifying diff. items in file content conversion.

    Hi All,
    I've to use a file content conversion parameters for a .txt file in which there are two objects. One is a header and the other is a item detail.
    How do we get or mark the difference between both so that XI recognizes the particular line is a Header and the other is a Item detail
    Thanks in Advance.
    Regards,
    Sree.

    Hi
    Make use of a field which is common to header and item line which will always hold different values for header and item. Or otherwise if possible, add an extra field in the header and item lines, say 'Key' and use it in the 'Key Field Name' parameter in the adapter configuration. See this for details - [File Content Conversion for Complex Structures|http://www.riyaz.net/blog/index.php/2008/02/20/xipi-file-content-conversion-for-complex-structures/].
    Regards,
    Riyaz

  • HOW CAN I   WRITE   TEXT IN A     FILE

    HI,
    I have problems with saving files on my hard disk with an JAVA Applet.
    Do you know how to do it in the best way?
    here is the code i'm trying:
    public String getCount()
          int count=456;
          String rec=null;
          DataOutputStream dos = null;
          try
            URL                url;
            URLConnection      urlConn;      
            url = new URL(getCodeBase().toString() + "counter.txt");
            urlConn = url.openConnection();
            urlConn.setDoOutput(true);
            urlConn.setUseCaches(false);
            urlConn.setRequestProperty ("Content-Type", "application/x-www-form-urlencoded");
            rec=""+count;
            dos = new DataOutputStream(urlConn.getOutputStream());
            dos.writeChars(rec);
            dos.flush();
            dos.close();
           catch (MalformedURLException mue) { return mue.toString(); }
           catch (IOException ioe) { return ioe.toString(); }
          return rec;
        }this code is simply saving the value ot count in the file "counter.txt"
    I think the problem comes at the line: dos = new DataOutputStream(urlConn.getOutputStream());
    It doesn't throws exception, it just stopes there and doesn't show any result.
    WHY?
    If you have some ideas ...thanks.
    the class DataInputStream is working perfectly. I'm reading, but saving does not work.

    You're using getCodeBase() to construct the file name, apparently, so I guess you are wanting to write to a file on the server where the applet was loaded from. And it looks like you're trying to do a POST to the URL that you construct, or something like that. But the URL ends in ".txt" so most likely your server isn't exposing that URL to the outside world.
    You're on the right track, but you need to write to a URL that can accept POST requests and knows what to do with them. You can't just write to a file on the server -- if you could do that in your applet then anybody in the world could do it from a simple program, so consider the security implications of that.

  • Help for loading data from flat file it is an imp for me!!

    Hi All,
    I am working on loading data. I am getting data from Informix as '|' (pipe) delimited.
    Each file consists of 20-25 columns. But I need few columns information only for this load. Thanks in advance for your reply.
    Thanks,
    RM

    go for fixed length loading. refer to some of the sample scripts
    (ref: search for *.ctl in find files )

  • Need help for formating text output

    Is there a way to dynamically store special characters(eg. new line character) into a text field? This is because, the data is inserted into the DB from a textbox where the user divides the text into several lines but when it is viewed, it is just a single string of text

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by malaybiswas ():
    Is there a way to dynamically store special characters(eg. new line character) into a text field? This is because, the data is inserted into the DB from a textbox where the user divides the text into several lines but when it is viewed, it is just a single string of text<HR></BLOCKQUOTE>
    Generally speaking, you can store any characters in a plain ASCII string if you properly encode them. If you have Oracle Web Server look at URL_ENCODE procedure, it's probably not exactly what you need, but it gives you an idea.
    null

  • Help for PSE 9 and NEF files

    I have PSE 9 with camera raw 6.5, running Windows 7.  I shoot on a Cannon and regularly process CR2 files.  Now I'm trying to process NEF files from my sister's Nikon (not sure which, probably D90), but PSE says "Cannot open because it is the wrong type of file."  They are definitely NEF files, and she herself is able to process her own files (obviously) on whatever version of PS she has (not Elements).  Can anyone shed some light?  I did a complete update and computer restart an hour ago...no dice.

    You need to be sure which nikon camera, because although they all (most) are NEF files, they might require different versions of camera raw than the 6.5 you have in pse 9.
    (pse 9 can only use up to camera 6.5)
    Here's a list of cameras and the minimum required version of camera raw:
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html

Maybe you are looking for