Export text in pc format

Hellow
I' tried export text into textFrame in p.c. format but I can't.
I created this script but it isn't work. What can I made wrong ?
var myStories = myDocument.textFrames[myCounter].parentStory;
myStories.textExportPreference.platform = ImportPlatform.pc;
myFile = new File(caminhoCollect + "/" + myStories.label + ".txt");
myStories.exportFile(ExportFormat.textType, myFile);
thanks
Carlos Cubas

Hi Carlos,
Let's look through your script one line at a time.
var myStories = myDocument.textFrames[myCounter].parentStory;
The trouble with this line is that if your document contains any linked text frames, you'll end up exporting the story multiple times. Instead, you should iterate through stories, as shown in the ExportAllStories example script.
myStories.textExportPreference.platform = ImportPlatform.pc;
Where did this come from? In the first line, you create a reference to a story. If you look at the object model viewer listing of the properties of a story, do you see textExportPreferences? No. TextExportPreferences exist at the application and document level, but not on a story. You want app.documents.item(0).textExportPreferences.
myFile = new File(caminhoCollect + "/" + myStories.label + ".txt");
myStories.exportFile(ExportFormat.textType, myFile);
I don't see anything obviously wrong with the above lines.
Thanks,
Ole

Similar Messages

  • Export to excel with formatting was autowrapping text in a cell

    Export to excel with formatting was autowrapping text in a cell without having to check the can grow option.  When the can grow option is checked it does wrap the text however it spans multiple rows, which causes complications when trying to sort. 
    It worked in:
    ProductVersion=10.0.0.533
    ProductName=Crystal Enterprise 10 Embedded
    Doesnt work in:
    Crystal Reports 10.0 Service Pack 6
    After the upgrade the reports did not autowrap, b/c the "can grow" option was not checked.  I believe this was fixed by "ADAPT00305137 Patch ID: 36479914
    Description:
    When users export to Excel 97-2000 with the page-based format, text fields are wrapped, even when the "can grow" feature in the
    Designer is turned off." .   After we turn the option to grow on it does wrap however it spans across multiple rows.  So I guess my question is there a way for it not to span multiple rows when wrapping text?
    Edited by: dforde on Jan 27, 2010 11:12 PM

    I could be wrong, but I believe the export to excel option exports the database values, and the export to HTML exports the values seen in the sheets. If the database values are stored as seconds, the Excel will see them as seconds, and the data will have to be formatted properly in Excel.
    I haven't toyed around with Excel exports that much, but it might be possible to set up a template or macro in excel that would have the proper formatting, and use it when opening the Disco export.

  • How to burst reports in text and XML format using API

    Hi there,
    I need to be able to burst PDF, Excel etc reports and at the same time, generate XML files containing metadata that will accompany the PDF files to their destination. The reason for this, is that the destination requires metadata to class the documents in the content management system.
    My issue is that I just cannot get bursting to XML, text or HTML format right. There is very little documentation available around creating reports in these formats using the API's and perhaps someone who has gotten this right can, once and for all, solve this issue where others can find the solution.
    Alright, here is some sample supporting documentation (For the sake of the question, I have removed the bursting to PDF, Excel etc. formats and I am just focusing on the XML output):
    In my code for bursting, I make use of the following constructor...
    DocumentProcessor dp =
    new DocumentProcessor("ControlFile.xml", "TestData.xml", "temp");
    The ControlFile.xml looks like this...
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    _<xapi:request select="/DATA/LIST_BRANCH/BRANCH">
    ___<xapi:delivery>
    ______<xapi:filesystem id="dst" output="C:\${BRANCH_NAME}.xml"/>
    ___</xapi:delivery>
    ___<xapi:document output-type="text" delivery="dst">
    ______<xapi:template type="xsl-fo" location="Template.xsl"></xapi:template>
    ___</xapi:document>
    _</xapi:request>
    </xapi:requestset>
    The data in my TestData.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <DATA>
    ___<LIST_BRANCH>
    ______<BRANCH>
    __________<BRANCH_NAME>BRANCH 1</BRANCH_NAME>
    ______________ OTHER IRRELEVANT DATA
    ______</BRANCH>
    ______<BRANCH>
    __________<BRANCH_NAME>BRANCH 2</BRANCH_NAME>
    ______________ OTHER IRRELEVANT DATA
    ______</BRANCH>
    ___</LIST_BRANCH>
    </DATA>
    In my ControlFile.xml, I reference my XSL file called Template.xsl which should do my transformations into XML. That file looks like:
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    __<xsl:output method="xml" indent="yes">
    __<xsl:template match="/">
    ____<METADATA>
    _______<BRANCH>
    ___________<xsl:value-of select="BRANCH_NAME"/>
    _______</BRANCH>
    ____</METADATA>
    __</xsl:template>
    </xsl:stylesheet>
    I have tried about forty variations of the ControlFile.xml and Template.xsl and have had no luck. Among the various error messages that the compiler has reported to me, these are the most common:
    [101507_055953158][][EXCEPTION] Error while generating the Document...
    [101507_055953158][][EXCEPTION] org.xml.sax.SAXException: element metadata is not supported yet.
    [101507_061037084][][EXCEPTION] Error while generating the Document...
    [101507_061037094][][EXCEPTION] oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    I have managed in some cases to get the API code to compile, but the outputs are empty 0kb files.
    I have also exported an XSL-FO file from word, but the output is always PDF even with tweaking.
    I have wasted about 9 hours on this problem and it is driving me mad! If anyone has ideas, tips and/or solutions, they would be very welcome.
    Thanks in advance,
    Andrew

    For anyone interested... here it is!
    Format Setup:
    <TEMPLATE TYPE> DELIMITER_BASED
    <OUTPUT CHARACTER SET> iso-8859-1
    <NEW RECORD CHARACTER>     Carriage Return
    Sequences:
    <DEFINE SEQUENCE> MetaDataSeq
    <RESET AT LEVEL>     BRANCH
    <INCREMENT BASIS> LEVEL
    <END DEFINE SEQUENCE> MetaDataSeq
    Format Data Records:
    <LEVEL> BRANCH
    <MAXIMUM LENGTH><FORMAT><DATA>
    <NEW RECORD> FileHeaderRec
    16_________________Alpha_____‘<REPORT_SUMMARY>’
    22_________________Alpha_____‘<TYPE>1</TYPE>’
    255________________Alpha_____'<NAME>’ || BRANCH_NAME || ‘.pdf</NAME>’
    255________________Alpha_____'<DESC>NON-MOTOR VEHICLE CLAIMS</DESC>’
    10_________________Alpha_____‘<METADATA>’
    255________________Alpha_____‘<CONTROL_AREA>MAIN CONTROL AREA</CONTROL_AREA>’
    255________________Alpha_____‘<BRANCH_CODE>’ || BRANCH_CODE || ‘</BRANCH_CODE>’
    255________________Alpha_____‘<BRANCH_NAME>’ || BRANCH_NAME || ‘</BRANCH_NAME>’
    255________________Alpha_____'<DIVISION_CODE>1</DIVISION_CODE>’
    255________________Alpha_____‘<DIVISION_NAME>PERSONAL</DIVISION_NAME>’
    11_________________Alpha_____‘</METADATA>’
    17_________________Alpha_____‘</REPORT_SUMMARY>’
    <END LEVEL> BRANCH

  • Exporting Text captions - Non MS word possibility

    Captivate 8.0.1.242 - Windows 7 - 64 bit - swf format.
    Is there a possibility to export text captions with the need of having MS word in my computer?
    Frankly, I hate MS word and I always stick to LaTeX. Hence, I do not have MS word in my computer. But I would still like the possibility of exporting the text captions in Captivate file to a doc file such as Libre Office so I can send it people who prefer using Word it to translate content.
    Also I really prefer not getting a licensed version of MS word which I'll never use, just to do this exporting possibility.

    Ok. I did export it in XML and opened it in Notepad. Kinda got scared and scarred by it.
    But I opened it in the browser and it was ok. But still the content was not in 2 columns and so on. So is that expected from XML file? I have to manually create the 2 columns like the way captivate does it while exporting to word?

  • Urgent Help !!!  Export data into insert format (Oracle Sql developer)

    Hi all,
    Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
    Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
    It used to have exported successfully with
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    ----- when i try to export table with over 10,000 row.
    Regard,
    Tun

    Another option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
    OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
    LOAD DATA
    CHARACTERSET US7ASCII
    INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
    CONCATENATE 1
    INTO TABLE "EMP2"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    "ID" POSITION(1:2) INTEGER(2) ,
    "REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
    "DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
    "HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
    "SALARY" POSITION(15:19) DECIMAL(9,2) ,
    "NAME" POSITION(20:34) CHAR(15)
    SQLDeveloper does not currently provide an option to import fixed format files.

  • OBIEE 11.1.1.6.12 - value modification during export in tab delimited format

    Hi all,
    we have noticed unproper value modification during export in tab delimited format.
    Please find example below:
    The proper value is 24150170000011615 (it is state register number of enterprise).
    The wrong value is 24150170000011600.
    Correct value:
    http://s12.postimg.org/v2gpqqzgd/obiee_1.png
    How do we export data from obiee:
    http://s23.postimg.org/6k7dwiezf/obiee_2.png
    Wrong value after export:
    http://s22.postimg.org/qdgqgogn5/obiee_3.png
    What should we do to fix it?

    The bigger picture is as follows:
    I have a button on my report that essentially should download the output of report to tab delimited text file. This button is integrated with a custom built class which has a main method. When I click on the button, the logic written in the main method gets executed.
    In this method I generate my internal table and pass to cl_gui_frontend_services=>gui_download method with parameters mention above.
    I try debugging but every thing seems to be working correct when sy-subrc = 0 through executable program and it does not enter into the download method logic when i do it through main method, instead sy-subrc is straight set to 6 (unknown error).
    Regards,
    Pankaj.

  • How do i export text from a pdf?

    I don't know which adobe to purchase in order to export text from a pdf and move it to a spreadsheet.... can someone please help?

    Hi losjovenes1,
    You can use Adobe Acrobat for the purpose.
    If you need just a part of the PDF file in another format, you don’t need to convert the entire file and then extract the relevant content. You can select parts of a PDF file and save it in one of the supported formats: DOCX, DOC, XLSX, RTF, XML, HTML, or CSV.
    Use the Select tool and mark the content to save.
    Right-click on the selected content and choose Export Selection As.
    Select a format from Save As Type list and click Save.
    Regards,
    Rave

  • Text in Table format

    Hi, I am unable to paste my text in Table format from MS Word
    like I use to in Dir MX 2004...
    Do I need a plug-in now or do I need to do it the long way
    round, 1st make the text into HTML then do some scripting in Flash,
    export it and import it into Director?
    Please help?
    http://justkuankuan.bravehost.com/Table.zip

    Things I have tried...
    Copy the text in MS Expressions/Dreamwaver and importing the
    html in Dir, result: text not align.
    Exporting text in rtf, html from MS Word, result: error 85,
    or -1.
    Please Help?

  • Problems exporting text in Indian languages

    I tried exporting text in Indian languages to XML format, the resulting XML had '?' characters. The following code was used
    var exporter:ITextExporter = TextConverter.getExporter(TextConverter.TEXT_LAYOUT_FORMAT);
    var xmlExport:XML = exporter.export(_textFlow, ConversionType.XML_TYPE) as XML;
    NOTE: The text was rendered as expected. Only the exported XML contained '?' characters.
    Is there anyway to export these (see below) unicode characters to an XML without loosing the actual values.
    Eg: ' हम कहाँ है?'
    Thanks in Advance

    How did you save the XML?  Trace into the Flex console doesn't seem to support unicode.
    The examples posted here:
    http://blogs.adobe.com/tlf/2009/12/new-and-updated-tlf-samples.html
    Contain the TextLayoutEditor example that shows exporting displaying the markup with unicode and saving it to a file.  Look for FileIOHelper.as.
    Hope that helps,
    Richard

  • Exporting Text Layers

    I have a composition built in AE with one layer of another compsition and 5 text layers that are animated. When I choose File > Export > Adobe Premiere Pro Project... and open it in Premiere, only the other compostion layer is there with no text layers. I have no clue why this is happening. Thanks for any help you can provide.
    CS4

    Mylenium wrote:
    text layers not coming over is expected. They are a specific parametric layer type that can only exist in Ae (along with shape layers) and in reverse, for the same reason Premiere titles cannot exist in AE. Same hewre - you have some reading up to do. It's all in the help files.
    Mylenium
    If this information is in the help files, it is not in the "Export to Premiere" section, which is where it should be, and it's not readily findable by searching for "exporting text layers," either.
    I found nothing about the exclusive characteristics of text and shape layers in the descripotions of text or shape layers that exclude exporting. I'm not reading every word of every page. What I'm searching for is that precise feature of text and shape layers. I found this, which is counterindicative from your statements unless one has access to contradictory information about going to and from Premiere. Here's a bunch of stuff that the OP probably found and, based on this information, he was certainly expecting text layers to work as implied, perhaps not as promised.
    Text layers are synthetic layers, meaning that a text layer does not use a footage item as its source—though you can convert text information from some footage items into text layers. Text layers are also vector layers. As with shape layers and other vector layers, text layers are always continuously rasterized, so when you scale the layer or resize the text, it retains crisp, resolution-independent edges. You cannot open a text layer in its own Layer panel, but you can work with text layers in the Composition panel.
    You can copy text from other applications such as Adobe Photoshop, Adobe Illustrator, Adobe InDesign, or any text editor, and paste it into a text layer in After Effects. Because After Effects also supports Unicode characters, you can copy and paste these characters between After Effects and any other application that also supports Unicode (which includes all Adobe applications).Text formatting is included in the Source Text property. Use the Source Text property to animate formatting and to change the characters themselves (for example, change the letter b to theletter c).
    Note: Some kinds of exporting don’t involve rendering and are for intermediate stages in a workflow, not for final output. For example, you can export a project as an Adobe Premiere Pro project by choosing File > Export > Adobe Premiere Pro Project. The project information is saved without rendering. In general, data transferred through Dynamic Link is not rendered.Working with Adobe Premiere Pro and After Effects
    Adobe Premiere Pro is designed to capture, import, and edit movies. After Effects is designed to create motion graphics, apply visual effects, composite visual elements, perform color correction, and perform other post-production tasks for movies.
    You can easily exchange projects, compositions, sequences, tracks, and layers between After Effects and Adobe Premiere Pro:
    You can import an Adobe Premiere Pro project into After Effects. (See Import an Adobe Premiere Pro project.)
    You can export an After Effects project as an Adobe Premiere Pro project. (See Export an After Effects project as an Adobe Premiere Pro project.)
    You can copy and paste layers and tracks between After Effects and Adobe Premiere Pro. (See Copy between After Effects and Adobe Premiere Pro.)
    If you have Adobe Creative Suite Production Premium or Master Collection, you can also do the following:
    Start Adobe Premiere Pro from within After Effects and capture footage for use in After Effects. (See Use Adobe Premiere Pro for capture (Production Premium and Master Collection only).)
    Use Adobe Dynamic Link to work with After Effects compositions in Adobe Premiere Pro without first rendering them. A dynamically linked composition appears as a clip in Adobe Premiere Pro.
    Use Adobe Dynamic Link to work with Adobe Premiere Pro sequences in After Effects without first rendering them. A dynamically linked sequence appears as a footage item in After Effects.
    Start After Effects from within Premiere Pro and create a new composition with settings that match the settings of your Premiere Pro project.
    Select a set of clips in Adobe Premiere Pro and convert them to a composition in After Effects.
    For information on using Dynamic Link with After Effects and Premiere Pro, see Dynamic Link and After Effects and the relevant sections of Adobe Premiere Pro Help.
    For a video tutorial about working with After Effects and Adobe Premiere Pro using Dynamic Link, go to the Adobe website.

  • Thread: Export Data in TSV format (International / Unicode characters)

    Hi OAF Gurus,
    Question: Export data in TSV format ? how
    I am working in JDEV 10g, OA Framework 12.0.6.
    I have a page which has a OA Table populated with data, I need to export this data in a TSV (*Tab Separated values*) format.
    I know that we can add a “Export” button and then the data is exported in a CSV (comma Separated values) format.
    The question is how to save in TSV format instead.
    Reason for using TSV format: Our Data contains Unicode characters(Asian characters) which CSV files will not support. (FYI: Oracle Forms export in TSV format)
    Thanks in Advance
    Chaitanya

    use class CL_ABAP_CONV_OUT_CE
    2) or use obn application server
      open dataset file for output in  legacy  text mode code page p_code.
    (for codepage look  in tabele TCP00!)
    grx
    A.
    Edited by: Andreas Mann on Nov 8, 2010 11:23 AM

  • Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format . anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    Hi, i have edited a clip in hd with final cut, now I need to export it in 2K format. anybody knows how i can do it in FCP?  in internet I found only few info about 2K format: no more than frame size.  nothing about codec or similar. thanks for any help.

    SoCal thanks for the attention,
    sorry for having wrote the question directly in the subject, but first i wrote it by text edit then copied it, but in the wrong place too.....
    coming to my question, timeline settings are:
    as it is a commercial promo that must be projected in a multiplex cinema, the 2K format is needed.
    I've heard about transcoding services, and they are very expensive. 
    so i'm looking if there is a way to do everything by fcp.
    the project will be delivered as SD DVD for archive pourposes and as a single file for the projection or eventually transconding.
    p.s.: sorry for my english, i'm from italy: had my last english lesson 35 years ago!

  • Issue while exporting report in Excel Format

    Hello,
    I am facing problem while exporting the report in Excel Format. After analysis, I think that it could be due to two reasons, either we are using wrong versions of Jars, or we are using wrong API. Here is the code, approaches and problems we are facing. Please help.
    First approach we are using is:
    // using basic API
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    // get client document from crystal report API and open the report by specifying the report name, with path
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open( reportPath, 0 );
                   // give chance to extending classes to configure the report document by POJO or by sql parameter etc, just adding the parameters infromation using ParameterFieldController
                   configureReportDocument( reportClientDoc, reportMetadata, reportData, reportContext );
                   // get data source of crystal report
                   Object reportSource = reportClientDoc.getReportSource();
                   // export the data - we have also tried with MSExcel format
                   ReportExportFormat exportFormat =  ReportExportFormat.recordToMSExcel;
                   LOGGER.debug( "exportFormat[" + exportFormat + "]" );
                   ByteArrayInputStream byteArray = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(
                             exportFormat );
    Problem Faced: Specified Excel format is not supported.
    Second Approach: We come to know that excel format is supported with new releases and with occa package.
    Then we tried with import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument; It ask to set the ReportServer. When we are trying to set the server as
                   reportClientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    Application is unable to find 'ReportClientDocument.inprocConnectionString' property. It seems like we are using some old jars. However we have downloaded the latest released jars for eclipse 2.
    Please help for it. Issue is to export the report in excel format, which is currently working fine for PDF. If this problem is related to Jars, please suggest the path to download the latest jars. We also looking for the latest jars like rasapp and rascore etc. But these are not available with Crystal Report for Eclipse 2 release.
    Waiting for urgent help. Thanks you..
    Regards,
    Mohit

    Hi,
    Send me Environment Details .
    Here is the code  snippet for exporting report to excel format:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.managedreports.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.infostore.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.io.*" %>
    <%
    String username ="Administrator";
    String password ="";
    String cmsname ="localhost:6400";
    String Authen ="secEnterprise";
         //connecting to Enterprise
         IEnterpriseSession es = CrystalEnterprise.getSessionMgr().logon(username,password,cmsname,Authen);
         //get the report App Factory form the Crystal Enterprise
         IReportAppFactory appFactory = (IReportAppFactory) es.getService("","RASReportService");
         //get the infostore service form the Crystal Enterprise
         IInfoStore istore = (IInfoStore) es.getService("","InfoStore");
         //get the report by name from crystal Enterprise
         IInfoObjects iobjects = istore.query("Select * From CI_INFOOBJECTS Where SI_NAME = 'sampleramz2.rpt' and SI_INSTANCE = 0 ");
         //open the report in the report doc object.
         ReportClientDocument Doc = appFactory.openDocument((IInfoObject)iobjects.get(0), 0, Locale.ENGLISH);
         // WORKING WITH THE PRINT OUTPUT CONTROLLER
         //Use the report documents PrintOutputController to export the report to a ByteArrayInputStream
         ByteArrayInputStream byteIS = (ByteArrayInputStream)Doc.getPrintOutputController().export(ReportExportFormat.recordToMSExcel);
         // EXPORTING THE REPORT
         //Create a byte[] (same size as the exported ByteArrayInputStream)
         byte[] buf = new byte[2000 * 1024];
         int nRead = 0;
         //Set response headers to indicate pdf MIME type and inline file
         response.reset();
         response.setHeader("Content-disposition", "inline;filename=ramz");
         response.setContentType("application/xls");
         //Send the Byte Array to the Client
         while ((nRead = byteIS.read(buf)) != -1)
              response.getOutputStream().write(buf, 0, nRead);
         //Flush the output stream
         response.getOutputStream().flush();
         //Close the output stream
         response.getOutputStream().close();
    %>
    Let me know any information is needed,
    Regards,
    Rameez

  • How to Print a text in bold format in a classic report ??

    How to Print a text in bold format in a classic report ??

    hi
    u can use
    <b>FORMAT  INTENSIFIED ON.</b>
    regards
    ravish
    reward if useful

  • How to change the default structure when exporting data in CSV format?

    Hello,
    can some one tell us how to change the default structure in CRM when exporting lists in CSV format (with Option "Always use unformatted list format (CSV) for download" ? Because we want to add a new structure for our own -is it possible ?
    If it is possible where can we find these structure ? In the blueprint customizing ?
    Thank you very much,
    Christian

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

Maybe you are looking for