Hashtable keys( ) question

Hello guys,
I have a question regarding hashtables.
Here is a method which returns a vector that contains some items:
public Vector getVectorItems()
        Vector oVector  = new Vector();
        Enumeration oEnum = coQueue.keys();
        while (oEnum.hasMoreElements())
                oVector.add((String)oEnum.nextElement());
        return oVector;
}My Question:
There are times that when oVector is returned, it is empty.
Up to now, I'm still wondering why is the vector was empty.
Thank you very much for your help.

You can use an Iterator instead ...
public Vector getVectorItems() {
Vector oVector = new Vector();
Iterator iter = ((Set)coQueue.keySet()).iterator();
while (iter.hasNext()) {
oVector.add((String)iter.next());
return oVector;
Also, assuming coQueue is a HashMap, use the function KeySet() instead of keys().
try it ....

Similar Messages

  • Satellite - randomly the arrow keys, question mark key and z key will not work

    Sometime the arrow keys, question mark and z key work fine (like now) and sometimes they just don't work at all (like a minute ago).  I will just be typing and they will work and then just stop working, then work again.  They either all work or all do not work. This has been happening since about a week after I got the computer.  It is so annoying.  Can you please help me fix this problem?  I have a Satellite T135-S1309.
    Many thanks.

    Hi, 
    I've posted recently about keyboard problem, and have tried everything as everybody else, finally and oddly :-) the solution for my problem was to reconnect little flat cable that connects keyboard and MB :-D shown in step 10 on the following link:
    http://www.irisvista.com/tech/laptops/Toshiba-Satellite-X205/take-apart-laptop-2.htm
    ..so maybe your keyboard somehow strangely detached itself from mother-board just a bit and started creating all sorts of strange problems as mine... one cable line was without contact because flat cable was not attached properly anymore and mentioned keys stop working... I have also downloaded keyboard tester software that helped me find all keys and combination of keys that stop working ... so guys, try that and good luck!    

  • T430s or T431s? and a key question concerning the T431s mSATA slot

    T431s or T430s?
    First let me apologize for my English, sorry if reading through this cause you any headache…
    I gave away my T410 (bad bad decision) the day after I got a i7 Yoga 13 with 256G SSD, and bought a M4 256G which I planned to put in the free mSATA slot, only to find out i can't live with that yoga keyboard and that huge off-center touchpad which gets in the way all the time a few days later... anyway, end up returned that yoga13 and is using my heavily abused limping T500 now with a replaced motherboard... I was looking to go back to thinkpad and buy a T430s right away but Lenovo announced T431s one day afterwards. now i dont know what to choose, although leaning towards T431s a little bit.
    things i'm looking for in my next laptop: first X1C is not an option for me, I can’t accept that screen with high dot pitch.
    l  weight: less than my T410, it doesnt have to be light as an Acer S7 or Samsung 9, just reasonably lighter, and as slim as possible.
    l  Processing power: doesn’t really matter, anything i5 or i7, M or U… all fine to me, I can run Lightroom, DPP and video processing applications on my desktop and I don’t play games. 8G or more RAM is needed.
    l  Storage: comes with 256GB SSD or user upgradeable to 256GB SSD is an absolute minimum requirement, but I really prefer any flexibility to configure a second drive, HDD or SSD, is a big plus, preferably HDD as the second drive.
    l  Screen: wouldn’t mind squeezing my eyes on a FHD screen, but I can only settle on a 900p, afterall I’m looking for a thinkpad, have to live with that screen, right?
    l  Tough… every one of my laptop gets dropped once or twice… many many times in the case of my old T410… so it needs to be tough…
    l  Not much else…
    So, T431s is lighter, slimmer, user replaceable 7mm SSD, mSATA available (a concerning question later), all good, and I like the new look. And I don’t care much about the indicators, lid lock, flipped logo or that new touchpad (I think I can manage, maybe…).
    So what do I have to sacrifice if I choose T431s? removable battery, ultrabay for optical drive and HDD, full voltage cpu, and possibly a couple hundred dollars… since we don’t know for sure how much optional parts will cost in customized build, and of course the risk of buying an unproven, newly designed product. Did I miss any other key point?
    If I didn’t miss many advantages that T430s have, I probably should go with T431s, it was all good until I found a video which shows how to disassembled a T431s (http://v.youku.com/v_show/id_XNTI5NzIxMzg4.html) and at about 4 mins in, it shows that the WWAN card is secured by a single retaining screw in the middle on the outer edge, unlike typical mSATA SSD which should be secured on the 2 corners of the board. Does this mean users can no longer install a mSATA SSD on T431s? if so, I can only have one 7mm SSD instead of having OS installed on a 256G mSATA, and have a 500G HDD to storage all the photos and videos, which I was intended to do, that maybe a deal breaker…
    I don’t really understand these hardware upgrades, can some one please tell me for sure whether the mSATA slot on T431s, as shown in the video, can be used to intall a regular mSATA SSD. If I can, I’ll probably still struggle to make the decision, if it can’t be used to install SSD, T430s it is.
    Any help is appreciated!
    Kai
    Solved!
    Go to Solution.

    thanks, yes, it's the new NGFF M.2, and the new form factor is a lot more complicated than the old mSATA slot, different dimensions for different storage size, and it maybe single side for WWAN, cashe drive, or double side for actual SSD perfermance... 
    if i'm gonna get a T431s, i'll just buy the 320G 5400RPM low end drive, make a recovery media from Win8, and reset to factory setting after intall a 512GB 840 Pro, or the much cheaper M4... 

  • License key question with regards to upgrading from 7/8.1 to 10

    Hi, I hope I've posted my question in the right area of the forum:
    I understand that Windows 10 will be a free upgrade for Win7/Win8 users.
    That's really wonderful but I was wondering what the exact mechanism with regards to our 7/8 license keys. Here's a couple examples to clarify my question:
    first, example: I have Windows 7 Pro license and say I upgrade to 10 within the first year. Let's say I need to reinstall Windows after that first year is finished will I still be able to use that same license key I used to upgrade 7 to 10 to install a fresh
    copy of Windows 10 or will I need to purchase a new license because the year is elapsed? 
    Here's another scenario. I upgrade to Windows 10 from 7 and after trying Windows 10 for while, I decide to uninstall 10 and go back to 7... because I'm crazy like that.... Will I be able to use my original Key for Windows 7 or is the upgrade a one way road:
    where the 7 key turns into a Windows 10 key and can no longer be used to activate Windows 7?
    Thanks for the feedback!

    Hi Momashi
    Here's another scenario. I upgrade to Windows 10 from 7 and after trying Windows 10 for while, I decide to uninstall 10 and go back to 7...
    because I'm crazy like that.... Will I be able to use my original Key for Windows 7 or is the upgrade a one way road: where the 7 key turns into a Windows 10 key and can no longer be used to activate Windows 7?
    If you Upgrade to Windows 10 and do not like it, for whatever reason.
    Before you upgrade to Windows 10.
    Create an image of windows 7 to an external HD and a recovery CD, using windows 7 Backup and Restore.
    You can re-install windows 7 in the SAME SYSTEM using the recovery CD without using  a key.
    Hope it helps
    Where did you get your outlandish information about a Windows 7 key turning into a Windows 10 key?  Nothing in the past has ever happened like this before, so what makes you think it will happen with Windows 10?
    My Windows ME did not turn into a Windows XP key!
    My Windows XP key did not turn into a Windows Vista key!
    My Windows Vista key did not turn into a Windows 7 key!
    And so on!
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • What are the key questions for third party order process?

    hi all,
    what type of questions can i receive for third party order process?
    pls.. do the needful
    thanks to all.

    Hi arun,
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background 
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO 
    7. Goods receipt MIGO 
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and,   therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing     
    SD -  3rd party sales order Create Sales Order
    VA01
          Order Type
          Sales org, distr chnl, div
          Enter
          Sold to
          PO #
          Material
          Quantity
          Enter
          Save
    SD -  3rd party sales order View the PR that is created with a third party sales order
    VA01
          Order Number
          Goto Item Overview
          Item ->Schedule Item
    SD -  3rd party sales order View the PR that is created
    ME52N
          Key in the PR number
          Save
    SD -  3rd party sales order Assign the PR to the vendor and create PO
    ME57
          Key in the PR number
          Toggle the "Assigned Purchase Requisition"
          Execute
          Check the box next to the material
          Assign Automatically button
          Click on "Assignments" button
          Click on "Process assignment"
          The "Process Assignment Create PO" box , enter
          Drag the PR and drop in the shopping basket
          Save
    SD -  3rd party sales order Receive Goods
    MIGO_GR
          PO Number
          DN Number
          Batch tab , click on classification
          Serial Numbers tab
          Date of Production
          Flag Item OK
          Check, just in case
          Post
          Save
    SD -  3rd party sales order Create Invoice
    MIRO
          Invoice Date
          Look for the PO , state the vendor and the Material
          Check the box
          Clilck on "Copy"
          Purchase Order Number (bottom half of the screen)
          Amount
          State the baseline date
          Simulate & Post
          Invoice Number
          *Invoice blocked due to date variance
    SD -  3rd party sales order Create a delivery order
    VL01N
          In the order screen , go to the menu Sales Document , select "Deliver"
          Go to "picking" tab
          State the qty and save
    SD -  3rd party sales order Create a billing document
    VF01
          Ensure that the delivery document is correct in the
          Enter
          Go to edit -> Log
          Save
    Pl. be clear on this process.
    Also understand how migo and miro are handled.
    The item categories used.
    How the company knows of the shipment of goods to the customer.
    How returns are handled.
    Hope it helps. Please reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • Ignoring case in Hashtable key names

    Is there any way to check a Hashtable for a key value (which is a string) but to ignore the case of the letters in the string?
    if(hashtable.contains(keyValue)){ .... }
    returns false if the string keyValue has different capitalization from the key in the hashtable.
    Thanks
    J A

    No, if you want to do it by subclassing Hashtable (incidentally, why Hashtable rather than HashMap?) then you want to override the put, get, contains, and remove methods to call String.lowerCase() on the key. Sylvia's suggestion was to insert a wrapper around String into the map rather than to subclass the map.

  • Primary key question with PHPmysql database

    I know that updating the primary key is taboo, but I have a a newsletter subscription form set up that works perfectly, but I can't figure out how to create the primary key.  I tried using the subscriber email address (because its unique, but in trying to add an update function I realize that the email address may need to be updated.
    My question is how do I get a primary key that will work when I'm relying on a form variable to create the record and therefore have no control over assigning one?
    Is there a way to have one automatically assigned when a subscriber hits the submit button?

    Bingo.
    I wrote:
    ALTER TABLE email_list  ADD (      id MEDIUMINT NOT NULL AUTO_INCREMENT,      name CHAR(30) NOT NULL,      PRIMARY KEY (id)  )
    I got my primary key column.  thank you so much!!!

  • SharePoint remote provider hosted apps - confusion around key questions

    For some time, I have been trying to get a provider hosted app setup to work, and I am afraid that I - as a relative novice - must have missed some key points despite hours of googling and reading. Here's my questions:
    A remote, provider hosted app, would have its AppWeb in a domain that is different from the host SharePoint Farm in which it is gets installed and used. In other words, the AppWeb may be located at remote.contoso-apps.com, where as the SharePoint farm uses
    for instance spslocal.mycorp.com. However, when you - in the SharePoint host farm - set up your App Domain/App isolation - you can only provide one value - which in this case would then need to be remote.contoso-apps.com??? Does that mean that each SharePoint
    Farm can only contain Apps from one vendor delivering remote apps? Or is the key in hard coding the app web in the manifest? (However, even if I've tried this it seems like the token SPAppWebUrl still translates into the pattern defined in the App Isolation
    Settings in the host farm???).
    Back to the AppWeb: Many bloggers have mentioned that you have to add some kind of SharePoint element to your App project (not the Web Project part) to get the AppWeb provisioned from Visual Studio 2013. But at what stage are these SharePoint elements actually
    provisioned - during some kind of publish operation of the Web Project part (the Pages, Scripts etc.) or when you install the app package (hardly the latter, since the first installation may be when a customer installs the app???). The reason I ask is (of
    course) that my SharePoint Elements do not seem to get provisioned. And just to test my very basic understanding: the AppWeb can be any pure IIS web site from the start - i.e., not a SharePoint Web App?
    Thanks for any help on these challenging issues!

    Paul,
    thanks for your effort, but unfortunately the answers do not get me much further.
    Question 1: You write "You can only use one domain, because cross-domain IFrame requests are blocked in SharePoint 2013". This is contrary to numerous other articles that explain how the SharePoint cross-domain library (SP.RequestExecutor.js) can be
    used to communicate across domains. From the outset, the whole idea about an AppWeb is - according to Microsoft documentation - that the AppWeb should be isolated from the HostWeb and therefore in a separate domain. 
    This article,
    http://msdn.microsoft.com/en-us/library/office/jj612823(v=office.15).aspx, even talks about scenarios where the SharePoint Host Web and App Web are in different security zones!
    So according to a load of other documentation it is indeeed a valid scenario I am addressing, but I still miss the key answers to the questions above. I suspect that the key is to hardcode certain URIs in your app that points to the cloud AppWeb
    (so the single App Domain specified in the Host Farm is not used at all), but I have failed to find the necessary documentation on this.
    Question 2: The article mentioned does not talk about the issues that I have asked about, specifically when the SharePoint elements in the App are created.
    Anyone with experience in this area? Thanks!

  • Composite Primary Key question

    I have a new question regarding composite primary keys on another table I have created.
    I have the following table with the following definition:
    CREATE TABLE "APSOM"."CPULIST"
    ( "CPU_ID" VARCHAR2(10 BYTE),
    "SERVER_ID" VARCHAR2(10 BYTE),
    "CREATED_DATETIME" TIMESTAMP (6),
    "UPDATED_DATETIME" TIMESTAMP (6)
    with the following composite PK definition:
    ALTER TABLE "APSOM"."CPULIST" ADD CONSTRAINT "CPULIST_PK" PRIMARY KEY ("CPU_ID", "SERVER_ID")
    Then, I inserted data in the following way:
    insert into CPULIST
    values ('CPU1', 'P1', SYSDATE, SYSDATE);
    with following CPU ID values from 'CPU1' to 'CPU16' for SERVER ID value 'P1' also inserted as well.
    Now, I am trying to insert values for SERVER ID value 'P2'
    insert into CPULIST
    values ('CPU1', 'P2', SYSDATE, SYSDATE);
    and I am getting the following error message:
    Error starting at line 1 in command:
    insert into CPULIST
    values ('CPU1', 'P2', SYSDATE, SYSDATE)
    Error report:
    SQL Error: ORA-00001: unique constraint (APSOM.XPKCPULIST) violated
    00001. 00000 - "unique constraint (%s.%s) violated"
    *Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
    For Trusted Oracle configured in DBMS MAC mode, you may see
    this message if a duplicate entry exists at a different level.
    *Action: Either remove the unique restriction or do not insert the key.
    Using the following SQL command:
    select column_name from all_cons_columns
    where constraint_name = 'CPULIST_PK'
    and owner = 'APSOM';
    I get the following records
    1. CPU_ID
    2. SERVER_ID
    This error does not make sense to me. Any help would be appreciated.
    Thanks,
    Patrick Quinn
    Operations
    Turning Point Global Solutions

    So, if there is a hidden unique constraint XPKCPULIST that cannot be pulled the all_cons_column table and I drop the XPXCPULIST constraint with the following SQL:
    alter table CPULIST drop constraint XPKCPULIST;
    Error starting at line 1 in command:
    alter table CPULIST drop constraint XPKCPULIST
    Error report:
    SQL Error: ORA-02443: Cannot drop constraint - nonexistent constraint
    02443. 00000 - "Cannot drop constraint - nonexistent constraint"
    *Cause:    alter table drop constraint <constraint_name>
    *Action:   make sure you supply correct constraint name.
    What can I do to get past this so I can perform the following insert and receive this error message??
    insert into CPULIST
    values ('CPU1', 'P2', SYSTIMESTAMP, SYSTIMESTAMP);
    Error starting at line 1 in command:
    insert into CPULIST
    values ('CPU1', 'P2', SYSTIMESTAMP, SYSTIMESTAMP)
    Error report:
    SQL Error: ORA-00001: unique constraint (APSOM.XPKCPULIST) violated
    00001. 00000 - "unique constraint (%s.%s) violated"
    *Cause:    An UPDATE or INSERT statement attempted to insert a duplicate key.
    For Trusted Oracle configured in DBMS MAC mode, you may see
    this message if a duplicate entry exists at a different level.
    *Action:   Either remove the unique restriction or do not insert the key.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Rename hashtable keys

    I need to rename some keys in an Hashtable, and i'm wondering if there are "better" ways than creating a new Hashtable and copying the values into it with different key names.

    About using HashMap instead of Hashtable i'm not sure
    i can do so, because i'm just modifying a part of a
    huge web app and i'd need to make sure the change
    doesn't affect other parts. Don't mess with it if you don't have to. I assumed (incorrectly) that this was a new program.
    By the way what's the
    advantage of HashMap over Hashtable ?HashMap isn't synchronized, and has some additional performance benefits over Hashtable. That doesn't mean that Hashtable is used when you need to synchronize the Map. The Collections class provides a method for that. The main reason is that Hashtable was replaced with HashMap. A new hashtable implementation was not created for no reason. There were problems with the original design. HashMap is a living class and will be updated and improved upon as needed. We can't say the same for Hashtable. The main reason Hashtable is still around is that it is used in too much code in the JDK and elsewhere. A lot of developers still use it and I think that's a huge mistake.

  • Match not functioning for hashtable keys

    Updated
    Hello,
    I'm seeing unexpected behavior and am hoping for a little help.
    My PS ver is:
    Major  Minor  Build  Revision
    3      8      0      129 
    Here is a snip that illustrates the issue (reproducible)
    $aRecords = $null; $aRecords = @{}
    $aRecords.add('tblARecords_1_txtHost','1.1.1.2')
    $aRecords.add('tblARecords_0_txtHost','1.1.1.1')
    $aRecords.add('tblARecords_1_txtPointsto','1.1.1.2')
    $aRecords.add('tblARecords_0_txtPointsto','1.1.1.1')
    $gdRecords = $null; $gdRecords = @{}
    $gdRecords['typeA'] = $aRecords
    $records = $null;$records = @()
    $records = 'tblARecords_0'
    foreach($g in $gdRecords.Keys) {
    foreach($d in $gdRecords[$g]) {
    if($d.Keys -match $records) {
    write $d
    $records = tblARecords_0
    But the results i get back are 
    tblARecords_1_txtHost
    tblARecords_0_txtHost
    tblARecords_1_txtPointsto
    tblARecords_0_txtPointsto
    Even if i substitute the the variablw $wr with the string itself ('tblARecords_0'). It still produces the same same results
    Any help would be appreciated

    I understand that he is devoting his own time and effort, and that he is not a MSFT employee. For that i am appreciative. My issue is that an approved moderator should be a bit more thoughtful with his language. Normally i wouldn't care but am having one
    of those days. Problem is someone may be put off from that approach and may not come back. Perhaps also move on to something else as a result.
    I also agree with his request, I probably should have made a reproducible script prior to posting and am updating my question.
    Sorry but I disagree.  I know you believe your post is useful and explains everything.  It doesn't.  None of us can decode your variables or comments because we do not have your environment or the full script.
    Bill was trying to point put that you need to put in more effort to ensure those who are trying to help you do not have to play guessing games.
    Items 7 and 8 are exactly to the point.  Addres those issues and you will likley get a quick and correct answer.
    Here are items 7 and 8:
    7. Let someone else devise a repro case. When the button click handler isn't called in your sample, by no means should you try to create a smaller repro case. All you know is that your sample doesn't run.
    8. Post a sample that depends on a resource you don't describe. Be sure your sample reads from your production database. Don't worry, people will figure out your schema.
    ¯\_(ツ)_/¯

  • Use of primitive datatypes as hashtable key finally OK?

    Are we finally at the point where we can use primitive values as keys in a hashtable? I know that this wouldn't work in the past, and I haven't needed to use a hashtable for years, so I haven't really cared.
    Yesterday I tried it in a program compiled for JVM 1.5, using ints for the keys, and it runs fine. Admittedly, I do get several "unchecked operation" warnings during compilation.

    Yesterday I tried it in a program compiled for JVM
    1.5, using ints for the keys, and it runs fine.
    Admittedly, I do get several "unchecked operation"
    warnings during compilation.It autoboxed the ints as Integers for you. Under the covers it is still using Integer objects.

  • ESB DbAdapter primary key question

    Hi,
    I have an ESB process that pushes data from a legacy table into the GL_INTERFACE table in Oracle E-Business Suite.
    The DbAdapter for reading from the legacy table had two primary keys defined. We've recently learned that these two fields do not always uniquely identify a record. If I had two records with the same data in these two fields, they would both be inserted into the destination table, but the data inserted for both records would be the same as that of the first record (seemingly ignoring the second record). I solved this problem by defining a third primary key relationship in the DbAdapter, and that worked fine.
    My question is this: why did both records inserted into the destination table contain the same data?
    Any ideas?
    Thanks in advance.

    The the table in the database doesn't have a primary key defined, but, of course, Oracle's DBAdapter requries primary keys defined. There were actually two records in the database, with the same information in the columns that I defined as primary keys, but other information was different for the two records. It seems as though the ESB used the data from the first record when it encountered the second. Am I correct that this is what happened?

  • Primary Key Question

    Probably a silly question - I'm fairly new to APEX and trying to design a small system. I come from a FORMS background, and would always have had my support tables with character keys e.g. Clubs - Club_code, varchar2(3), Club_name varchar2(30) with values like "ABC" and "CDE" as mnemonic primary keys. APEX seems to want a sequential PK on the tables used - is it feasible to use character PK fields, or better to go with the default functionality?
    Thanks
    Malcolm

    Hi Mal,
    like you I'm not a fan of sequence generated keys on everything, I think this was a design choice made by the Apex team in the early days of Apex (HTMLDB) when the intention was that Apex would be intended primarily for non-technical users. To me its an implementation choice and has nothing to do with relational design theory, and when working with new interfaces to existing systems, it may be a choice the developer does not have. I think it would just be simpler if the Apex developer had that choice when using the wizards.
    For ordinary forms it is not too difficult.
    1. Create a new page as a "Form on a Table with Report". Identify the PK field and set this as populated from an existing trigger.
    2. Edit the form page that was created. Edit the item created for the PK field. Set the "Display As" property under "Name" to "text field".
    3. Set the "Read Only Condition Type" property under "Read Only" to "Value of Item in Expression 1 is NOT NULL". Enter the name of the item in "Expression 1".
    Now when you run the report page, depending whether the table is empty you may see some rows. Regardless, you can click on the create button and it will take you to the form page with the PK text field enterable. You can enter a row of data and click create and you are taken back to the report page. Now when you click the edit link for a row in the report you will see that you are taken to the form page with the PK field is now Read Only. (Correct behaviour as PKs should not be updateable)
    Depending how you specified the link in the report page, you may also want to change the PK column to show the value of the column rather than an edit graphic. This can be done by editing the report page and then editing the Report Attributes of the report region. Edit the PK column from the list of columns and set the Link Text in the Column Link to the column name surrounded by # character. ie #P30_COL_NAME#. This can be quickly achieved by clicking the column name quick link just below.
    Unfortunately there is easy fix with the tabular forms wizard. You either have to create new Multi Row Update processes or possibly use the updateable views and instead of triggers method.
    Regards
    Andre

  • Mac/Windows cd key - question for gamers

    Hey
    This a question for people who understand CD Serial Keys.
    I have Battlefield 2142. I want to buy a new cd key, for a fresh start, due to Punk Buster implications...
    I found this website: https://cdkeys.com.au but for Battlefield 2142 it says: OS: Windows XP ... or I could just buuy from Origin as a PC download, not sure if that means Mac as well.
    So say I downloaded the Windows version, can I use that CD Serial Key, for my Mac version. (my mac version was purchased as a disk, back in 2008).
    Thanks for you help and replies!!!

    Hi there
    What is your current problem?
    Which operating system are you using now?
    If you want, you can try to contact HP and see if recovery media is available, for reinstallation OS to factory settings:
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=in&lc=en&docname=bph07143
    If the 25 character product key has faded, your alternate option to download Windows 7 ISO and clean install CANNOT be thought of.
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

Maybe you are looking for

  • Why does my remote app not find my iTunes Library?

    I am trying to use my Remote App on my iPhone 5 to connect to my Windows 7 laptop, the iTunes is upgraded to the latest (iTunes 11). My HomeSharing is on in both spot (iTunes and Remote App). My Apple TV shows up in Remote App but my iTunes Library d

  • How to restrict data by using a variable in webi

    Hi Gurus, My users need to see only previous day data when they open the webi but should have ability to view older data later. How can I do that? I tried =MAX(Day([Creation Date]) In Report) But its not giving me right results. Any suggestions? Rega

  • How to enter multiple values in BEX Analyzer 7.0

    We are on 7.0.  I created a query in Query Designer with a variable type of Select Option.  When I execute the query in BEX Analyzer, how do I enter multiple selections? Thanks. Ryan

  • SAX Parser in Webdynpro for Java

    Hi,      Scenario : To get data entered in the Dynamic table of an online PDF form. I have got the XML of the PDF form. The problem is with Parsing the XML to get the data. I am using SAX parser. The code structure is as given, public class Outercomp

  • Cursor setting problem

    Below is a simple example of a frame that contains a button to call a method (longProcess()) that takes some time to execute. While longProcess is executing, the cursor is changed to an hour-glass. The problem I have is that when the cursor leaves th