How to optimize this RW code? (full version)

Hello: (Sorry for the wrong previous post, hope the moderator delete it)
I have this code:
import java.io.*;
class Number
    private byte val=0;
    public void Read(DataInputStream ar) throws Exception {val=ar.readByte();}
    public void Read(RandomAccessFile ar) throws Exception {val=ar.readByte();}
    public void Write(RandomAccessFile ar) throws Exception {ar.writeByte(val);}
    public void Write(DataOutputStream ar) throws Exception {ar.writeByte(val);}
}As you can see, I have methods for storing and writing into RandomAccessFiles and DataStreams. The code for RW is the same for both media. Is there any way to use the same code for Read(DataInputStream ar) and Read(RandomAccessFile ar)? Note that actually my class is more complex and can contain many data for RW: integers, doubles, objects, so that's why I want to simplify it. I thought about this possibility:
public void Read(Object ar)  throws Exception  
      if(ar instanceof RandomAccessFile) val= ((RandomAccessFile)ar).readByte();
      if(ar instanceof DataInputStream ) val= ((DataInputStream )ar).readByte();
public void Write(Object ar)  throws Exception  
      if(ar instanceof RandomAccessFile) val= ((RandomAccessFile)ar).writeByte(val);
      if(ar instanceof DataOutputStream ) val= ((DataOutputStream )ar).writeByte(val);
}But as you can see I have to make casts and repeat the code, I only got the advantage of having one single method.
Any suggestion?
Thanks!

Both DataOutputStream and RandomAccessFile implement the interfaces DataOutput, so you could do:
public void write(DataOutput out) throws Exception  
  out.writeByte(value);
}(the other case, RandomAccessFile and DataInputStream, use DataInput)

