a fix for cd/dvd, reading and writing editor version 2.1.2.20101104 microsoft Corp. package.

need to find a place I can get for free a low load to solve this problem by car. have not installed any new programs. don't know when it happened .cant cd/dvd playback now.

Hello

·         What is the exact error message?

·         Were there recent changes made on the computer before the show?

Follow these methods and check if that helps:

Method 1:

I suggest you follow the troubleshooting steps form the article and check if it helps.

How to troubleshoot common problems that occur when a Windows XP-based computer cannot read a CD or DVD

http://support.Microsoft.com/kb/321641

Method 2:

Also run the fix it tool and check if it helps:

Your CD or DVD drive cannot read or write media

http://support.Microsoft.com/mats/cd_dvd_drive_problems

Tags: Windows

Similar Questions

  • simultaneous reading and writing files TDMS

    A customer had a program written in 8.6; the programmer is no longer available and I'm looking to debug intermittent problems.

    N - channels of data is acquired and streamed to a PDM file. The operator can select a channel to view data in real time, but the display is one scope table displaying 15 seconds worth of data and when switching of channels the program "returns" display with the last 15 seconds of a data value of the new string (barrier data extracted from the TDMS file).

    What I notice here, aside from using sloppy cluster error, is that both references are open in the file - one for writing data and the other for recovery data. Is this a good practice? is it necessary or one reference supports the reading and writing? Is this a possible source of problems?

    thanx

    lmd2

    You can do the same thing with a single file reference.

    The issue of not being able to see the data that was written after the reading of reference has been opened is known for having refnums to open in two different processes, but not in the same executable or VI.

    Herbert

  • Reading and writing data XML of BC4J

    Hello!

    I try to reproduce "27.7 reading and writing XML data" chapter of 'Developer Framework of developing applications for forms/4GL developers's Guide. "
    Our intention is to read and write at first only XML.
    However, it seems that we need this chapter a database connection.
    To shorten this assessment - is it possible to adf bc only with xml?

    Kind regards
    Torsten

    The solution is described in "27.8 Using programmatic view objects from other Sources of data" in the doc you mentioned. If you use programmatic EO/VO you can do almost what you what to store data. We use xml for some data (but always store in the DB) and read it.

    Timo

  • simultaneous reading and writing on a PDM file

    I found similar discussions on here, but none that satisfied my problem. I'm running several loops within a vi, which writes data in a permanently .tdms file. Another loop to finish its task from the start in a test, and I want to transition this loop so that it accesses the file writing and started writing on a network. It also enables me to check that the data is being stored in the file and that it is corrupt.

    I started with just the basics, but when I pass the second loop to read the file that is is always written off mistakes, saying that she met at the end of the file. It does if I put the count 1, -1 or anything in between. It illuminates, however, the end of the file output.

    I have the entry in the file tdms on PDM read wired to a local variable, just as I do writing PDM, they all have both read the same thing and I get an iterations of a data value of the reading, so, apparently, file access is no problem. And I have to someone who cringed to local variables, ensure that reading and writing are not activated until the local variable is updated.

    Try to set the "group name" entry on «TDMS read» If you write more than one group, you can use "View the contents of the DDHN" in order to get a list of groups.

    Herbert

  • Is there a fix for when the reader changes all my program icons?

    Is there a fix for when the reader changes all my program icons?

    See http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • Mr. Fix it cannot fix the DVD/CD, reading and writing problem

    I had a problem a few months ago this onc I put a CD in the CD/DVD drive, it can't read and rejected and ask to put a readable CD, then I run Mr. Fix and the problem disappeared. recently just the same problem, I tried Mr.Fix but it cannot solve the problem, then it is there another way to solve the problem

    Best regards

    Ramzi salameh

    Hello

    Step 1: Please do all the same underneath if you did some before as it is often the set of operations which solves the problem.

    Try this double click Control Panel - Device Manager - CD/DVD - device - tab - click on update drivers (this will probably do nothing) - then RIGHT click the drive of the driver - UNINSTALL - REBOOT this will refresh the default driver stack. Even if the reader does not appear to continue below.

    Then work your way through these - don't forget the drive might be bad, might have a cable loose or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs - a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables at both ends. Remove and replace, do not just tight. For laptops, you can often clean power and contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the system manufacturer and the manufacturer of the device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (burn CD & DVD and CD and DVD read). Therefore, it is not unusual for 1 or 2 rooms with not so work that others do it properly.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are some entries in the registry that the troubleshooter does not solve, and those who "could" be the cause.

    Check with your system manufacturer Maker and device for possible firmware updates and the correct registry entries for your car.

    These are the keys in my opinion, are those in question - secondary-keys for the CD/DVD drive of course because there will be other subkeys in these keys. Be sure to ask specific keys involved as well as the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more information here and maybe even registry settings correct for your CD/DVD from someone with the same drive model.

    Forums - much real experts help and hardware information
    http://Club.myce.com/

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" and="" devices="" for="" it :="" bicycle="" -="" mark="" twain="" said="" it="">

  • My reading and writing system does not recognize the DVD. For this CD. I don't know why.

    For a long time my system CD/DVD in my laptop Del Estudio 1537 worked perfect. But all of a sudden my computer does not recognize or read or burn DVDs. Can you help me fix this problem?

    Hello

    You have disk problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD burning and)
    Playback of CD and DVD). So it is not unusual for parts from 1 or 2 to not work so that others do
    correctly.

    Burning at low speed, or by using the master could help. A CD/DVD cleaner might help.

    Brand of the CD or DVD drive can also be the problem. Low quality (cheap brands) are always problematic.

    CD/DVDs have a tolerance + - and your can read/write on the edge outside these discs
    tolerances. They may be delivered, but it is generally more economical to replace the disk.

    Several good info here:
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Notes on the troubleshooting and repair of readers of compact disks and CD-ROM Drives
    http://www.repairfaq.org/repair/F_cdfaq7.html#CDFAQ_014

    ===========================================

    This troubleshooting could not help if there is alignment and/or wear issues however it
    a shot.

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double click on the device - driver tab.
    Click on update drivers (this will probably do nothing) - RIGHT click ON the drive - uninstall.
    RESTART this will refresh the default driver stack. Even if the reader does not appear to continue
    below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other programs-
    a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to
    for Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error in Windows
    Vista installation after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD
    Burn and CD and DVD read). So it is not unusual for 1 or 2 operational so that other parts
    do it right.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    the entries in registry that the troubleshooter does not solve and those who "might" be the cause.

    Check with your Maker system and a device for the two possible firmware updates and
    the correct registry entries for your car.

    Here are the keys that I of course are those in question - for the subkeys of the CD/DVD drive
    as there will be other subkeys in these keys. Do not forget to ask specific keys involved as well as
    the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even the exact registry for your CD/DVD settings
    drive from someone with the same model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager, which displays all the
    devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP - Windows Expert - consumer: bike - Mark Twain said it right.

  • Why my drive hard Boot keep reading and writing for 20 minutes after the start?

    As the title says my HDD Boot continues to read and write for about 20 minutes after the start. Read and write up to 10 GB in the process. I would say a good way to destroy a disc. I have not seen this behavior in any other OS.

    10.10.5 OS version

    Model: Mac Pro

    ID: MacPro3, 1

    Processor: Intel Quad-Core Xeon

    Number of processors: 2

    Total number of cores: 8

    (Vivid RAM) memory: 8 GB

    Any help will be greatly appreciated.

    Thank you.

    Check Console.app and see what happens.   Could be something of a time Machine for Spotlight indexing to a process of runaway of an OS X or a bug in the application.

  • What is error 39 in reading and writing media and how can I fix this windows xp

    I / ve worked with a compaq pc and when I look at my device manager my read and write devices has a yellow flag on them. I uninstalled sought a driver more recent all posible so far. the computer reads the plug and Play, but then I get this error 39 thing. I'm no guy warned, but I can read instructions. CAN SOMEONE PLEASE HELP. IT WILL BE GREATLY APPRECIATED.

    http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us

  • Satellite A300-146 - CD/DVD read and write the question

    I have Toshiba Satellite A300-146, model No.: PSAJ0E, 1 GB of RAM, Intel Dual core 1.87 processor, chipset Mobile Intel (r) 965 family
    I use the windows7 RC version.

    My DVD burner does not work correctly.

    (* 1) not read 700 mb CD and don't read do not more DVDs.*
    A few months ago he read sony DVD, read all CD and dint read some local DVD. Now, it is not read sony DVD and and all the CD that I used. But reads the local DVD...

    (* 2) a few times it can write DVD but most of the time this is not not writing DVD Nero 7 display of 100%, but the DVD is not written anything.*

    I use Vista drivers for my Window 7 operating system...

    3. should I install windows 7 drivers... ?

    4. are there specific drivers for DVD player. ?

    Experts or those who have recovered from the same problem. Please help me.

    Thanks in advance.

    Hello

    Maybe your CD/DVD drive becomes faulty... What do you think?

    But before you think to a new disk, you must remove the server - and lowerfilters in the registry. You can follow the workaround from Microsoft:
    http://support.Microsoft.com/kb/314060

    Also, make sure that the CD/DVD drive lens is clean. You can use a microfibre cloth to clean. This rag doesn't scratch the lens.
    Check this box!

    Finally and above all, there is no special driver for CD/DVD drive. It s a part of t Windows and can be updated.

  • TSST corp CDDVDW TS-L633B stopped reading and writing

    I have a laptop Acer 4736Z with a TSST corp CDDVDW TS-L633B DVD - RW, so decide simply ceased to read and write DVDs and CDs. When I insert a blank dvd, it will ask me to burn files to it but when I do, it complements the habit and will the useless DVDs. When I insert CD or DVD, the drive does not read it more.

    Please help me on how to solve this problem.
    Thank you

    Hello

    You have disk problems as the CD/DVD is actually 4 discs in 1 case (CD & DVD burning and)
    Playback of CD and DVD). So it is not unusual for parts from 1 or 2 to not work so that others do
    correctly.

    Burning at low speed, or by using the master could help. A CD/DVD cleaner might help.

    Brand of the CD or DVD drive can also be the problem. Low quality (cheap brands) are always problematic.

    CD/DVDs have a tolerance + - and your can read/write on the edge outside these discs
    tolerances. They may be delivered, but it is generally more economical to replace the disk.

    Several good info here:
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Notes on the troubleshooting and repair of readers of compact disks and CD-ROM Drives
    http://www.repairfaq.org/repair/F_cdfaq7.html#CDFAQ_014

    ===========================================

    This troubleshooting might not help if there are problems of alignment and wear it
    is worth it.

    Step 1: Please do all the same underneath if you did some before as is often total
    a process that solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double-click the device - driver
    Tab: click on update drivers (this will probably do nothing) - then do a CLICK RIGHT to the road.
    UNINSTALL - REBOOT this will refresh the default driver stack. Even if the disc is not
    shown continue below.

    Then, work your way through these - don't forget the drive might be bad, could be a coward
    cable or slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    Try this fix manually if the Fixit 314060 does not work
    http://www.pchell.com/hardware/cd_drive_error_code_39.shtml

    Your CD or DVD drive is missing or is not recognized by Windows or other
    programs - a Mr Fixit
    http://support.Microsoft.com/kb/982116

    The CD drive or the DVD drive does not work as expected on a computer that you
    upgrade to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the
    Setup Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Hardware devices not detected or not working - A Mr Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    Another possibility is that the cables are loose. Remove ALL power, then check
    in both ends of the cables. Remove and replace, do not just tight. For portable computers, you can
    Often, clean power and contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the system
    Designer and manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    ===============================

    Step 2: You have disc problems as the CD/DVD is actually 4 discs in 1 case
    (Read burn CD & DVD and CD and DVD). It's not unusual for 1 or 2 parts to not
    function, while others do so correctly.

    Did you follow the Troubleshooting Guide for the reader who still does not work? There are
    some registry entries that do not fix the resolution of problems and those who 'could' be the
    cause.

    Check with your system manufacturer Maker and device for these two possible firmware updates
    and the correct registry entries for your car.

    Here are the keys in my opinion, are those in question - for the subkeys of the CD/DVD drive
    of course there will be other subkeys in these keys. Do not forget to ask specific keys
    in question as well as the parameters.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum\IDE

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\ {4D36E965-E325-11CE-BFC1-08002BE10318}

    -----------------------------------------------------------------------

    You can probably find more info here and maybe even right for registry settings
    your CD/DVD from someone with the same drive model.

    Forums - a lot of expert real help
    http://Club.myce.com/

    CD/DVD units
    http://www.myce.com/storage/

    Use DevManView to locate the CD/DVD in the registry (be careful and do a prior Restore Point)
    nothing change) - find the DevManView device and then make a right click on it free in RegEdit.

    DevManView - free - an alternative to the standard Windows Device Manager,
    that displays all devices and their properties in flat table, instead of the tree viewer
    http://www.NirSoft.NET/utils/device_manager_view.html

    I hope this helps.

  • Reading and writing VISA function

    Hi all

    I am trying to record data from Server series (which has 16 ports) through com ports (I use total 7 ports).

    Here, I'd understand the VISA service.

    Question 1

    If I want to just save data (from the server), can I still write VISA function to read from COM1?

    Or

    Can I just use VISA based only on read and read the string of com port data?

    Question 2

    After I save data of type string, I'll save in a text file.

    But what I see inside the save file is just a raw string of data (which I can't read).

    How to cut data type string in different reading (different record like the tension, the ammeter reading and on/off switch)?

    Please advise...

    Question 1 – it depends on what is the other end of the serial port. If it's broadcasting data all the time, a reading is all you need. If she needs a command to send you information, then you will need both. Look at the definition of communication protocol for what you are trying to read.

    Question 2 - do you need to format. There are a lot of string screws on the palette of the string manipulation, not knowing how the string is formatted at all to start I can not give you advice more than that. An example of the way you write to file, and what you do with the data received can be useful... If the data is coming from a long series, if all goes well there are separators and a chain analysis helps you to highlight if you need to. If you read each port in turn and concatanting just a string, put a constant of the tab between them (available on the palette of strings), or no matter what other delimiter you want to use for that matter. Otherwise, if they are all in the field of fixed-length subset of string vi could be a way to go.

  • Aspire laptop DVD player GONE! SlimType DVD A D58A4SH need a fix for this DVD player

    Is there a fix out there for a problem loading the driver for CD/DVD Acer Aspire of the laptop drive?  I have the Aspire 5334 with DVD Super Multi DL drive.

    I have a Slimtype DVD A D58A4SH player. He worked for a short time when I got the notebook and then it stopped completely.  There was an exclamation point on the list of devices and when I checked to see if the pilot that it has been updated, he said it was the last updated, etc.  BUT still does not.  I tried to roll back - which did not work.  So I uninstalled the drive completely.  Did a restart and it recognizes the DVD drive and started to install the driver for it.  Says the driver installation failed.  The dvd player is no longer listed in Device Manager.  I tried to go to the download page of support/driver from the Acer website for this brand and the computer model - it does not list DVD drivers at all.   So now I'm confused.  It was a Christmas gift from 2011. So I think that the warranty has expired.  So I'm pretty ticked if I need to replace a failed drive which is just came out barely a month outside the warranty of the year.  Someone out there who has a fix for this problem it will be greatly appreciated.  Thank you.

    I found a FIX for this problem!  Yay!

    I had an error Code 39 and did a search on the Microsoft Web site.  Here is the link.  I followed the "method 2" and it worked Finally, got my rear DVD player. Phew!

    I hope this helps others with the same problems:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-hardware/DVDCD-ROM-drive-code-39/a79de01...

  • reading and writing to the file on SD card

    I am currently using this code to read and write to files (credit is not because of me - I found these on the Board somewhere):

       private void writeFile(String data, String filePath)
        {
            try
            {
                FileConnection conn = (FileConnection)Connector.open(filePath,Connector.READ_WRITE);
                if (!conn.exists())
                {
                    Dialog.alert("No File Present Click to Create");
                    conn.create();
                }
    
                OutputStream out = conn.openOutputStream();
                byte[] b = data.trim().getBytes();
                String sb = new String(b);
                System.out.println("Bytes to String: " + sb);
    
                if(sb.length() == 0 )
                    System.out.println("String length is zero");
                else
                    System.out.println("String length is not zero" + sb.length());
    
                if(conn.canWrite())
                {
                    Dialog.alert("Writing");
                    out.write(b,0,sb.length());
                }
                else
                    System.out.println("Cannot write to this file");
    
                System.out.println("File Size is : "+ conn.fileSize());
                out.flush();
                out.close();
            }
            catch(Exception io)
            {
                test.setText("Exceptino Thrown from File" +io);
            }
    
        }
    
        private String readFile(String filePath)
        {
            try
            {
                FileConnection fconn = (FileConnection)Connector.open(filePath, Connector.READ);
                if (fconn.exists())
                {
                    InputStream input = fconn.openInputStream();
    
                    ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    int j = 0;
                    while((j=input.read()) != -1) {
                        baos.write(j);
                    }
                    byte[] data = baos.toByteArray();
                    input.close();
    
                    String output = new String(data);
                    System.out.println("Output" + output);
    
                    fconn.close();
                    return output;
                }
                else
                {
                    System.out.println("File does not exist");
                    fconn.close();
                    return null;
                }
            }
            catch (Exception ioe) {
    
               System.out.println("Error:   " + ioe.toString());
               return null;
            }
    
        }
    

    When I try to write a string to a file and then read it again, I get a NullPointerException. When I check the folder that mimicks card SD card on my pc, there is no file created. is the above code ok?

    P.S. I use a simulator of the OS 5.0 and the SD card directory is configured to be somewhere on my desk.

    It is incredibly baroque and inefficient code for a simple job; be happy that you do not claim credit for it.

    A problem may be that the FileConnection in writeFile is not closed. I would rewrite the mess like this (leaving a part of the diagnostic output):

    private void writeFile(String data, String filePath) {  data = data.trim();  OutputStream out = null;  FileConnection conn = null;  try {     conn = (FileConnection) Connector.open(filePath,Connector.READ_WRITE);    if (!conn.exists()) {      conn.create();    }    OutputStream out = conn.openOutputStream();    // it might be advisable to specify an encoding on the next line.    out.write(data.getBytes());  } catch (Exception io) {    test.setText("Exception Thrown from File " + io);  } finally {    if (out != null) try { out.close(); } catch (IOException ignored) {}    if (fconn != null) try { fconn.close(); } catch (IOException ignored) {}  }}
    
    private String readFile(String filePath) {  String result = null;  InputStream input = null;  FileConnection conn = null;  try {    fconn = (FileConnection) Connector.open(filePath, Connector.READ);    if (fconn.exists()) {      input = fconn.openInputStream();      byte[] bytes = IOUtilities.streamToBytes(input);      // it might be advisable to specify an encoding on the next line.      result = new String(bytes);    } else {      System.out.println("File does not exist");    }  } catch (Exception ioe) {    System.out.println("Error: " + ioe.toString());  } finally {    if (input != null) try { input.close(); } catch (IOException ignored) {}    if (fconn != null) try { fconn.close(); } catch (IOException ignored) {}  }  return result;}
    
  • Reading and writing Excel File

    Hi all. I need your help. I need to know how to read EXCEL FILE and insert it into a table of some. Also, can someone tell me how to write in an EXCEL FILE?

    Thank you in advance.

    READING EXCEL
    There are several options how read file - ODBC, excel on a fly--> conversion to CSV excel (if you have 11.2 and you want to use tables external preprocessor),... I put (I think all) of the options on my BLOG http://jiri.wordpress.com/2010/01/04/load-ms-excel-file-to-oracle-database/

    WRITING IN EXCEL
    Writing in excel is delicate because there is no direct way of Oracle, here are a few tips

    1 JAVA - you can create java stored procedure, I did not test this, but it's probably doable http://www.java-tips.org/other-api-tips/jexcel/how-to-create-an-excel-file.html

    2. XML Excel format - you can use UTL_FILE and writing to XML Excel can read http://blogs.msdn.com/b/brian_jones/archive/2005/06/27/433152.aspx

    3 Excel also reads the CSV files, but it's file plan text without formatting. You can use UTL_FILE to easily create a CSV (comma-delimited) file and read from excel, I have some examples on my blog http://jiri.wordpress.com/2009/03/18/oracle-fast-parallel-data-unload-into-ascii-files/

Maybe you are looking for

  • Satellite C660 is slow - drive 'failure '?

    Hello Forum - I hope someone can help. My children (PC) run a C660-IST (two years). I say "run" - the machine is going at a snail pace. Confession - their father always worked on Apple (I know, I know...) then i@m beating everywhere to try to help th

  • How to use the cluster VI elements in TestStand

    I have a LabVIEW VI, which has an output cluster containing 10 hooks and 10 Boolean values.  In TestStand 4.1.1 I inserted a VI of pass/fail in my test sequence and that related the LabVIEW VI VI of success/failure.  I have seen all the strings and B

  • where can I find the bin file to recycle when the icon disappeared from the desktop?

    Recycle Bin Icon itself deleted last time I emptied the bin. Bin is now complete and using most of my hard drive and I need to empty, but I can't find the tray on my drive C. can you please tell me where to get out I can empty in order to find my har

  • "windows live movie maker has stopped working", how can I fix

    I made movies regularly. I tried to open the program and now it simply reads "windows movie maker has stopped working".  What should I do to fix this?  Can I recharge direct Director? I read about a possible deletion of the program and photo gallery.

  • upgrade Windows XP to vista

    Hi I have windows XP upgraded to vista and two days ago, I started to get the message that the widows could not start a recent hardware or software could be the cause. I followed the possible answers, which had been disseminated notably look in safe