get the new value to select a radio station by ValueChangeListener Bean

ADF / JDeveloper11g

Hi Experts,

Please help what I'm working on one Radio select and populated with a value of VO. I need to get the new value selected by ValueChangeListener Bean. the code as follows. Copy the following code I am old value, but I need to develop some new and current.

Please help, its urgency.
  public void SlRadio(ValueChangeEvent valueChangeEvent) {
    getBranch();
  }
  public void getBranch() {
    // Add event code here...

    DCBindingContainer dcBindings =
      (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();

    // Get a attribute value of the current row of iterator
    DCIteratorBinding iterBind =
      (DCIteratorBinding)dcBindings.get("VOUserBranchList1Iterator");
    String vRtno = (String)iterBind.getCurrentRow().getAttribute("RtNo");

    setRtno(vRtno);
    System.out.println("=========Rtng========" + Rtno);
  }
Thank you.
Zed
======

Hi Zaza,

As you are able to get the index of the current selected option button, try upward with the selection of the value of the view object using the index you have found as

If (valueChangeEvent.getNewValue ()! = null)
{
selectIndex = int ((Integer) valueChangeEvent.getNewValue ()) .intValue ();
Line selectedRow = AMImpl.getVO1 () .getRowAtRangeIndex (selectIndex);
If (selectedRow! = null)
{
selectValue = (String) selectedRow.getAttribute ("RtNo");
}
}

where AMImpl is the object of the application module class.

Kind regards
Vikram

Tags: Java

Similar Questions

  • get the label from a selection of radio in a box of radio buttons

    I use a control of radio buttons, with four selections of radio in there.  I understand that this is an enumerated type, so the value is a 'number '.  When wire you this control to a statement button, the case is automatically generated with the selections radio labels.  Is there a way to capture the label of the button that was chosen?    I'm using LabVIEW 8.0 for this project.  Thanks in advance for your time.

    Hi bj,.

    Just use a FormatIntoString with the format specifier '%s '...

  • How to get the new value of VO through CO?

    Hello

    I have several tab in page in. In the tab lines to change certain values that I want to get on the Distribution tab. These values are not in the comic book. How can I get?

    I tried the following code, but it did not work

    OAViewObject PoLineMergeVO = (OAViewObject) rootAM.findViewObject ('PoLinesMergeVO');

    oracle.jbo.Row PoLineMergeRow = PoLineMergeVO.first ();

    String s_category_id = PoLineMergeRow.getAttribute("CategoryId").toString ();

    any idea?

    Best regards Mayte

    HI Mayte

    You can browse PoLineMergeVO second that co has provided the two CO are attached to the region who share the same mdoule application (ie you can get the unstance of PoLineMergeVO in the two CO and it must not be null)

    To iterate of use

    ViewObject OAViewObject =
    (OAViewObject) am.findViewObject ("PoLinesMergeVO") - name of the instance
    Line OARow = null;
    ITR RowSetIterator = null;
    {If (viewObject! = null & {viewObject.isExecuted ())}
    If (viewObject.findRowSetIterator ("Iterator") == null) {}
    ITR = viewObject.createRowSetIterator ("Iterator");
    } else {}
    ITR = viewObject.findRowSetIterator ("Iterator");
    }
    While (itr.hasNext ()) {}
    line = (OARow) itr.next ();
    String category = String.valueOf (row.getAttribute ("CategoryId"));
    }
    itr.closeRowSetIterator ();
  • Is there a way to get the new value assigned to a column of series (DG4IFMX)

    Hi people,

    I need to insert records into a table whose primary key is a column of series (even as a trigger on a primary key in Oracle). I have been informed that the way to trigger the next value is to insert a zero in the column, which is fine. The problem is, that I need to know what the next value that has been assigned, and there is not enough time between the transaction to do a 'select max (column_name)', for example. Is there something (maybe a function) that responds to this need, and I don't know about it?

    Thanks, any idea would be appreciated.

    -Adam vonNieda

    The gateway offers the PASSTHROUGH - described in more detailed manual - package which allows you to send anything to the foreign database without being touched by Oracle.
    Depending on your function, you can use the DBMS_HS_PASSTHROUGH. The EXECUTE_IMMEDIATE package and if you need to retrieve something that you could use:
    dbms_hs_passthrough. Parse
    DBMS_Hs_Passthrough.fetch_row
    dbms_hs_passthrough.get_Value

  • Get the current value of the variable when reaching CNVCreateSubscriber

    I use CNVCreateSubscriber () to create a subscription read to a network Variable: whenever the value of the variable changes, the DataCallback is called and I'm able to get the new value of the variable.

    But how to get the value of the variable when a subscription is created?

    I read in the help CNVCreateBufferedSubscriber () returns this information, but I wonder if using CNVGetDataFromBuffer () in a polling loop has the same performance as the approach to DataCallback of CNVCreateSubscriber ().

    In addition, the dataStatus (CNVGetDataFromBuffer) parameter is different for different Subscribers? (that is if I have multiple subscribers, CNVStaleData is related to the specific Subscriber or is a global property of the variable)?

    CNVData data;

    CNVGetConnectionAttribute (customer, CNVMostRecentDataAttribute, &data);)

  • How to get the updated value once the database is in place?

    Hello

    I have a scenario which is explained below.

    I have values from the DB for the first time and then consecutive application gets the value of the cache if the key is the same.
    One application is to apply. At that time, certain values change in the DB and then the DB is declining.

    Once the DB will get the new value of the cache. I tried this but I got the value from the cache (obtained only old value). The key is the same in DB, I changed the value and tested it.

    Is wot in the way that I am doing is correct? The same thing happens when I put the value in cache when DB is out of service.
    Will the data get updated as soon as the DB is in place? Also, this is not the case when I tested.

    I made the scenario above using distributed cache with manual configuration file that uses dumps.


    Thank you
    Mitraa SP

    Published by: SPM 6 November 2009 01:14

    The cache of almost is a "cache cache", then it can expire items out of its cache of 'before' (the local cache on the JAVA virtual machine running the code that requests information from the cache close), but which does not expire items in the cache 'return', which is the distributed cache.

    Caches are assembled in a hierarchical way, your configuration is something like this:

    1. a "cache near" which consists of a "local cache" (expiration) front and a back "distributed cache.
    2. the "distributed cache" that has a "reading / writing support map" for its data storage
    3. the "reading / writing map support" that delegates to a "Cache" store to talk to a database and a "Cache internal" for its storage
    4. the "internal cache' is probably configured as a storage card by default (which has not expired)

    To make data expire so that he is re-read, simply change the definition of "internal cache" in the read/write backup plan to use a similar setup that you use on the front of the cache close.

    For example, the example configuration file "coherence-cache-config. XML"(found in coherence.jar), you can change this"1 h"to 10"s"and expiration will occur in 10 seconds instead of an hour:

    
    
      example-binary-backing-map
    
      HYBRID
      {back-size-limit 0}
      BINARY
      {back-expiry 1h}
      1m
    
      
    
    
    
    
      example-read-write
    
      
        
          example-binary-backing-map
        
      
    
      
    
      true
      0s
    
    

    For an explanation of these braces, see: [coherence Configuration Macros | http://coherence.oracle.com/display/COH35UG/Parameter+Macros].

    Peace,

    Cameron Purdy | The Oracle coherence
    http://coherence.Oracle.com/

  • How can I get the color picker to select the hexadecimal value by default?

    Hello world!

    I've upgraded to Photoshop CC 2015, and now when the color picker appears, it selects only the value of C (cynan) by default, which is useless. How can I move it back so the Hex value is selected by default?

    Thanks in advance for any help!

    Ah! I have it. If I open a new file and select the CMYK mode, C is highlighted.

    If I open a new file and select RGB, I get the Hex field highlighted.

    Gene

  • Get the old value and the new value based on the date

    Hello

    I have a table called list created below with the rest of the insert statements.

    CREATE TABLE ROSTER
    (
    NUMBER OF ROSTER_EMPLOYEE_DEF_ID
    NUMBER OF EMPLOYE_ID
    NUMBER OF DEFINITION_REGION_CODE
    NUMBER OF DEFINITION_DISTRICT_CODE
    NUMBER OF DEFINITION_TERRITORY_CODE
    START_DATE DATE,
    END_DATE DATE
    )



    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (1,299,222,333,444, 'JUNE 1, 2011', 30 JUNE 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (2,299,223,334,445, "1 JULY 2011', JULY 20, 2011" "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (3,299,224,335,446, 'AUGUST 1, 2011', AUGUST 30, 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (4,300,500,400,300, 'JUNE 1, 2011', JUNE 20, 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (5,300,501,401,301, "1 JULY 2011', JULY 20, 2011" "")


    In the table above we have columns like

    EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE

    The result I'm looking for the table above is based on the employe_id OF start_date AND end_date

    I need to get the OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_CODE
    Similarly, OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_REGION_CODE
    and OLD_DEFINITION_TERRITORY_CODE and the NEW_DEFINITION_TERRITORY_CODE


    I need to get a row of data for each employee saying old value and the new value

    for the employee 299 there are 3 records he puts the new record which is the latest date is to say beginning August 1, 2011 and end date of recordings old 30 August 2011
    beginning July 1, 2011 and July 20, 2011


    For the data in the table above, I need to get the data as below


    EMPLOYE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_CODE OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE START_DATE END_DATE
    299 223 224 334 335 20 JULY 11 30 AUG 11
    300 500 501 400 401 20 JUNE 11 JULY 20, 11


    Please suggest me to get the result above, based on the data. Please let me know if my messages are not clear


    Thank you
    Sudhir
    SELECT  EMPLOYEE_ID,
            OLD_DEFINITION_REGION_CODE,
            NEW_DEFINITION_REGION_CODE,
            OLD_DEFINITION_DISTRICT_CODE,
            NEW_DEFINITION_DISTRICT_CODE,
            OLD_DEFINITION_TERRITORY_CODE,
            NEW_DEFINITION_TERRITORY_CODE,
            START_DATE,
            END_DATE
      FROM  (
             SELECT  EMPLOYEE_ID,
                     ROW_NUMBER() OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE DESC) RN,
                     LAG(DEFINITION_REGION_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_REGION_CODE,
                     DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE,
                     LAG(DEFINITION_DISTRICT_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_DISTRICT_CODE,
                     DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE,
                     LAG(DEFINITION_TERRITORY_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_TERRITORY_CODE,
                     DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE,
                     LAG(END_DATE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) START_DATE,
                     END_DATE
               FROM  ROSTER
            )
      WHERE RN = 1
    /
    
    EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE OLD_DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE OLD_DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE START_DAT END_DATE
    ----------- -------------------------- -------------------------- ---------------------------- ---------------------------- ----------------------------- ----------------------------- --------- ---------
            299                        223                        224                          334                          335                           445                           446 20-JUL-11 30-AUG-11
            300                        500                        501                          400                          401                           300                           301 20-JUN-11 20-JUL-11
    
    SQL>  
    

    SY.

  • [Labview] I want to get the average value in each new 100 samples.

    Hello. I'm Sophie.

    I'm studying Labview for my research.

    For me, the sampling frequency is 125KHz.

    I want to get the average value in each new 100 samples.

    Therefore, I want to get an average value of 1 ~ 100th samples and store this average value. Call assets(1).

    Then, I want to get an average of 101 ~ 200th samples and store this means value, call moyen2.

    .

    .

    .

    .

    I don't know how me I want.

    Thank you

    Sophie.

  • To get the old value and the new value

    create table test (ID NUMBER,
    Number of REV,
    Number FIELD_ID,
    FieldName varchar2 (200),
    ACTION varchar2 (50).
    Field_value varchar2 (200),
    MODIFIED_BY varchar2 (50).
    Date MODIFIED_DATE);

    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,283,12,'status','UPDATE','Started','2002',to_date('13-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,224,12,'status','UPDATE','preview','2002',to_date('12-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1007,290,12,'status','UPDATE','revision','2002',to_date('14-DEC-13','DD-MON-RR'));


    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,283,12,'status','UPDATE','Started','2002',to_date('13-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,224,12,'status','UPDATE','preview','2002',to_date('12-DEC-13','DD-MON-RR'));
    Insert into TEST (ID, REV, FIELD_ID, FIELD_NAME, ACTION, FIELD_VALUE, MODIFIED_BY, MODIFIED_DATE) values (1008,290,12,'status','UPDATE','teststat','2002',to_date('14-DEC-13','DD-MON-RR'));

    1007 283 12 status of started the UPDATE 2002 13 December 13
    1007 224 12 status update overview 2002 12 December 13
    12 290 1007 State review UPDATED 2002 December 14, 13
    1008 283 12 status of started the UPDATE 2002 13 December 13
    1008 224 12 status update overview 2002 12 December 13
    1008 290 12 intensified status 2002 Update December 14, 13

    I need to Get for each id for each field Ineed to get the old value and new_value.


    Planned result for the simulacrum of the data is:

    ID FIELD_NAME ACTION OLD_FIELD_VALUE NEW_FIELD_VALUE MODIFIED_BY MODIFIED_DATE
    1007 status UPDATE started review 2002 December 14, 13
    1008 State updated started intensified 2002 December 14, 13


    Thank you
    Ann

    Hello

    9728f65c-CE79-4c28-9efb-9e76dc6eaf8b wrote:

    Yes I need a production line for all id.the the last rows should be the one with the highest rev.

    Then use id where I guessed a group of columns starting with id and rev in most of the places where I used modifed_date:

    WITH got_analytics AS

    (

    SELECT id, field_name, action

    LAG (field_value) over (PARTITION BY ID.

    ORDER BY rev

    ) AS old_field_value

    field_value AS new_field_value

    modified_by

    modified_date

    rev

    MAX (rev) over (PARTITION BY id)

    AS max_rev

    OF the test

    )

    SELECT id, field_name, old_field_value, new_field_value, modified_by, modified_date

    OF got_analytics

    WHERE rev = max_rev

    ORDER BY id

    ;

  • Refresh of Page partial update of form before the data control returns the new value

    Hello

    I have a set of paintings of master detail based on a single data source (Session Bean encapsulating a web service call). The high-level table (t1) shows data of opportunity, as the low level (t2) poster contacts for a special occasion. When the opportunity is selected in t1, the contacts associated with this opportunity appear in t2. These tables of work as you wish.

    I have a read only form (form of the Panel layout) based on a different data control (supported by a Session Bean that calls a LinkedIn API and a table of database using EJB3 entities). LinkedIn Session Bean method takes a parameter which I get from the current row in t2. (#{bindings.relatedContact.currentRow.dataProvider.id}) I put the PartialTriggers as 't2' on the form.

    When the page is loaded for the first time, the first line (line A) from table t2 is selected and the display shows the data associated with this line. If I select another line (line B), the Session Bean is called with the value of the id of the newly selected row, but the display will show the associated data from line A. Thereafter, whenever I select a row in t2, bean is called with the new value, but the form displays the data from the selected line previously.

    I guess what happens is that the form is refreshed (using stale data in the data control), and then the call to the session bean is made. I checked using thread and print statements. Sleep() in the bean.

    Is this a correct behavior and how can I make sure that the call to the bean occurs before the form is updated?

    I use JDeveloper version 11.1.2.2.0

    Thank you
    Michael

    Hello

    as answered on StackOverflow, the trick is to set the refresh option on the iterator (s) to the second access WS (table 2) of PageDef on ifNeeded. The default setting is delayed, which in your case is not optimal because refresh occurs during rendering response, which is too late for the access of WS. Try "ifNeeded.

    Frank

  • How to get the RGB value of a pixel in a psd document using scripting Photoshop

    Hi, guys!    Does anyone know how to get the RGB value of a pixel in a psd document using scripts in Photoshop?  I myself have missed for a long time and could not resolve. I am very happy to hear your voice as soon as possible!

    Here is an example...

    var originalUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var doc = activeDocument;
    var Colour1 = GetHexColour(eyeDropperRGB(1,doc.height-1));
    var Colour2 = GetHexColour(eyeDropperRGB(20,doc.height-5));
    var Colour3 = GetHexColour(eyeDropperRGB(40,doc.height-14));
    alert("Colour 1 = " +Colour1 + "\rColour 2 = " +Colour2 + "\rColour 3 = " +Colour3);
    var decColour = eyeDropperRGB(40,doc.height-14);
    alert("Red = " +decColour[0] + "\rGreen = " +decColour[1] + "\rBlue = " +decColour[2]);
    app.preferences.rulerUnits = originalUnits;
    function GetHexColour(reqHex){
    var out='';
    for(No in colours = reqHex){
     out = out.concat(zeroPad(d2h(reqHex[No]),2));
     }
    return out;
    };
    function eyeDropperRGB(x,y) {
     var x2 = x + 1;
     var y2 = y + 1;
     var out = new Array(3);
     activeDocument.selection.select([[x,y], [x2,y], [x2,y2], [x, y2]], SelectionType.REPLACE, 0, false);
     for(ch in list = ["Red", "Green", "Blue"]) {
     histogram = activeDocument.channels[list[ch]].histogram;
      for (i = 0; i <= 255; i++) {
       if (histogram[i]) {
        out[ch] = i;
        break;
       }
      }
     }
      return out;
    };
    function d2h(d) {return d.toString(16);}
    function zeroPad(n, s) {
       n = n.toString();
       while (n.length < s)  n = '0' + n;
       return n;
    };
    
  • I have tab mix more and I put the new tab to open my home page, no matter what I do I can't get the new firefox tab is displayed.

    I can't get the new functionality of firefox 13 of the new label.

    Hello, please enter Subject: config in the address bar and search for the preference named browser.newtab.url with the right button and return it to the default value (that's all: newtab) & also make sure that browser.newtabpage.enabled is set to true.

  • Get the highest value of acquired data

    Hi, how can I get the highest value of data according to data acquired using the accelerometer ADXL345 and LINX in LabVIEW?

    I want the highest data to be shown with a flag. However, the data being shown are always the last acquired data. My problem would be what happens if the highest data somewhere at the beginning or in the middle of all the acquired data? How to display the highest data using an indicator?

    Here's a look at my front, block diagram, and sample of the acquired data.

    From the front panel, the basic indicator of detected last poster 0.1929 (amplitude), which is the last value. But looking at the Excel file, the highest data are data which is 0.2013. The highest, I want to be displayed on the indicator not the last value. How do I do that?

    Thank you!

    I gave you an example of what you need to do - it is not okay if wire you the new value and the old value for the X or Y - it will always return the maximum of the two values so the order doesn't matter. It would have been more useful if you had posted what you tried the max & min. You need a registry to offset inside the loop (like I did with my while loop). If you only want to display the maximum value for each iteration of the loop for external, you must initialize the shift register by plugging a 0 to its terminal on the left. A shift register her pinned the value of the last run - probably not what you want here.

  • Is it possible that I can get the new drive with Windows 7 activation of work without having one installed beside it?

    Hi, I bought a PC with Windows 7 pre-installed, refurbished but the case has a product key for Windows 2000, because he's company ex machine that has been upgraded. I installed a new hard drive and to keep my files, I copied all of the old disk to the new including the operating system. It worked well for a while, but I'm now getting the message "this copy of windows is not genuine". I found the product key of the old drive, but when I enter it on the new one it always says that it is not authentic. Is it possible that I can get the new drive to work without the one installed beside it?

    Original title: activate windows 7

    How to activate Windows 7 or Vista manually (activate by phone)
    http://support.Microsoft.com/kb/950929/en-us

    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) to select your "country" you are in the drop-down list.
    (4) choose the option "activate phone".
    (5) stay on the phone * do not select/press any option * and wait for a person to help you.
    (6) explain your problem clearly to the support person.
    (7) the person must give you a confirmation ID, copy it down on paper,
    (8) check that the ID is correct in reading the support person.
    (9) to enter the ID number, then click 'Next' to complete the activation process.

    Activation and registration of a Microsoft product
    http://support.Microsoft.com/?kbid=326851
    Windows activation: (888) 571-2048
    (888) 725-1047 or 800-936-5700

    What's the relationship between activation and genuine Windows?
    http://Windows.Microsoft.com/en-in/Windows7/what-s-the-relationship-between-activation-and-genuine-Windows

    What is the validation, and how does it work?
    Windows 7: http://windows.microsoft.com/en-us/windows/help/genuine/what-is-validation?os=win7
    Vista: http://windows.microsoft.com/en-us/windows/help/genuine/what-is-validation?os=winvista

    Authentic Microsoft software program privacy statement
    What data is collected?
    http://Windows.Microsoft.com/en-us/Windows/genuine/privacy-statement

    - Product key numbers and letters .

    Not confused the letter B with the number 8, the letter Q with the letter O.
    the letter G and the number 6.

    A, E, I, O and u are not used.

    ----------------------------  Alternatives -------------------------------------

    To enable the use of the phone

    1. open Activation of Windows by clicking on the Start button, right click on computer, clicking Properties.
    then by clicking on activate Windows now. ?

    2. click on show me other ways to activate.

    3 type your Windows 7 product key, and then click Next.

    4. click on use the automated telephone and then click Next.
    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    5. click on the location nearest you from the drop-down list, and then click Next.

    6. call one of the available phone numbers listed. An automated system will guide you through the activation process.

    7. When prompted, enter the installation ID that is listed on your screen in your phone keypad.

    8 Note the confirmation ID the phone system gives you.

    9. under the terms of step 3, type the confirmation ID in the space provided, click Next, and then follow the instructions.

    10. If the activation is not successful, stay on the line to be transferred to a product activation agent who can help you.

    How to contact a Microsoft Product Activation Center by phone
    http://support.Microsoft.com/kb/950929

    Microsoft Activation centers worldwide telephone numbers:
    http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
    (This site is for activating Volume License, but if you call, they will help you)

    The phone number is not working:
    Microsoft Worldwide contacts: http://www.microsoft.com/worldwide/default.aspx

    Register Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/help/register
    Register Windows 7 and you automatically receive a series of three welcome to Windows e-mails
    filled with tips, creative tips and other information to you help get the most out of Windows 7.
    You also get a subscription to the monthly newsletter of Windows Explorer,
    where you will find other tips and tricks, as well as special offers.

    Learn about Activation:
    http://TechNet.Microsoft.com/en-us/library/ff793423.aspx

    J W Stuart: http://www.pagestart.com

Maybe you are looking for