Similar Messages

  • How to optimize this select statement  its a simple select....

    how to optimize this select statement  as the records in earlier table is abt i million
    and this simplet select statement is not executing and taking lot of time
      SELECT  guid  
                    stcts      
      INTO table gt_corcts
      FROM   corcts
      FOR all entries in gt_mege
      WHERE  /sapsll/corcts~stcts = gt_mege-ctsex
      and /sapsll/corcts~guid_pobj = gt_Sagmeld-guid_pobj.
    regards
    Arora

    Hi Arora,
    Using Package size is very simple and you can avoid the time out and as well as the problem because of memory.  Some time if you have too many records in the internal table, then you will get a short dump called TSV_TNEW_PAGE_ALLOC_FAILED.
    Below is the sample code.
    DATA p_size = 50000
    SELECT field1 field2 field3
       INTO TABLE itab1 PACKAGE SIZE p_size
       FROM dtab
       WHERE <condition>
    Other logic or process on the internal table itab1
    FREE itab1.
    ENDSELECT.
    Here the only problem is you have to put the ENDSELECT.
    How it works
    In the first select it will select 50000 records ( or the p_size you gave).  That will be in the internal table itab1.
    In the second select it will clear the 50000 records already there and append next 50000 records from the database table.
    So care should be taken to do all the logic or process with in select and endselect.
    Some ABAP standards may not allow you to use select-endselect.  But this is the best way to handle huge data without short dumps and memory related problems. 
    I am using this approach.  My data is much more huge than yours.  At an average of atleast 5 millions records per select.
    Good luck and hope this help you.
    Regards,
    Kasthuri Rangan Srinivasan

  • I used to drag and drop newly loaded CD's from Recently Added to one of my iPod Classic playlists. I have no idea how to do this with the new version of iTunes. I thought perhaps checking Sync might give me a clue but it warned me Syncing would wipe conte

    I used to drag and drop music loaded from CD's from the Recently Added folder to a Playlist on my iPods Classic. Can't see how to do this with new iTunes version. Probably need to sync somehow but when I checked on Sync it warned me it would wipe out my iPod contents. Don 't know why Apple makes something that used to be simple so difficult. Can't even figure out how to display both my library and iPod contents on same screen.

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • I can use adobe photoshop cs6,the adobe photoshop show me tril version for 30 days how will be use life time (full version)\

    i can use adobe photoshop cs6,the adobe photoshop show me tril version for 30 days how will be use life time (full version)\

    You can buy it here: https://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_ creativesuite6.html?start=10
    $700 Standard/$1000 Extended  Full price
    $200 Standard/$400 Extended    Upgrade price from CS5.
    Gene

  • Performance Tuning Issues  ( How to Optimize this Code)

    _How to Optimize this Code_
    FORM MATL_CODE_DESC.
      SELECT * FROM VBAK WHERE VKORG EQ SAL_ORG AND
                               VBELN IN VBELN AND
                               VTWEG IN DIS_CHN AND
                               SPART IN DIVISION AND
                               VKBUR IN SAL_OFF AND
                               VBTYP EQ 'C' AND
                               KUNNR IN KUNNR AND
                               ERDAT BETWEEN DAT_FROM AND DAT_TO.
        SELECT * FROM VBAP WHERE VBELN EQ VBAK-VBELN AND
                                 MATNR IN MATNR.
          SELECT SINGLE * FROM MAKT WHERE MATNR EQ VBAP-MATNR.
          IF SY-SUBRC EQ 0.
            IF ( VBAP-NETWR EQ 0 AND VBAP-UEPOS NE 0 ).
              IF ( VBAP-UEPVW NE 'B' AND VBAP-UEPVW NE 'C' ).
                MOVE VBAP-VBELN TO ITAB1-SAL_ORD_NUM.
                MOVE VBAP-POSNR TO ITAB1-POSNR.
                MOVE VBAP-MATNR TO ITAB1-FREE_MATL.
                MOVE VBAP-KWMENG TO ITAB1-FREE_QTY.
                MOVE VBAP-KLMENG TO ITAB1-KLMENG.
                MOVE VBAP-VRKME TO ITAB1-FREE_UNIT.
                MOVE VBAP-WAVWR TO ITAB1-FREE_VALUE.
                MOVE VBAK-VTWEG TO ITAB1-VTWEG.
                MOVE VBAP-UEPOS TO ITAB1-UEPOS.
              ENDIF.
            ELSE.
              MOVE VBAK-VBELN TO ITAB1-SAL_ORD_NUM.
              MOVE VBAK-VTWEG TO ITAB1-VTWEG.
              MOVE VBAK-ERDAT TO ITAB1-SAL_ORD_DATE.
              MOVE VBAK-KUNNR TO ITAB1-CUST_NUM.
              MOVE VBAK-KNUMV TO ITAB1-KNUMV.
             SELECT SINGLE * FROM KONV WHERE KNUMV EQ VBAK-KNUMV AND
                                             KSTEU = 'C' AND
                                             KHERK EQ 'A' AND
                                             KMPRS = 'X'.
             IF SY-SUBRC EQ 0.
               ITAB1-REMARKS = 'Manual Price Change'.
             ENDIF.
              SELECT SINGLE * FROM KONV WHERE KNUMV EQ VBAK-KNUMV AND
                                              KSTEU = 'C' AND
                                              KHERK IN ('C','D') AND
                                              KMPRS = 'X' AND
                                              KRECH IN ('A','B').
              IF SY-SUBRC EQ 0.
                IF KONV-KRECH EQ 'A'.
                  MOVE : KONV-KSCHL TO G_KSCHL.
                  G_KBETR = ( KONV-KBETR / 10 ).
                  MOVE G_KBETR TO G_KBETR1.
                  CONCATENATE G_KSCHL G_KBETR1 '%'
                              INTO ITAB1-REMARKS SEPARATED BY SPACE.
                ELSEIF KONV-KRECH EQ 'B'.
                  MOVE : KONV-KSCHL TO G_KSCHL.
                  G_KBETR = KONV-KBETR.
                  MOVE G_KBETR TO G_KBETR1.
                  CONCATENATE G_KSCHL G_KBETR1
                              INTO ITAB1-REMARKS SEPARATED BY SPACE.
                ENDIF.
              ELSE.
                ITAB1-REMARKS = 'Manual Price Change'.
              ENDIF.
              CLEAR : G_KBETR, G_KSCHL,G_KBETR1.
              MOVE VBAP-KWMENG TO ITAB1-QTY.
              MOVE VBAP-VRKME TO ITAB1-QTY_UNIT.
              IF VBAP-UMVKN NE 0.
                ITAB1-KLMENG = ( VBAP-UMVKZ / VBAP-UMVKN ) * VBAP-KWMENG.
              ENDIF.
              IF ITAB1-KLMENG NE 0.
                VBAP-NETWR = ( VBAP-NETWR / VBAP-KWMENG ).
                MOVE VBAP-NETWR TO ITAB1-INV_PRICE.
              ENDIF.
              MOVE VBAP-POSNR TO ITAB1-POSNR.
              MOVE VBAP-MATNR TO ITAB1-MATNR.
              MOVE MAKT-MAKTX TO ITAB1-MAKTX.
            ENDIF.
            SELECT SINGLE * FROM VBKD WHERE VBELN EQ VBAK-VBELN AND
                                            BSARK NE 'DFUE'.
            IF SY-SUBRC EQ 0.
              ITAB1-INV_PRICE = ITAB1-INV_PRICE * VBKD-KURSK.
              APPEND ITAB1.
              CLEAR ITAB1.
            ELSE.
              CLEAR ITAB1.
            ENDIF.
          ENDIF.
        ENDSELECT.
      ENDSELECT.
    ENDFORM.                               " MATL_CODE_DESC

    Hi Vijay,
    You could start by using INNER JOINS:
    SELECT ......
                FROM (                    VBAK
                             INNER JOIN VBAP
                                           ON VBAPVBELN = VBAKVBELN
                             INNER JOIN MAKT
                                           ON MAKTMATNR = VBAPMATNR AND
                                                 MAKT~SPRAS = SYST-LANGU )
                INTO TABLE itab
              WHERE VBAK~VBELN IN VBELN
                   AND VBAK~VTWEG IN DIS_CHN
                   AND VBAK~SPART IN DIVISION
                   AND VBAK~VKBUR IN SAL_OFF
                   AND VBAK~VBTYP EQ 'C'
                   AND VBAK~KUNNR IN KUNNR
                   AND VBAK~ERDAT BETWEEN DAT_FROM AND DAT_TO
                   AND VBAP~NETWR EQ 0
                   AND VBAP~UEPOS NE 0
    Regards,
    John.

  • How do I upgrade to the full version of creative cloud?

    I see you have billed my credit card for a single app version, but I think I want to upgrade to the full version for $49.99/month. How do I do this?
    Also it seems to me I can only download the trial version of dreamweaver (I purchased the membership for this app and it even says so in my billing history)? Help?

    If you mean that you currently have a Single App subscription and you want to upgrade to a full Cloud membership then try this FAQ
    http://www.adobe.com/products/creativecloud/faq.html#single-app
    If I decide I would like to upgrade to an Adobe Creative Cloud complete membership rather than continue a single-app membership, how do I do that?
    You can upgrade your single-app membership to a Creative Cloud complete membership by logging in to www.creativecloud.com, going to the My Account page, and simply walking through the steps to upgrade. You will be given a partial refund on the remaining amount due on your existing membership.

  • How to use this example code in Flash AS3?

    Hi,
    How can I use this AS3 code in my Flash CS4 document? The following code is in the below link:
    http://pv3d.org/2009/12/18/tweenmax-tweening-a-timeline-advanced-tweening/#
    Please help.
    Thanks.

    Hi,
    It is working quite nice. I want to use the same code but instead of as "Document Class" I want to put that code in a first key frame of my project. I tried the following but gets an error:
    The error is : 1131: Classes must not be nested.
    And the following code  I tried is:
        import com.greensock.TimelineMax;
        import com.greensock.TweenMax;
        import com.greensock.easing.Linear;
        import com.greensock.easing.Quart;
        import flash.display.Sprite;
         * @author John Lindquist
        [SWF(width="900", height="480", frameRate="31")]
        class EasingATimeline extends Sprite
            private var square:Sprite;
            private static const STEP_DURATION:Number = 1;
            public function EasingATimeline()
                square = new Sprite();
                square.graphics.beginFill(0xcc0000);
                square.graphics.drawRect(0, 0, 50, 50);
                square.graphics.endFill();
                square.x = 100;
                square.y = 50;
                addChild(square);
                //set all the eases of your steps to Linear.easeNone
                var step1:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 50, ease: Linear.easeNone});
                var step2:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 350, ease: Linear.easeNone});
                var step3:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 350, ease: Linear.easeNone});
                var step4:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 50, ease: Linear.easeNone});
                var timeline:TimelineMax = new TimelineMax();
                timeline.append(step1);
                timeline.append(step2);
                timeline.append(step3);
                timeline.append(step4);
                //pause your timeline
                timeline.pause();
                //tween your timeline with whatever ease you want
                TweenMax.to(timeline, timeline.totalDuration, {currentTime: timeline.totalDuration, ease: Quart.easeInOut, repeat: -1});
    Please help me to solve this problem.
    Thanks.

  • How to optimize this sql by writing MINUS function.

    Hi all,
    how to optimize the sql by writing MINUS function.
    these are my tables
    1. CREATE TABLE POSTPAID
    RECORD VARCHAR2(2000 BYTE),
    FLAG NUMBER
    Record format:
    Mobile no in 1:10 of that length
    2. CREATE TABLE SUBSCRIBER
    PHONE_NO VARCHAR2(10 BYTE)
    My requirement is following sql need write using ‘minus’ as this one is very slow
    select record record from POSTPAID where substr(record,9,10) NOT in (select PHONE_NO from SUBSCRIBER)
    Thanks

    Why are you very particular about using "MINUS". You can optimize the sql by using "NOT EXISTS" instead of "NOT IN" as below:
    SELECT RECORD FROM POSTPAID A WHERE NOT EXISTS (SELECT 1 FROM SUBSCRIBER B WHERE SUBSTR(A.RECORD,9,10) = B.PHONE_NO)

  • How to conver this sqlserver code into Oracle

    Hi,
    Any one can help me how to covert below sqlserver code into Oracle?
    DECLARE @t1 DATETIME;
    DECLARE @t2 DATETIME;
    SET @t1 = GETDATE();
    select * from table;
    SET @t2 = GETDATE();
    SELECT DATEDIFF(millisecond,@t1,@t2) AS elapsed_ms;

    Hi,
    Do Like This ,
    This is The function going to calculate elapsed time ,execute this before the second script,
    CREATE function DATEDIFF
      startTime in timestamp with time zone,
      endTime in timestamp with time zone
    return number
    as
      interval_ interval day (9) to second (3);
    begin
      interval_ := endTime - startTime;
      return (extract(day from (interval_)) * 86400 +
             extract(hour from (interval_)) * 3600 +
             extract(minute from (interval_)) * 60 +
             extract(second from (interval_))) * 1000;
    end;And this Is the Script that i converted to oracle,
    SET server out put on;
    DECLARE
       v_t1         TIMESTAMP;
       v_t2         TIMESTAMP;
       lv_cur       sys_refcursor;
       lv_elapsed   VARCHAR2 (30);
    BEGIN
       v_t1 := SYSTIMESTAMP;
       OPEN lv_cur FOR
          SELECT *
            FROM emp;
       v_t2 := SYSTIMESTAMP;
       SELECT datediff (v_t1, v_t2) elapsed_ms
         INTO lv_elapsed
         FROM DUAL;
       DBMS_OUTPUT.put_line (v_t1);
       DBMS_OUTPUT.put_line (v_t2);
    END;Thanks & Rgds
    BCV.

  • How to transform this pascal code into java code!

    I want to transform this pascal code into java code . Please tel me how to do it because I really don't know how to do it!
    Thanks!
    {CALCULATE HOHN-LONDON FACTORS}
    var kk:tab4;
    PROCEDURE INTENS(var kk:tab4);
    begin
    for n:=0 to nr+2 do
    begin
    kk^[1,n]:=sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1)) +lup*(yg-2);
    kk^[2,n]:= sqrt(lup*lup*yg*(yg-4)+4*sqr(n+1))-lup*(yg-2);
    kk^[3,n]:=0.5*(kk^[1,n]*kk^[1,n]+4*(sqr(n+1)-lup*lup));
    kk^[4,n]:= 0.5*(kk^[2,n]*kk^[2,n]+4*(sqr(n+1)-lup*lup));
    kk^[5,n]:= sqrt(ldown*ldown*yd*(yd-4)+4*sqr(n+1)) +ldown*(yd-2);
    end;
    end;
    BEGIN
    new (kk);
    intens(kk);
    writeln(f2,' ','N ','V','branch ','H-L');
    for n:=1 to np do
    begin
    fp1[n,v]:=(n-ldown)*(n+ldown+1)*sqr(kk^[2,n-1]*kk^[6,n]+4*(n+ldown)*(n-ldown+1));
    fp1[n,v]:=fp1[n,v]/(4*(n+0.5)*kk^[4,n-1]*kk^[8,n]) ;
    writeln(f2,' ',n,' ',v,' fp1 ',fp1[n,v]:10:2);
    end;
    for n:=1 to nq do
    begin
    fq1[n,v]:=sqr(kk^[2,n]*kk^[6,n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)) ;
    fq1[n,v]:=fq1[n,v]/(2*(n+0.5)*kk^[4,n]*kk^[8,n]*(n+1.5));
    fq1[n,v]:=fq1[n,v]*(n+1);
    writeln(f2,' ',n,' ',v,' fq1 ',fq1[n,v]:10:2);
    end;
    for n:=1 to nr do
    begin
    fr1[n,v]:=sqr(kk^[2,n+1]*kk^[6,n]+4*(n-ldown+2)*(n+ldown+1));
    fr1[n,v]:=fr1[n,v]/(4*kk^[4,n+1]*kk^[8,n]*(n+1.5));
    fr1[n,v]:=fr1[n,v]*(n-ldown+1)*(n+ldown+2) ;
    writeln(f2,' ',n,' ',v,' fr1 ',fr1[n,v]:10:2);
    end;

    Basically it looks like this:
    public class KK{
         private your_type[][] kk = new your_type[length][length];
         private void intens(your_type[] kk){
              for(int n= 0; n<nr+2; n++){
                   kk[1][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2)) +lup*(yg-2);
                   kk[2][n] = Math.sqrt(lup*lup*yg*(yg-4)+4*Math.pow((n+1), 2))-lup*(yg-2);
                   kk[3][n] = 0.5*(kk[1][n]*kk[1][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[4][n] = 0.5*(kk[2][n]*kk[2][n]+4*(Math.pow((n+1), 2)-lup*lup));
                   kk[5][n] = Math.sqrt(ldown*ldown*yd*(yd-4)+4*Math.pow((n+1), 2)) +ldown*(yd-2);
         public static void main(String args[]){
              KK k = new KK();
              k.intens(kk);
              System.out.println(f2  + ' ' + 'N ' + 'V' + 'branch ' + 'H-L');
              for(int n=1; n < np; n++){
                   fp1[n][v] = (n-ldown)*(n+ldown+1)*Math.pow((kk[2][n-1]*kk[6][n]+4*(n+ldown)*(n-ldown+1)), 2);
                   fp1[n][v] = fp1[n][v]/(4*(n+0.5)*kk[4][n-1]*kk[8][n]) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fp1 ' + fp1[n][v]:10:2);
              for(int n=1; n< nq;n++){
                   fq1[n][v] = Math.pow((kk[2][n]*kk[6][n]*(ldown+0.5)+4*(n-ldown+1)*(n+ldown+1)*(ldown-0.5)), 2);
                   fq1[n][v] = fq1[n][v]/(2*(n+0.5)*kk[4][n]*kk[8][n]*(n+1.5));
                   fq1[n][v] = fq1[n][v]*(n+1);
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fq1 ' + fq1[n][v]:10:2);
              for(int n=1; n < nr; n++){
                   fr1[n][v] = Math.pow((kk[2][n+1]*kk[6][n]+4*(n-ldown+2)*(n+ldown+1)), 2);
                   fr1[n][v] = fr1[n][v]/(4*kk[4][n+1]*kk[8][n]*(n+1.5));
                   fr1[n][v] = fr1[n][v]*(n-ldown+1)*(n+ldown+2) ;
                   System.out.println(f2 + ' ' + n + ' ' + v + ' fr1 ' + fr1[n][v]:10:2); //fr1[n][v]:10:2 --> Here you must use the BigDecimal class
    }I'm not very sure because my pascal knowledge is extremely "dated".
    What about the converter I told you about?

  • How do I upgrade trial to full version

    Hi - I downloaded the LiveCycle Designer trial and now have ordered the full version  How do I enter my new serial number?  If I have to uninstall the trial, how do I make sure to take all the files out properly so I can install the full version?

    They never answered.  When I got my license key, I clicked the new download link they
    sent me, without first uninstalling the old version, and I chose the default option, which
    was something like "fix current installation" and it worked!  Didn't even ask me for my
    license key.

  • How to improve this timer code ??

    Dear Sir:
    I have following code, it can works and if I remove the line "new JFrame("New Test Timer").setVisible(true);"
    Then It did not show up timer message,
    What is wrong here??
    I want to remove this line but still keep timer moving,
    How to do this??
    Thanks
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JFrame;
    import javax.swing.Timer;
    public class TimerSample {
      public static void main(String args[]) {
        new JFrame("New Test Timer").setVisible(true);
        ActionListener actionListener = new ActionListener() {
          public void actionPerformed(ActionEvent actionEvent) {
            System.out.println("Hello World Timer");
        Timer timer = new Timer(1000, actionListener);
        timer.start();
    }

    Swing timers are called in the event dispatch thread. If you don't start the event dispatch thread (by setting your GUI visible) then they don't get called.
    If you want a timer but you don't want a GUI, then use a java.util.Timer.

  • How to update garageband '11 to full version

    Hello,
    So GarageBand came preinstalled with my iMac as it apparently does with all iMacs. I have the '11 6.0.5 version.
    When I opened the app for the first time, I must have chosen not to download the extras. According to my little brother I don't have the full version. Against my better judgement, I am letting him loose on my shiny new mac - so he has bought the GarageBand keyboard and needs all the "extra instruments". I'm not entirely sure what I am looking for, and I haven't so far found anywhere to download an additions to my version.
    Anyone who knows more on this, please let me know. Much appreciated!
    Thank you

    CatchingWaves wrote:
    When I opened the app for the first time, I must have chosen not to download the extras.[...] I'm not entirely sure what I am looking for
    open up the loop browser and click on one of the category buttons, like Guitar.
    if you see any loops that are disasbled (more grey than white, and the icon in the left column is missing) then you didn't elect to d/l all the extra content when you first opened the app.
    click one of the disabled loops and you'll be offered the chance to D/L them.
    if you see no disabled loops, then you did get the extra content that comes free with GB.

  • I'm running the beta (not GM) version of Lion. How do I upgrade to the full version?

    I'm running the developer beta version of Lion right now. When I try to update to the full version in the Mac App Store I get a message saying I have to remove the existing app first.
    Obviously, that seems impossible.
    What do I do?

    billyfromjersey city wrote:
    I see there are a lot of new people to the developer world. If you have the GM release, you have the final. There is no need to format or reinstall. You have the same version as people are downloading today. When apple releases a point upgrade you will be able to update just like everyone else because the developer GM is the same as what has been released today. I have been a beta tester and developer all the way back to osx 10.0 so trust me you already have what apple released today.
    All of that may no longer be true in Lion. The Mac App Store changes things. I would check the developer site for details when things settle down a bit.

  • How do I get Photo Elements full version downloaded

    I purchased (for $129+) the FULL Version of Photo Elements 12 & Premier Elements 12.  Photo Elements 12 all of a sudden stopped working and said my TRIAL had expired.  I have uninstalled the program and reinstalled the program and it still says my TRIAL has expired.  Any ideas?

    Hi LakeView,
    The order for Photoshop Elements 12 and Premiere Elements 12 has been completed. Please login to Adobe.com to get the serial number for products.
    See - http://helpx.adobe.com/x-productkb/global/find-serial-number.html#adobeproductdownload
    Also see the steps here - http://helpx.adobe.com/photoshop-elements/getting-started/convert-trial-version.html to convert trial version to the full version.
    ^Ani

Maybe you are looking for

  • Thunderbird freezes and takes forever to open "write window" when I try to send emails

    I'm using Thunderbird 31.4.0 and when I wanna send an email Thunderbird freezes and it takes forever (in this case 20+ seconds) for the "write" window to open and ALLWAYS with the recipient left out.... and oh please don't get me started on how long

  • User - defined functions for calculating the taxes of state and country

    hi expects,     how can write user-defined function in message mapping in which i want to calculate the states taxes (2500) and country taxes (5000) and give the result as grand total in output.please help me?

  • Property Lists: How to insert a variable as a property?

    Hi. I am trying to insert a variable in place of a newly defined property to be added to a poroperty list. This would normally add a new a new property to a poroperty list : Database [#needtogetvariablehere] = typedPassword -- 'Database' is the prope

  • How fast can I read DI port in PCI 6071E?

    I have a while loop with no delay running full speed reading a TTL compatible square wave fed into Channel 0 of my DIO port. I then watch for any transition from hi to low, count these transitions and divide by 2 to get the count. This works very wel

  • Help! Can't activate my iphone 4

    Hello, i live in Russia, and iPhone 4 here costs about 1100 dollars (sim free), so i had no other choice but to go to Apple Store in Paris (i just happened to have a vaccation there) and buy two iPhones 4 there - one for my friend, one - for my stepf