Bit of a problem need some help please

import java.io.*;
class IO
public static void main(String args[])
String sOutString = "";
int iRecordLength = 0;
int iWork=0;
int[] array = new int[21];
try
// creat input file, buffer.
FileInputStream fis = new FileInputStream("myInFile.txt");
BufferedInputStream bis = new BufferedInputStream(fis);
DataInputStream dis = new DataInputStream(bis);
// Create an output
String fileName = "myOutFile.txt";
File myOutFile = new File(fileName);
FileOutputStream outStream = new FileOutputStream(myOutFile);
PrintWriter out = new PrintWriter(outStream);
out.println ("This is the header record");
String record = null;
while ( (record=dis.readLine() ) != null )
String sTest = "";
sTest = record;
if (iWork==0)
iRecordLength = sTest.length();
sOutString = sTest.substring(0, iRecordLength);
System.out.println(sOutString);
out.println (sOutString);
System.out.println(sTest.substring(0, 5));
out.close();
// System.out.print ("\n");
catch (IOException e)
System.err.println("File Error; " + e);
System.out.println("");
System.out.println("Ended");
System.exit(0);
// use get chars w substring
Ok theres my code what im trying to do is substring my in file so that it will take a section of it out and put the rest in
an out file. The problem is that my in file has a few lines and i do not know how to dubstrin g different linec can anyone help me?

