Can you write to files with an applet or what?

Hi I can't get the bufferwriter to output any text to a file. Not sure if this is because I'm using an applet? I wouldn't assume so, but any help would be appreciated
The problem area is :
private boolean registerNewUser()
        FileOutputStream writer;
        try
            BufferedWriter out = new BufferedWriter(new FileWriter("logins.txt"));
            out.write(regUserField.getText());
            char [] tempPass = regPasswordField.getPassword();
            String tempString = tempPass.toString();
            out.write("\n" + tempString);
            out.close();
        catch(IOException e)
            System.out.println("Writing file error.");
            System.exit(0);
        int intSS = Integer.parseInt(regSSNField.getText());
        currentUserAccount = new Account(regNameField.getText(), intSS);
        return true;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.*;
import javax.swing.*;
import javax.swing.Icon;
import javax.swing.JApplet;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import java.lang.*;
import java.io.*;
import java.util.*;
public class JBank extends JApplet implements ActionListener
    private static double totalMoney = 0;
    private static final String BANK_MENUITEM = "Bank";
    private static final String NEW_ACCT_MENUITEM = "New Account";
    private static final String OPEN_ACCT_MENUITEM = "Open Account";
    private static final String DELETE_ACCT_MENUITEM = "Delete Account";
    private static final String TRANSFER_ACCT_MENUITEM = "Account transfer";
    private static final String WITHDRAW_ACCT_MENUITEM = "Withdraw Funds";
    private static final String DEPOSIT_ACCT_MENUITEM = "Deposit Funds";
    private static final String OVERVIEW_ACCT_MENUITEM = "Overview of Accounts";
    private static final String CHECKING_RADIO_BUTTON = "new account checking";
    private static final String SAVINGS_RADIO_BUTTON = "new account savings";
    private static final String RETIREMENT_RADIO_BUTTON = "new account retirement";
    private static final String LOGIN_BUTTON = "login";
    private static final String REGISTER_BUTTON = "register";
    private static final String CANCEL_BUTTON = "cancel";
    private static final String NEW_ACCT_OK_BUTTON = "new account ok";
    private static final String NEW_ACCT_CANCEL_BUTTON = "new account cancel";
    private static final String NEW_USER_REGISTER_BUTTON = "new user registration";
    private static final String MAIN_TITLE_TEXT = "JBank - A Comp 285 Project";
    private Container contentPane = getContentPane();
    private JFrame loginFrame = new JFrame();
    private JFrame registrationFrame = new JFrame();
    private JFrame newAccountFrame = new JFrame();
    private JLabel title;
    private JTextField loginField;
    private JPasswordField passwordField;
    private JTextField regNameField;
    private JTextField regSSNField;
    private JTextField regUserField;
    private JTextField initialMoneyField;
    private JPasswordField regPasswordField;
    boolean trueUser = false;
    boolean savingsSelected = false;
    boolean checkingSelected = false;
    boolean retirementSelected = false;
    Account currentUserAccount;
    public void init()
        //Login First
        loginFrame();
        contentPane.setLayout(new BorderLayout());
        // background color: lightblue
        float red = 0f;
        float blue = .3f;
        float green = .2f;                                     // Java sees double, must specify a suffix of f to
        float alpha = .05f;                                    //create float since
        Color lightBlue = new Color(red, green, blue, alpha); //<-- constructor requires floats
        contentPane.setBackground(lightBlue);
        // Menu
        JMenuBar jBar = new JMenuBar();
        JMenu bankMenu = new JMenu(BANK_MENUITEM);
        JMenuItem b;
        b = new JMenuItem(NEW_ACCT_MENUITEM);
        b.addActionListener(this);
        bankMenu.add(b);
        b = new JMenuItem(OPEN_ACCT_MENUITEM);
        b.addActionListener(this);
        bankMenu.add(b);
        b = new JMenuItem(DELETE_ACCT_MENUITEM);
        b.addActionListener(this);
        bankMenu.add(b);
        b = new JMenuItem(TRANSFER_ACCT_MENUITEM);
        b.addActionListener(this);
        bankMenu.add(b);
        b = new JMenuItem(OVERVIEW_ACCT_MENUITEM);
        b.addActionListener(this);
        bankMenu.add(b);
        jBar.add(bankMenu);
        setJMenuBar(jBar);
        // Title JBankset
        title = new JLabel(MAIN_TITLE_TEXT);
        contentPane.add(title);
    public void actionPerformed(ActionEvent arg0)
        String command = arg0.getActionCommand();
        if (command.equals(BANK_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    BANK_MENUITEM);
        else if (command.equals(NEW_ACCT_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    NEW_ACCT_MENUITEM);
            newAccountFrame();
        else if (command.equals(OPEN_ACCT_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    OPEN_ACCT_MENUITEM);
        else if (command.equals(DELETE_ACCT_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    DELETE_ACCT_MENUITEM);
        else if (command.equals(TRANSFER_ACCT_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    TRANSFER_ACCT_MENUITEM);
        else if (command.equals(OVERVIEW_ACCT_MENUITEM))
            title.setText(MAIN_TITLE_TEXT + " " +
                    OVERVIEW_ACCT_MENUITEM);
        else if (command.equals(LOGIN_BUTTON))
            Scanner loginFile = null;
            String currentFileLoginName;
            String triedLogin = loginField.getText();
            try
               loginFile = new Scanner(new FileInputStream("logins.txt"));
            catch(FileNotFoundException e)
                System.out.println("Internal Error");
                System.exit(0);
            do
               currentFileLoginName = loginFile.nextLine();
               if  (processLogin(currentFileLoginName, triedLogin, loginFile)) //Send Logins&File | Return boolean
                   loginFile.close(); //Close File
                   break; //Login true. Break out of while loop
            while (loginFile.hasNextLine() == true);
        else if (command.equals(REGISTER_BUTTON))
            registrationFrame();
        else if (command.equals(NEW_USER_REGISTER_BUTTON))
            registrationFrame.setVisible(false);
            if (checkFields() == false)
                registrationFrame.dispose();
                registrationFrame();
            else
            registerNewUser();
        else if (command.equals(CHECKING_RADIO_BUTTON))
            savingsSelected = false;
            checkingSelected = true;
            retirementSelected = false;
        else if (command.equals(SAVINGS_RADIO_BUTTON))
            savingsSelected = true;
            checkingSelected = false;
            retirementSelected = false;
        else if(command.equals(RETIREMENT_RADIO_BUTTON))
            savingsSelected = false;
            checkingSelected = false;
            retirementSelected = true;
        else if (command.equals(NEW_ACCT_OK_BUTTON))
            double doubleInitialMoney = Double.parseDouble(initialMoneyField.getText());
            if (savingsSelected)
                currentUserAccount.registerAccount("savings");
                currentUserAccount.deposit("savings", doubleInitialMoney);
            if (checkingSelected)
                currentUserAccount.registerAccount("checking");
                currentUserAccount.deposit("checking", doubleInitialMoney);
            if (retirementSelected)
                currentUserAccount.registerAccount("register");
                currentUserAccount.deposit("retirement", doubleInitialMoney);
            newAccountFrame.dispose();
    private void loginFrame()
        loginFrame.setTitle("JBank -- Login Required");
        loginFrame.setDefaultLookAndFeelDecorated(true);
        loginFrame.setBounds(400,350,225,130);
        JTextField login = new JTextField("User ID");
        JTextField password = new JTextField("Password");
        loginFrame.setLayout(new GridLayout(0,2));
        //Button Panel
        JPanel buttonPanel = new JPanel();
        buttonPanel.setLayout(new GridLayout(4,0));
        JLabel space = new JLabel("                   ");
        JButton okButton = new JButton("Login");
        okButton.isDefaultButton();
        okButton.setVerticalTextPosition(AbstractButton.CENTER);
        JButton register = new JButton("Register");
        register.setVerticalTextPosition(AbstractButton.CENTER);
        okButton.setActionCommand(LOGIN_BUTTON);
        register.setActionCommand(REGISTER_BUTTON);
        okButton.addActionListener(this);
        register.addActionListener(this);
        buttonPanel.add(okButton);
        buttonPanel.add(space);
        buttonPanel.add(register);
        buttonPanel.add(space);
        //Text Panel
        JPanel textPanel = new JPanel();
        textPanel.setLayout(new GridLayout(4,0));
        JLabel userIDLabel = new JLabel("User ID:");
        JLabel passwordLabel = new JLabel("Password:");
        loginField = new JTextField(14);
        passwordField = new JPasswordField(14);
        textPanel.add(userIDLabel);
        textPanel.add(loginField);
        textPanel.add(passwordLabel);
        textPanel.add(passwordField);
        loginFrame.add(textPanel);
        loginFrame.add(buttonPanel);
        loginFrame.setVisible(true);
    private void registrationFrame()
        loginFrame.setVisible(false);
        //Registration's Frame
        registrationFrame.setTitle("JBank -- Registration");
        registrationFrame.setDefaultLookAndFeelDecorated(true);
        registrationFrame.setBounds(400,350,300,300);
        registrationFrame.setLayout(new BorderLayout());
        //Buttons
        JButton registerButton = new JButton("Register");
        JButton cancelButton = new JButton("Cancel");
        //Text Fields
        regNameField = new JTextField(20);
        regSSNField = new JTextField(8);
        regUserField = new JTextField(14);
        regPasswordField = new JPasswordField(14);
        //Labels
        JLabel nameLabel = new JLabel("Name:  ");
        JLabel ssnLabel = new JLabel("Social Security: ");
        JLabel newUserLabel = new JLabel("Desired User ID: ");
        JLabel newPasswordLabel = new JLabel("Desired Password: ");
        //Top Panel
        JPanel newUserFieldsPanel = new JPanel();
        newUserFieldsPanel.setLayout(new GridLayout(8,0));
        //Bottom Panel
        JPanel newUserButtonsPanel = new JPanel();
        newUserButtonsPanel.setLayout(new GridLayout(0,2));
        //Add
        newUserFieldsPanel.add(nameLabel);
        newUserFieldsPanel.add(regNameField);
        newUserFieldsPanel.add(ssnLabel);
        newUserFieldsPanel.add(regSSNField);
        newUserFieldsPanel.add(newUserLabel);
        newUserFieldsPanel.add(regUserField);
        newUserFieldsPanel.add(newPasswordLabel);
        newUserFieldsPanel.add(regPasswordField);
        newUserButtonsPanel.add(registerButton);
        newUserButtonsPanel.add(cancelButton);
        registrationFrame.add(newUserFieldsPanel, BorderLayout.CENTER);
        registrationFrame.add(newUserButtonsPanel, BorderLayout.SOUTH);
        //Action Listeners
        registerButton.setActionCommand(NEW_USER_REGISTER_BUTTON);
        cancelButton.setActionCommand(CANCEL_BUTTON);
        registerButton.addActionListener(this);
        cancelButton.addActionListener(this);
        registrationFrame.setVisible(true);
    private void newAccountFrame()
        //New Account Frame
        newAccountFrame.setTitle("Create New Account");
        newAccountFrame.setDefaultLookAndFeelDecorated(true);
        newAccountFrame.setBounds(400,350,300,300);
        newAccountFrame.setLayout(new BorderLayout());
        //Buttons
        JButton newAcctOkButton = new JButton("OK");
        JButton newAcctCancelButton = new JButton("Cancel");
        //Radio Buttons
        JRadioButton checkingOption = new JRadioButton("Checking Account");
        JRadioButton savingsOption = new JRadioButton("Savings Account");
        JRadioButton retirementOption = new JRadioButton("Retirement Account");
        //Group 'em
        ButtonGroup accountSettings = new ButtonGroup();
        accountSettings.add(checkingOption);
        accountSettings.add(savingsOption);
        accountSettings.add(retirementOption);
        //Text Fields
        initialMoneyField = new JTextField("0", 8);
        //Labels
        JLabel depositLabel = new JLabel("Initial Deposit:  ");
        JLabel optionLabel = new JLabel("What kind of account would \n"
        + "you like to create?");
        //Top Panel
        JPanel newAcctOptionsPanel = new JPanel();
        newAcctOptionsPanel.setLayout(new GridLayout(4,0));
        //Bottom Panel
        JPanel newAcctTextPanel = new JPanel();
        newAcctTextPanel.setLayout(new GridLayout(2,2));
        //Add
        newAcctOptionsPanel.add(optionLabel);
        newAcctOptionsPanel.add(checkingOption);
        newAcctOptionsPanel.add(savingsOption);
        newAcctOptionsPanel.add(retirementOption);
        newAcctTextPanel.add(depositLabel);
        newAcctTextPanel.add(initialMoneyField);
        newAcctTextPanel.add(newAcctOkButton);
        newAcctTextPanel.add(newAcctCancelButton);
        newAccountFrame.add(newAcctOptionsPanel, BorderLayout.CENTER);
        newAccountFrame.add(newAcctTextPanel, BorderLayout.SOUTH);
        //Action Listeners
        checkingOption.setActionCommand(CHECKING_RADIO_BUTTON);
        savingsOption.setActionCommand(SAVINGS_RADIO_BUTTON);
        retirementOption.setActionCommand(RETIREMENT_RADIO_BUTTON);
        checkingOption.addActionListener(this);
        savingsOption.addActionListener(this);
        retirementOption.addActionListener(this);
        newAcctOkButton.setActionCommand(NEW_ACCT_OK_BUTTON);
        newAcctCancelButton.setActionCommand(NEW_ACCT_CANCEL_BUTTON);
        newAcctOkButton.addActionListener(this);
        newAcctCancelButton.addActionListener(this);
        newAccountFrame.setVisible(true);
    private boolean checkFields()
        //Check Name Field
        String triedName = regNameField.getText();
        if (triedName.length() == 0)
            JOptionPane.showMessageDialog(null,
            "Empty Name Field. Try Again.",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        //Check SSN
        String triedSS = regSSNField.getText();
        int parsedSS = 0;
        try
            parsedSS = Integer.parseInt(triedSS);
        catch(Exception e)
            JOptionPane.showMessageDialog(null,
            "Numbers only in Social Security Field!\n Try Again.",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        if (triedSS.length() < 8)
            JOptionPane.showMessageDialog(null,
            "Social Security Number is not 8 Digits.\n Try Again.",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        //Check User ID
        String triedUser = regUserField.getText();
        if (triedUser.length() < 6)
            JOptionPane.showMessageDialog(null,
            "Desired User ID too short.\n Try Again",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        //Check Password
        char[] triedPassword = regPasswordField.getPassword();
        String stringPassword = triedPassword.toString();
        if (stringPassword.length() < 6)
            JOptionPane.showMessageDialog(null,
            "Desired Password Too Short. \n Try Again.",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        return true;
    private boolean registerNewUser()
        FileOutputStream writer;
        try
            BufferedWriter out = new BufferedWriter(new FileWriter("logins"));
            out.write(regUserField.getText());
            char [] tempPass = regPasswordField.getPassword();
            String tempString = tempPass.toString();
            out.write("\n" + tempString);
            out.close();
        catch(IOException e)
            System.out.println("Writing file error.");
            System.exit(0);
        int intSS = Integer.parseInt(regSSNField.getText());
        currentUserAccount = new Account(regNameField.getText(), intSS);
        return true;
    private boolean processLogin(String currentFileLoginName, String triedLogin, Scanner loginFile)
        char[] userPassword = passwordField.getPassword();
        if (currentFileLoginName.equals(triedLogin))
            String currentFilePassword = loginFile.nextLine(); //Login recognized, go to next line for password
            char[] charPassword = currentFilePassword.toCharArray();
            if (charPassword.length == userPassword.length) //Password Lengths match?
                if(Arrays.equals(userPassword, charPassword)) //Do characters match?
                    trueUser = true;
                    loginFrame.dispose();
                    return true;
            else
                JOptionPane.showMessageDialog(null, //Notify User of Incorrect password
                 "Invalid password. Try again.",
                 "Error Message",
                 JOptionPane.ERROR_MESSAGE);
                 return false;
        else
            JOptionPane.showMessageDialog(null, //Notify user of unrecognized login
            "Unknown User ID. Try again\n or Register.",
            "Error Message",
            JOptionPane.ERROR_MESSAGE);
            return false;
        return false;
    private class Account
    private String name;
    private int ssn;
    private double totalUserMoney;
    private boolean checking = false;
    private boolean savings = false;
    private boolean retirement = false;
    private double checking_holdings;
    private double savings_holdings;
    private double retirement_holdings;
   public Account(String userName, int ss)
       name = userName;
       ssn = ss;
    public int getSSN()
        return ssn;
    public double getTotalUserMoney()
        return totalUserMoney;
    public boolean getUserAccounts(String type)
       if (type.equals("checking"))
           if (checking == false)
           return false;
           else
           return true;
        if (type.equals("savings"))
            if (savings == false)
            return false;
            else
            return true;
        if (type.equals("retirement"))
            if (retirement == false)
            return false;
            else
            return true;
        return false;
    public void registerAccount(String type)
        if (type.equals("checking"))
        checking = true;
        else if (type.equals("savings"))
        savings = true;
        else if (type.equals("retirement"))
        retirement = true;
        else
        System.out.println("Internal error"); //Should not reach here
    public boolean withdraw(String type, Double moneyAmount)
        if(getUserAccounts(type))
            if(type.equals("checking"))
                if (moneyAmount > checking_holdings)
                    JOptionPane.showMessageDialog(null,"Insufficient holdings in checking account");
                else
                    checking_holdings -= moneyAmount;
                    totalUserMoney -= moneyAmount;
                    return true;
            if(type.equals("savings"))
                if (moneyAmount > checking_holdings)
                    JOptionPane.showMessageDialog(null,"Insufficient holdings in savings account");
                else
                    savings_holdings -= moneyAmount;
                    totalUserMoney -= moneyAmount;
                    return true;
            if(type.equals("retirement"))
                if (moneyAmount > checking_holdings)
                    JOptionPane.showMessageDialog(null,"Insufficient holdings in retirement account");
                else
                    retirement_holdings -= moneyAmount;
                    totalUserMoney -= moneyAmount;
                    return true;
        else
            JOptionPane.showMessageDialog(null,"No such account exists");
            return false;
    public boolean deposit(String type, Double moneyAmount)
        if(getUserAccounts(type))
            if(type.equals("checking"))
                checking_holdings += moneyAmount;
                totalUserMoney += moneyAmount;
                return true;
            if(type.equals("savings"))
                savings_holdings += moneyAmount;
                totalUserMoney += moneyAmount;
                return true;
            if(type.equals("retirement"))
                retirement_holdings += moneyAmount;
                totalUserMoney += moneyAmount;
                return true;
        else
            JOptionPane.showMessageDialog(null,"No such account exists");
            return false;
    public void deleteAccount(String type)
        if (type.equals("checking"))
            totalUserMoney -= checking_holdings;
            checking = false;
        if (type.equals("savings"))
            totalUserMoney -= savings_holdings;
            savings = false;
        if (type.equals("retirement"))
            totalUserMoney -= retirement_holdings;
            retirement = false;
    public void showAccountInfo()
        if (checking == true && savings == true && retirement == true)
        System.out.println(name + "'s Accounts: " + "\nChecking Account: $" + checking_holdings
        + "\nSavings Account: $" + savings_holdings + "\nRetirement Account: $" +
        retirement_holdings + "\n\nTotal: $" + totalUserMoney);
    public void showAccountInfo(String type)
        System.out.println(name + " ");
}

In the future, do not post eleventeenkathousand lines of code. No one is going to read it all and - quite frankly - no one really cares.
As for the issue at hand, whenever you are going to access the file system, a remote server, access the clipboard and a handful of other "security" related issues, you must sign your applet.
Google for sun's tutorial on signing applets.

Similar Messages

  • Can you splice AUDIO files with QuickTime v10?

    I just upgraded from a G4 (non-intel) Power Book with QT v 7.7, to a new MacBook Pro with QT v 10.1. 
    My old G4's QT v 7.7 let me edit audio files - stitch and splice using cut and paste.  But QT v10.1 on my new MacBook Pro apparently will only let me "trim" audio clips - the other edit menu functions are grayed out.  So no splicing of two audio clips or removing an internal part of a clip.
    HELP says I can use those splicing functions for movie files (I assume that means strictly video), but is silent on audio-file splicing.... which is where my interest lies.
    Have I lost that audio editing capability by "upgrading"?    (QTv 7.2 won't run on the MacBook Pro.).  If so, is there another 3rd party app you'd recommend for this purpose? 
    It's a shame, actually - I was quite pleased with Quicktime as it was.

    QuickTime X (version 10 in Snow Leopard and 10.1 in Lion) can only "trim" audio files and the editing features you describe only apply to "videos".
    Snow Leopard and Lion users can use two different versions of QuickTime. Version 7.6.6 installs in the Utilities folder and your old Pro registration will enable the editing features you want for audio files.

  • How can you save a file with CS4 so that it can be opened with CS3?

    I fave a file that I have sent someone, but they can't open it because they don't have CS4. How can I save a file, using CS4, so that the file can be opened with CS3?
    Thanx

    From the help file: http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-655fa.ht ml

  • Can you export your files with the Trial Version??

    I've been into the help section, and it says to go to Share and then export ect ect, but when I clicked share, I can't click any of the options (theyre that light grey). I REALLY need to be able to export with this trial version I have, and soon. Please help!!

    Click in the timeline window to make sure it is the active windqw. The most common cause for grayed out share menu options is if you have the browser as the active window.

  • Can you open ID files with any other apps?

    I was a subcontractor for a printer. The printer's client requested the production files. I package the files. Five books. Each folder contains ID file, art, supplied word docs, and exported PDF. The client calls printer and says they all open but one. I open it, check it, email it. She calls me this morning to tell me the one file still won't open. I asked her what version of CS she has and she says she doesn't have InDesign. I tell her it's impossible to open ID file without ID. She goes off on me for questioning her, blah, blah, blah. Anyway, can someone tell me if it's possible she somehow opened the other 4 files somehow in some conversion app. The only thing I could think of is if they have QX and used markzware ID2QX plug in from within QX. I'm in the process of repackaging the files so all the ID files, PDFs, Word Docs, Art, Covers are all in separate folders.
    For the record, I opened all 5 ID files on my PC before sending to the client so the files aren't corrupt.

    My arrangement with this printer is that I surrender production files. Another part of the job was that I have to return LIVE paginated word docs to the client for future editing. In addition, the word docs are in Spanish and the client was very specific about page breaks. Furthermore, even though there are 5 books, I get Spanish word docs from 7 people. The word files come to me formatted. Almost as clean as my ID files would be. So I've been editing the word docs, exporting to PDF and placing those into ID.  I paginate and add art to fill in the holes as per sample books provided. So the layout files contain nothing but PDFs and filler art. It was the only way I could think of to give the client back word docs paginated specifically as they were given to me.

  • Can you open CSV-files with commas?

    It seems to me that we have something of a regression in Numbers 2.0 (part of iWork '09) - it (like Excel before it) no longer opens regular CSV-files.
    When I use the new Numbers to try to make a CSV-file, it'll actually use semicolons instead of commas, and any of my old CSV-files (like this one: http://d.ooh.dk/misc/postnumre.csv ) (with commas) will load all the values (and the commas) in a single column.
    I wonder if it's just me, or perhaps only a problem when using European notation (with comma as the decimal separator)?

    At last, Apple adopted the same behavior than Bento 1.
    When the decimal separator is the period, it works with standard CSV files.
    When the decimal separator is comma, it works with CSV using the semi-colon as item delimiters.
    To open your old CSV, set temporarily your system to a region whose decimal separator is period. Given that, Numbers will open them flawlessly.
    The ability to chose the separator (as it is now in Bento 2) would have been fine .
    Yvan KOENIG (from FRANCE dimanche 11 janvier 2009 20:30:03)

  • Can you write an excel file on client machine instead of on the server

    I am trying to user cfSpreadSheet functon. The first question I have is, can you write the file on a client machine? I tried but they all end up on the server drive. Scecond question, is there a way to do row and column range formating in CF9.0? SpreadsheetFormatCellRange function is only available for ColdFusion server version 9.01.
    Thanks.

    To expand on Dan's answer: CF doesn't have any interaction with the client browser at all: client->server comms are handled by the client and the web server; the web server simply asks CF to provide the response data if the file requested is a CF file.  But even then all CF does is process the requested file and return data to the web server.
    Also, one of the restrictions of the HTTP protocol is that that there is *no* *way* that the server can write to the client machine.  All it can do is send data to the client agent (eg: a web browser) in response to the client agent requesting it.  Can you imagine the sort of security problems one would open one's self up to if a remote web server could write to your PC????
    Adam

  • HT1553 Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!

    Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
    http://support.apple.com/kb/HT1553

    Repair permissions and restart your computer.  If this does not work, zap the pram.  You should now see your external hard drive. 

  • HT204053 Can you sync pages files on different devices with different apple ids?

    Can you sync pages files on different devices with different apple ids?  I have a personal iPad and one given to me for work. They are set up with two different apple IDs.  I do all of my lesson plans in pages.  I want to be able to create plans on both devices, but need to know if there is a way to sync the files without emailing, etc.

    Welcome to the Apple Community.
    No, that's not possible. A better way of working around this than emailing the documents to yourself is to use a third party storage solution such as Dropbox and a webDAV server to upload the documents.

  • Can you share large files on iCloud drive like dropbox?

    I am exploring how to use iCloud drive now...and had a basic question.  Can you share large files from it in a similar way as you can with dropbox?  This is a great feature of dropbox...or google drive when mailing large files just doesn't work. 
    I have a Yosemite beta currently, and it doesn't look like you can do this. 
    I also was wondering if anyone has figured out how to make an alias of the iCloud drive on the desktop rather than always opening a finder window in order to drop files into iCloud drive....
    Yosemite Beta and Mavericks, iMac 2012/Mac Pro/Mac book air

    I am exploring how to use iCloud drive now...and had a basic question.  Can you share large files from it in a similar way as you can with dropbox?
    Have a look at the iCloud Drive FAQ:  The file size limit is 15 G:   iCloud Drive FAQ     http://support.apple.com/kb/HT201104
    You can store any type of file in iCloud Drive, as long as it's less than 15 GB in size. There's no restriction on file type, so you keep all of your work documents, school projects, presentations, and more up to date across all of your devices. Learn more about managing your iCloud Drive files.
    If you make an alias to a folder on iCloud Drive, you can drag it to the Favourites in the Finder sidebar. That is the best I could do.

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • I can't open PDF files with adobe flash player

    I have installed it and whenever I try to open pdf files it says I need to agree with your liscens and you do that automatically when you download it. I have followed all your instructions on your website and uninstalled it and installed again, but I can't open pdf files with it. I don't know what the problem is exactly, but it's really frustrating..

    Flash Player CANNOT open PDFs because they AREN'T Flash Documents.
    Adobe Reader opens PDFs.
    To accept the license agreement (NOT the one you accepted to download or install - the one for USE)
    Windows:
    Go to: C/Program Files(x86)/Adobe/Reader 11.0/Reader and double click the eula.exe file. The license agreement will open for you to accept.
    Mac:
    Go to: Mac HD/Applications and double click the Reader app. The license agreement will open THE FIRST TIME you open it.

  • Can you open freehand files in CS6?

    can you open freehand files in CS6? I have been using both illustrator & freehand for 15 years & have thousands of work files being freehand.
    It seems very disappointing to have to keep an old version of illustrator just to open these files. I also find it interesting that many of the key tools that freehand had over illustrator are not translated into the newer versions of illustrator. Something simple like you still can't have a unique picture bullet • before text in illustrator. In freehand you could cut & paste any graphic into the text you were designing.

    saturn234 wrote:
    can you open freehand files in CS6? I have been using both illustrator & freehand for 15 years & have thousands of work files being freehand.
    No. The conversion plugin didn't make it into CS6 so the last import function was CS5.5 
    It seems very disappointing to have to keep an old version of illustrator just to open these files.
    At this point, it is the only way to make your files convert into Illustrator although I've had some luck with exporting to EPS or (if your FH graphics are simple enough) save as AI format. Keep your eyes on this project however : http://www.stagestack.com/
    I also find it interesting that many of the key tools that freehand had over illustrator are not translated into the newer versions of illustrator. Something simple like you still can't have a unique picture bullet • before text in illustrator. In freehand you could cut & paste any graphic into the text you were designing.
    As a fellow FreeHand user, I couldn't agree more. Other users of both programs have said this endlessly over the years here. A litany of features are still m.i.a. since FHMX was acquired years ago... including inline graphics. It's almost comical.

  • I can't read a file with the ext PDF the sender informed me that the file was reset to PDF.

    I can't read a file with the .ext PDF the sender informed me that the file was reset to PDF. But when I tried to open it the caption box informed me"the file is not in PDF format. I suspect the sender simply changed the file .ext which is why I can't open it! What can I do about it! I am working on an iPad.
    Thanks
    Mr Jim Lapthorn

    If the document is not, in fact, a PDF, then you will need to get your sender to provide a PDF.
    Can you open this document in any other application?

  • I can't open pps files with FF4. I have Powerpoint Viewer installedAny suggestions?

    I can open Powerpoint (pps) files with Google Chrome but not Firefox 4. How do I get FF4 to associate pps files with the Powerpoint Viewer that is installed on my computer?

    Many thanks!!!  This works and is probably the best fix for now.  Thank you!!!
    Date: Wed, 30 Jan 2013 10:58:01 -0800
    From: [email protected]
    To: [email protected]
    Subject: I can't open NEF files with PS Elements9 (Mac) and have just performed all avail. updates
        Re: I can't open NEF files with PS Elements9 (Mac) and have just performed all avail. updates
        created by 99jon in Photoshop Elements - View the full discussion
    For the D600 NEF's you have two alternatives: (1) Upgrade to PSE 11. (2) Download and install the free Adobe DNG converter to convert your raw files to the Adobe universal Raw format and the files will open in all versions of PSE (keep your originals as backups and for use in the camera manufactures software)  Windows download click here DNG Converter 7.3  Mac download click here DNG Converter 7.3  You can convert a whole folder of raw images in one click. See this quick video tutorial: You Tube click here for DNG Converter tutorial
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5034913#5034913
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5034913#5034913
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5034913#5034913. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for