Well,
I took the liberty of rewriting your code to make it readable, and expurgated most of the carp... what you've got there boils down to a really complicated-azzed implementation of cat.
package forums;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
class FileCatterator {
  public static void main(String args[]) {
    BufferedReader input = null;
    PrintWriter output = null;
    try {
      input = new BufferedReader(new FileReader("FileCatterator.java"));
      output = new PrintWriter(new BufferedWriter(new FileWriter("FileCatterator.txt")));
      String line = null;
      while ( (line=input.readLine()) != null ) {
        int len = line.length();
        String substring = line.substring(0, len);
        System.out.println(substring);
        output.println(substring);
    } catch (Exception e) {
      e.printStackTrace();
    } finally {
      if(input!=null)try{input.close();}catch(IOException e){e.printStackTrace();}
      if(output!=null)output.close();
}The substring doesn't do anything.
Now, What did you need it to do? Print the first so-many characters of each line or something?

Similar Messages

  • 865pe Neo2-V problem. need some help, please

    i clocked my CPU [email protected](box culer-40C idle) and i believe that i can raise FSB more but i have problem.my Kingmax(512ddr400) goes to 505 MHz, and i can't stop her. i can't put FSB/DRAM 1:1. it is allways 4:5. My old Transcend too. So it isn't memory. In BIOS i have options:
    ddr - 266/333/AUTO. i have tried 333 and AUTO and DDR is 4:5. Also, i don't know where i can turn off "performance mode".
    DDR modul is in slot1. I did not tryed to put him in slot2 or 3. Default timings are 2.5/3/3/7. i chosed 2.5/4/4/8.
    also, when i chose "by speed", BIOS do nothing, and latencies is like before i chose "by speed" so i need to chose 2.5/4/4/8 by myself.
    BIOS version is 6.1(latest)
    this is my stable selection:
    CPU - 3.33 GHz(18x185) - 38 C temperature now/ motherboard 29 C
    DDR - 462 MHz
    Thanks

    my memory now runs @ 1:1 after i chose option DDR 266 and my cpu goes @3.78!!!!!!!!. excelent.

  • Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute then turn on wifi on iMac before it can reconnect. Need some help please.

    Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute, then turn on wifi on iMac before it can reconnect. Need some help please.
    Already gone through troubleshooting guide a zillion times. Thanks.

    This worked for me... A little time consuming but once you get rolling it goes GREAT... Thanks....
    I got my artwork and saved it to my Desktop
    Opened up Microsoft Paint and clicked on "File" and "Open" and found it to get it on the screen to resize it
    Clicked "resize" and a box for changing it opened up
    Checked the box "Pixels" and "Unchecked maintain aspect ratio"
    Set Horizontal for 640 and Vertical for 480
    Clicked on "OK" and went back to "File" and did a "Save As" and chose JPEG Picture
    It came up "File Already Existed" and clicked "OK" (really did not care about the original artwork I found because wrong size)
    Went to iTunes and on the movie right clicked on "Get Info", clicked on "Details", then "Artwork"
    Go to the little box on the top left that shows your old artwork and click on it to get the little blue border to appear around it and hit "Delete" to make it gone
    Click on "Add Artwork" and find it where you put the one from above on your Desktop and hit "Open" and OK and your new artwork is now there and all good.
    Sounds like a lot of steps to follow but after around 5 or so you will fly through it. This worked perfect on my iPhone 6 Plus and I have artwork on my Home Videos now.

  • Hi! I got movies on my external hard drive that are AVI kind and won't play on my macbook pro? need some help please!!

    Hi! I got Movies on my external hard drive that are AVI kind and won't play on my macbook pro? When I start playing the movie a message pops up and says "a required codec is not available". I tried flip4mac, xvid, divx already and still not playing my video. need some help please!! thanks.

    Although vlc mentioned above is a much more powerful and better player you could try installing Perian if you insist on using the quicktime player.  It may supply the codec it needs.
    Not sure why you wouldn't be able to play straight avi files though in quicktime.

  • Ok I got my iPod from my brothers friend and my IPod says "iPod is disabled connect to iTunes" then my computer says cannot get onto iPod because I need the iPod passcode and of course I cannot put it in so I need some help please

    Ok i got my iPod from my brothers friend and my IPod says "iPod is disabled connect to iTunes" then my computer says cannot get onto iPod because I need the iPod passcode and of course I cannot put it in so I need some help please

    Try placing in DFU mode and then restoreing.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Beginner needs some help, please

    Hi
    I am new to java ( taking a class now ) and I need to solve this problem below: Can you please help me?
    I am using eclipse and I typed this but I don't know if it is right. English is not my native language so I am always confused about instructions
    public class random {
        public static void main(String[] args) {
            int i1 = 1;
            int i2 = 10;
            int m = (int)(i2*Math.random() )+ i1;
            int n = (int)(i2*Math.random() )+ i1;
            System.out.println(m);
            System.out.print(n);
    thank you very much

    English is not my native language so I am always confused about instructions
    That is what your instructor is there for.
    Ask the instructor to explain any of the instructions that you are 'confused' about.
    Please write a java class, which does the following things. (a) It reads two integers (X and Y) from the keyboard; (b) generate two random integers (m and n), such that X=<m<=Y and X=<n<=Y; (c) Print out the results of addition, subtraction, multiplication, division, and reminder of two random integers. The program is good if it’s easy to ready with comments and it has a user-friendly interface (give print out messages to end users).
    So review you code ask and ask yourself if it follows those instructions:
    1. Does it read ANYTHING from the keyboard?
    2. Does it generate two random integers that obey the rule you provided?
    3. Is your code easy to read and have comments?
    4. Does your code print out messages to the end user?
    For any NO answers to the above you need to fix the problem. Ask your instructor for guidance.

  • Need some help please, itunes 7.1 and Windows Vista

    Hello,
    I've got a bit of a problem here with itunes and my ipod nano.
    Basically I'm using Windows Vista Ultimate 32bit and when I connect my ipod to my PC the found new hardware wizard pops up but can never find the ipod nano.
    In disk management the ipod is showing up but in itunes its not.
    Could anyone advise on this please?

    A little update about this issue and it's good news. I've managed to get the ipod show up in disk management with the ipods name and when I open itunes and plug the ipod in, it pops up in itunes.
    Heres it is just like it should be, a result!
    http://img291.imageshack.us/img291/1293/untitled1ln0.jpg
    Basically what I did to fix this issue in Windows Vista was the following
    1.Click Start type run in the search bar and then msconfig.
    2.Click on the Services tab and "hide all Microsoft Services".
    3.Click Disable All for all the non Microsoft services that are showing.
    4.Click OK
    5.Click Restart.
    6.When your desk top loads up click OK for the msconfig menu which pops up.
    7.Open itunes and connect your ipod.
    It should now show it does for me.
    Now follow step 1 again and load all services as your pc would start normally again and reboot, again your ipod should show up now as it should.
    I hope that's useful if anyone else experiences the same.

  • I am the biggest "Newb" on this site,  and I really need some help please..

    Ok, the short of it.... I started training on Database programming about 2 weeks ago. I still don't really know a thing, or even understand the concepts. Now, my boss wants me to fix a bug in Oracle, and I haven't a clue. The ONLY help I've gotten was a link to this forum, and a speech about how I need to help myself. I told him I have the same chance of fixing anything, as monkeys typing hamlet. Anyone up for a challenge?
    When I go to Application System, then Application Entry and enter the password a dialog box appears.... "FRM-40039: Cannot attatch library Empower while opening from APPUSRAPP."
    That's what I have to fix. I have no clue. I don't even really know how to click around in this program. Please help, someone.
    UPDATE: I've been told that everyone's pretty much going to be a jerk to me for asking this, and I'm currently searching old threads and can't find a way to delete this one I posted. So, you could just ignore the post, or jump in and be the internet tough-guy and tell me what I already know.... I'm a newb.
    Edited by: user11033020 on Apr 14, 2009 11:41 AM

    As this appears to be a Forms error (the error begins with FRM) you might get a better response by posting this in the Forms forum:
    Forms
    The Community Feedback forum isn't meant for product-related questions (as it says in the title).
    Still, you should consider searching Metalink as well. If you've paid for support, you have every right to use it.

  • I am Student and having a huge problem need some help quick!!!

    Hello I am student in college and i am developing a file share portal for my final year project using Flex 3 on the client side, java on the server side, hibernate for ORM, Sping MVC and My Sql 5. I am having a bit of a problem parsing this:
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Filename"
    Flex3.txt
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="action"
    upload
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="file"; filename="Flex3.txt"
    Content-Type: application/octet-stream
    Flex 3 can be a pain in the arse!!!!!!
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4
    Content-Disposition: form-data; name="Upload"
    Submit Query
    ------------GI3ae0ae0ae0GI3KM7KM7Ef1cH2ei4--
    This is my Java code:
    package com.file.exchange.service;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import java.io.*;
    import java.sql.Blob;
    import com.file.exchange.vo.Files;
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.File;
    import org.apache.commons.fileupload.*;
    import org.apache.commons.fileupload.disk.*;
    import org.apache.commons.io.*;
    import org.apache.commons.fileupload.servlet.*;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.ListIterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.ImageInputStream;
    import org.apache.commons.fileupload.util.FileItemHeadersImpl;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class FileUpload extends FileBaseService
         InputStream in = null;
         OutputStream out = null;
         ByteArrayOutputStream bout = null;
         @SuppressWarnings("unchecked")
         @Override
         protected String getXmlFromOperation(HttpServletRequest request,HttpServletResponse response) throws Exception
              int readBytes = -1;
    int length = request.getContentLength();
    in = request.getInputStream();
    byte[] buffer = new byte[length];
    bout = new ByteArrayOutputStream(length);
    while((readBytes = in.read(buffer, 0, length)) != -1) {
    bout.write(buffer, 0, readBytes);
    byte[] inData = bout.toByteArray();
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");
    for(int i=0; i<inData.length; i++)
    fos.write(inData);
    fos.close();
              DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
              Date date = new Date();
              String data = "Hello";
              String id = "1";//getCharacterDataFromElement(vID);
              String name = "meh";//getCharacterDataFromElement(vname);
              String type = "1";//getCharacterDataFromElement(vtype);
              String size = "5555";//Long.toString(fileObject.length());//getCharacterDataFromElement(vsize);
              Blob content = org.hibernate.Hibernate.createBlob(data.getBytes());//fisFile);//data.getbytes[]
              String date_uploaded = dateFormat.format(date);
              Files file = getFileDao().uploadFile(Integer.parseInt(id), name, type, Integer.parseInt(size), content, date_uploaded);
              return file.toXml();
    I will so grateful if somebody could point me in the right direction with this or point me to possible examples of parsing this!
    Thanks

    Let me warn you up front: never mark your questions as urgent. People really don't care how urgent it is to you, and will likely only irritate them enough to not want to help you. Lucky for you, I couldn't care less ;)
    you seem to want to get an uploaded file using FileUpload. Did you see the user guide on how to do this? You seem to be going about it in completely the wrong way.
    [FileUpload user guide|http://commons.apache.org/fileupload/using.html]
    Also:
    FileOutputStream fos = new FileOutputStream("C:/Documents and Settings/Andrew Hobbs/Desktop/helloworld.txt");Hardcoded paths in your code? Not very portable is it. I would define paths in a properties file. Read this:
    [smartly loading properties|http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html]

  • 2100 WLC 1130 APs - need some help please

    It's been about 5 years since I took my CCNA course and could use some help on a wireless set up for church.
    We have a Catalyst 3550 that is running fine, just a few VLANs, including 30 for public wireless.  I've then got a 2100 WLC and (3) 1130 AP's.  After much head banging, I've got the WLC set up correctly (i believe)
    VLAN 30 is a 10.0.3.x segment
    switch is 10.0.3.1
    WLC mgmt interface is 10.0.3.20 - connected to the switch on port 1
    WLC ap mgmt interface is 10.0.3.21
    APs pull 10.0.3.30, 31,32. - they are plugged directly into the switch
    I can obviously see the APs while in the WLC GUI. 
    The AP's SSID don't show up wirelessly.  The AP's circle is red/orange
    The detail on the AP in the WLC shows them operationally down.
    What additional information can I provide?
    Much thanks.

    flashfs[0]: 28 files, 8 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 15998976
    flashfs[0]: Bytes used: 6973952
    flashfs[0]: Bytes available: 9025024
    flashfs[0]: flashfs fsck took 28 seconds.
    Base ethernet MAC Address: 00:0a:b8:12:30:3c
    Initializing ethernet port 0...
    Reset ethernet port 0...
    Reset done!
    ethernet link up, 100 mbps, full-duplex
    Ethernet port 0 initialized: link is up
    Loading "flash:/c1130-k9w8-mx.124-23c.JA4/c1130-k9w8-mx.124-23c.JA4"...#########
    File "flash:/c1130-k9w8-mx.124-23c.JA4/c1130-k9w8-mx.124-23c.JA4" uncompressed a
    nd installed, entry point: 0x3000
    executing...
                  Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
               cisco Systems, Inc.
               170 West Tasman Drive
               San Jose, California 95134-1706
    Cisco IOS Software, C1130 Software (C1130-K9W8-M), Version 12.4(23c)JA4, RELEASE
    SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2012 by Cisco Systems, Inc.
    Compiled Fri 27-Jan-12 19:52 by prod_rel_team
    Proceeding with system init
    Proceeding to unmask interrupts
    Initializing flashfs...
    flashfs[1]: 28 files, 8 directories
    flashfs[1]: 0 orphaned files, 0 orphaned directories
    flashfs[1]: Total bytes: 15740928
    flashfs[1]: Bytes used: 6973952
    flashfs[1]: Bytes available: 8766976
    flashfs[1]: flashfs fsck took 4 seconds.
    flashfs[1]: Initialization complete....done Initializing flashfs.
    Radio0  present A506 7100 E8000000 A0000000 80000000 3
    Radio1  present A506 6700 E8000100 A0040000 80010000 2
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    cisco AIR-LAP1131AG-A-K9   (PowerPCElvis) processor (revision A0) with 27638K/51
    20K bytes of memory.
    Processor board ID FTX1027T1S2
    PowerPCElvis CPU at 262Mhz, revision number 0x0950
    Last reset from power-on
    LWAPP image version 7.0.230.0
    1 FastEthernet interface
    2 802.11 Radio(s)
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: 00:0A:B8:12:30:3C
    Part Number                          : 73-8962-09
    PCA Assembly Number                  : 800-24818-08
    PCA Revision Number                  : A0
    PCB Serial Number                    : FOC102618H2
    Top Assembly Part Number             : 800-25544-06
    Top Assembly Serial Number           : FTX1027T1S2
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-LAP1131AG-A-K9
    % Please define a domain-name first.
    Press RETURN to get started!
    *Mar  1 00:00:05.580: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self t
    est passed
    *Mar  1 00:00:07.185: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self
    test passed on interface Dot11Radio 0
    *Mar  1 00:00:08.783: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self
    test passed on interface Dot11Radio 1
    *Mar  1 00:00:08.860: %LWAPP-3-CLIENTEVENTLOG: Read and initialized AP event log
    (contains, 135 messages)
    *Mar  1 00:00:08.889:  status of voice_diag_test from WLC is false
    *Mar  1 00:00:10.995: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to
    up
    *Mar  1 00:00:11.052: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1130 Software (C1130-K9W8-M), Version 12.4(23c)JA4, RELEASE
    SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2012 by Cisco Systems, Inc.
    Compiled Fri 27-Jan-12 19:52 by prod_rel_team
    *Mar  1 00:00:11.053: %SNMP-5-COLDSTART: SNMP agent on host CenterHall is underg
    oing a cold start
    *Mar  1 00:00:11.133: %CAPWAP-5-CHANGED: CAPWAP changed state to DISCOVERY
    *Mar  1 00:00:11.312: %SSH-5-ENABLED: SSH 2.0 has been enabled
    *Mar  1 00:00:11.312: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:00:11.312: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:00:11.552: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to r
    eset
    *Mar  1 00:00:11.552: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to r
    eset
    *Mar  1 00:00:11.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
    et0, changed state to up
    *Mar  1 00:00:12.316: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio
    0, changed state to down
    *Mar  1 00:00:12.316: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio
    1, changed state to down
    *Mar  1 00:00:19.436: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0 assigned D
    HCP address 10.0.3.30, mask 255.255.255.0, hostname CenterHall
    *Mar  1 00:00:29.995:  status of voice_diag_test from WLC is false
    *Mar  1 00:00:30.070: Logging LWAPP message to 255.255.255.255.
    *Mar  1 00:00:30.123: %CDP_PD-2-POWER_LOW: All radios disabled - HIGH_POWER_CLAS
    SIC_NOT_CONFIGURED WS-C3550-12T (000a.8a97.f785)
    *Mar  1 00:00:31.123: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 255.255.255.
    255 started - CLI initiated
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (8.8.8.8)
    Translating "CISCO-LWAPP-CONTROLLER"...domain server (8.8.8.8)
    *Feb 11 15:46:42.000: %CAPWAP-5-DTLSREQSEND: DTLS connection request sent peer_i
    p: 10.0.3.21 peer_port: 5246
    *Feb 11 15:46:43.000: %CAPWAP-5-CHANGED: CAPWAP changed state to
    wmmAC status is FALSE
    *Feb 11 15:46:44.672: %CAPWAP-5-DTLSREQSUCC: DTLS connection created sucessfully
    peer_ip: 10.0.3.21 peer_port: 5246
    *Feb 11 15:46:44.674: %CAPWAP-5-SENDJOIN: sending Join Request to 10.0.3.21
    *Feb 11 15:46:44.674: %CAPWAP-5-CHANGED: CAPWAP changed state to JOIN
    *Feb 11 15:46:45.449: %CAPWAP-5-CHANGED: CAPWAP changed state to CFG
    *Feb 11 15:46:45.718: %CAPWAP-5-CHANGED: CAPWAP changed state to UP
    *Feb 11 15:46:45.767: %CAPWAP-5-JOINEDCONTROLLER: AP has joined controller grace
    wireless
    *Feb 11 15:46:45.815: %LWAPP-3-CLIENTEVENTLOG: SSID GUMC_Guest added to the slot
    [0]
    *Feb 11 15:46:45.818: %LWAPP-3-CLIENTEVENTLOG: SSID GUMC_Guest added to the slot
    [1]
    *Feb 11 15:46:45.834: %WIDS-5-ENABLED: IDS Signature is loaded and enabled
    User Access Verification
    Username: Cisco
    Password:
    CenterHall>

  • Really really need some help please.

    lost all my audio. nothing plays anymore. cant even hear the trash empty any more. no itunes, nothing. no dvd audio. also noticed itunes wont play songs anymore, progress bar just sits there. also movies on youtube dont play anymore. when i try to turn up audio i get a zero symbol with a slash thru it. im stumped. help please. thanks

    Whatever has happened, I've assumed it just happened and is systemic.
    To start: Go to Applications/Utilities and run Disk Utility, select your startup drive, and click on the Repair Permissions button at the bottom of the window.
    If that works, you're done, if not, pull out your Tiger startup DVD, insert it, select the Installer, and Restart your Mac from the DVD. When you get to the installer screen, go to the menus at the top of the screen and select Disk Utility, and this time click on the Repair Disk button. This will check your file system integrity and repair it.
    When you've done that, post back.
    If those don't work, you may need to do an Archive & Install, from this same DVD. This will preserve your accounts/apps/data, but will require you to repeatedly run Software Update to bring everything current again.
    Good Luck...

  • DVI to TV problem. I need some help please

    OK, Im running a MAcbook pro latest OSX all updates etc... In the past i have been able to plug in the adapter to the DVI and run on end of an RCA cable out of it to the RCA video in on any tv. I would normally just hit f7 and the display would be seen on the tv. The problem is now I can get a picture on the tv what so ever. I have tried the detect display feature and no luck. I have tried multiple tvs and cables..no luck....
    No when i connect to an external computer monitor using the other DVI adapter everything is fine on the external monitor.
    I believe the problem started when I hooked up the external computer monitor. It seems some setting has changed that will only recognize the the computer monitor.
    I don't think its the DVI to to tv adapter having a problem as it's newer..never been abused or anything like that... Im very confused and frustrated any help would be appreciated
    thanks
    psp

    This means that the phone was previously unlocked by unauthorized methods and becomes re-locked whenever you update or restore the iOS. 
    Only the original carrier can unlock your phone by authorized means that will be permanent.  Many carriers do not offer unlocking, particularly if you don't have an account with them.

  • Problems with 10.7.X - need some help please

    Where to begin???
    New mac mini with 10.7.x
    Double clicking the top of the window won't collapse window like in previous versions.
    Double clicking on a folder that is on the desktop opens behind the hard drive window.
    When restarting or logging back in, all my icons are in a different place (scattered) than where they were when logging out or shutting down. This is in reference to my hard drive window. I have everything there on icon view. All other sub folders are list view, no problems with those. How do I get 10.7.x to remember the window view?
    I imported all my mail and mailboxes and sorted them where I wanted them from a mac mini running 10.4.11 and at the next restart they were all back where  they were before I sorted them. I even threw out mailboxes that I didn't need anymore and they reappeared.
    I am so confused. I almost feel like a bought a pc with a MS operating system.
    And God forbid I need to reinstall the system, there is no way to do that because there is no dvd, let alone a dvd drive. And no I didn't sign up for icloud.
    I know I sound kind of pi$$y, but I am frustrated and don't have a lot of time to devote to getting this straightened out.
    I would really appreciate some assistance.

    dnorth12 wrote:
    And God forbid I need to reinstall the system, there is no way to do that because there is no dvd, let alone a dvd drive.
    But there is a Recovery HD for just that purpose. 
    For some other things you may stumble over, see:  Changes in Lion from Snow Leopard.

  • Hello! I need some help please.

    Hi there! My problem is the following. As i want to turn the internet sharing on combined with a security password a little window comes up and says : system preferences wants to make changes, put your password in order to do so. The thing is that i have absolutely no idea which password is that i have to put! So now my system preferences is locked! If i want to make changes i have to unlock it! Please, it would be great if someone helped!
    Sorry for my english btw.

    No, it's quite easy to do. If you're running Lion or Mountain Lion, that is. You don't mention which version of OS X you're running. If using Lion or Mountain Lion, simply reboot and hold down the Command and R keys at startup. This will take you to your Recovery Partition.
    From the Utilities menu, select Terminal and type
    resetpassword
    A small app will open allowing you to reset the password for any user that you choose. Type in the password twice and remember to give yourself a 'hint'.
    You need an admin password to do just about anything. Maybe write it down somewhere so you won't forget it.
    Clinton

  • Just got a new printer and i,m new to all this and i need some help please

    Hello everyone since i,m new here and i,m trying to fined out how to fined how to get the printer claim code for my new printer as this is my first time useing 1 please could someone help me fined it as its doing my head in.
    My printer is a HP Deskjet 1510 All-in-one series . Thank you

    Hi,
    Is this the one ?
        http://h10025.www1.hp.com/ewfrf/wc/document?cc=au&​lc=en&docname=c03775352#N132
    No, it doesn't have claim code. Only printers with ePrint enable/ready have claim codes.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for

  • How do I get the byte size of a server file before sending output via HTTP?

    I need to get the byte size of the file prior to streaming it. I can't seem to find a class/method I need. Basically, I have the path c:\\tomcat\\webapps\\documents\\sample.pdf in the servlet, I was hoping I could just use something from the File cla

  • NWDS  - Process Composer import Diagram

    Hi at all, with BPMN I modeled a Process in Intalio BPMS. Afer modelling I exported the Diagram as an Archive and tried to import it in NWDS Process Composer. This didn't work.  Both programs are based on eclipse. Does anybody have an idea how I can

  • All jpgs open in elements 4.0

    I did a computer restore and reinstalled  Photoshop Elements 4.0  Every jpg from all my folders now opens in elements. I have uninstalled and reinstalled Elements multiple times trying to correct the problem with no results. TIA

  • DMS Error in checking and storing

    Dear Sir While attaching document and retriving it to open we receive above error. regards kunal

  • Update date approaching want some help before going into store

    Hi my renew date is approaching (22nd of this month) I currently have 3 phones on my family plan 1 of which I do not want to have removed and have my current plan downgraded as I wont need as many minutes should this create any problems when I go to