JTabbedPane and variable issue

ok so here's what I've got, it's a mess I know, everything is added and defined and such, but got cut out to make the code fit, but before I can clean it up I have to figure out what is wrong, my problem as far as I can tell is I don't know how to reference variables in gui, I think I had this problem before but I don't know how to fix it, the variable names are right, it's looking in the right class but nothing in the tab can be found from the action listener. I don't know where else to look. I'm really hoping that's the issue anyway, and not something that requires the demolition of all the code. thank you,
import java.awt.*;
import javax.swing.*;
import java.util.*;
import java.text.*;
import java.awt.event.*;
import java.io.*;
public class PoolEstimator extends JFrame
public PoolEstimator()
super( "Pool Estimator" );
DefaultListModel listModel = new DefaultListModel();
JTabbedPane tab = new JTabbedPane();
// constructing the second panel
JPanel CustInfo = new JPanel();
CustInfo.setLayout(new FlowLayout(FlowLayout.LEFT));
JLabel FirstName, LastName, Street, City, Zip, Phone, poolDepthup, poolDepthlow,
yardLength, poolLength, yardWidth, poolWidth, state;
JTextField FirstNamein, LastNamein, Streetin, Cityin, Zipin,
Phonein, poolDepthupin, poolDepthlowin, yardLengthin, poolLengthin, yardWidthin, poolWidthin;
String[] States = {"AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA",
"KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK",
"OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"};
JComboBox State = new JComboBox(States);
FirstName = new JLabel("First Name");
LastName = new JLabel("Last Name");
Street = new JLabel("Street Address");
City = new JLabel("City");
state = new JLabel("State");
Zip = new JLabel("Zip Code");
Phone = new JLabel("Phone Number");
yardLength = new JLabel("Length of the yard.");
yardWidth = new JLabel("Width of the yard.");
poolDepthup = new JLabel("Deepest depth of the pool.");
poolDepthlow = new JLabel("Shalowest depth of the pool.");
poolLength = new JLabel("Length of the pool.");
poolWidth = new JLabel("Width of the pool.");
FirstNamein  = new JTextField(20);
LastNamein   = new JTextField(20);
Streetin   = new JTextField(25);
Cityin   = new JTextField(15);
Zipin  = new JTextField(5);
Phonein  = new JTextField(5);
poolDepthupin  = new JTextField(2);
poolDepthlowin  = new JTextField(2);
yardLengthin  = new JTextField(3);
poolLengthin  = new JTextField(3);
yardWidthin  = new JTextField(3);
poolWidthin  = new JTextField(3);
JButton Add = new JButton("Add");
CustInfo.add(Add);
tab.addTab( "New Customer Estimate", null, CustInfo, "Customer Information Page" );
getContentPane().add( tab );
setSize( 325,400 );
setVisible( true );
addWindowListener(new WindowAdapter()
   public void windowClosing(WindowEvent e)
   System.exit(0);
     AddButtonHandler AddNew = new AddButtonHandler();
     Add.addActionListener(AddNew);
class AddButtonHandler implements ActionListener
     public void actionPerformed(ActionEvent e)
          try
          //PoolEstimator run  = new PoolEstimator();
          String StateSelection = PoolEstimator.State.getSelectedItem().toString();
          FileWriter AddEstimate = new FileWriter("Estimate.dat", true);
          AddEstimate.write("First Name: ");
          //AddEstimate.write(run.FirstNamein.getText());
          AddEstimate.write("\nLast Name:  ");
          //AddEstimate.write(LastNamein.getText());
          AddEstimate.write("\nTotal Cost:  ");
          //int width, length, depthupper, depthlower, SurfaceArea, Cement, Rebar, Labor, totalCost;
          //width =Integer.parseInt(poolWidthin);
          //length = Integer.parseInt(poolLengthin);
          //depth = (Integer.parseInt(poolDepthupin) + Integer.parseInt(poolDepthlowin))/2;
          //SurfaceArea = (width * depth)*2+(length*depth)*2;
          //Cement = SurfaceArea * 3;
          //Rebar = SurfaceArea *5;
          //Labor = SurfaceArea%10*18;
          //totalCost = Cement+Rebar+Labor;
          //AddEstimate.write(totalCost);
          AddEstimate.write("\n,");
          AddEstimate.close();
          //run.listmodel.add(run.FirstNamein + run.LastNamein);
        catch(IOException r)
        JOptionPane.showMessageDialog(null,r.getMessage(),"ERROR",2);
public static void main( String args[] )
PoolEstimator run = new PoolEstimator();
run.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
}

Im a newbie but Im finding it hard to understand what your talking about.
Could you explain what your program is suppose to do and what you want it to do that it isnt doing yet because you dont know how?
Plus I just thought I would mention this incase but its easier to use the following JFrame method instead of adding a window adaptor:
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Similar Messages

  • Powershell Coding - Path and Variable Issues

    Hello, I am working with a powershell program to copy a file off of my flash drive and into the startup file of what ever user is logged onto that computer. 
    My code is
    powershell -command { }; $a=[Environment]::UserName ; $c='E:\Other\Programs\program2.bat' ; $b='C:/Users/$a/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup' ; copy $c $b ; start-sleep 30
     It just uses the $a instead of the variable name...  if I change it to " " it says that the path cannot be found a cmd or operable program. and it stops at Windows/Start 
    can anyone help me out with this?
    For anyone wondering why I am using powershell -command  instead of ISE is because I am running it from a .bat file because the execution policy is set to restricted AND CANNOT BE CHANGED.

    Try
    $b="\"C:/Users/$a/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup\"";
    You must use double quotes for Powershell to use the value of $a - See:
    https://technet.microsoft.com/en-us/library/hh847740.aspx
    and you need an extra set of quotes escaped with a backslash to cope with the space in "Start Menu" - See:
    http://www.tinyint.com/index.php/2011/04/20/escaping-quotes-in-powershell-exe-command-via-command-prompt/
    In future (or if this is not working for you) please direct questions about Powershell to this forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG

  • NavigateToUrl and variables issue

    I'm having an issue passing variable to a local html file using an installed Air application. This works up to a point. I have a web page with a swf that passes a string Array to the Air app that is already installed on the desktop. I know the string arrray gets passed because I can parse it within the Air aplication. I run into a problem when I try to launch a local html file with the string array set as variables in the URLrequest. The launch.html sits in the same directory where the Application is installed. I have no problem launching the file, it just doesn't pass along the variables with it. Any clue as to why this isn't working would save me from disaster.
    Here is the code:
    import flash.events.Event;
    import flash.external.ExternalInterface;
    import flash.net.URLRequest;
    import flash.desktop.NativeApplication;
    import flash.events.InvokeEvent;
    import flash.utils.*;
    import flash.events.BrowserInvokeEvent;
    import flash.filesystem.File;
    import flash.errors.IOError;
    import flash.net.URLLoader;
    import flash.net.URLVariables;
    import flash.net.URLLoaderDataFormat;
    import flash.net.URLRequestMethod;
    import flash.events.IOErrorEvent;
    import flash.net.navigateToURL;
    import flash.net.sendToURL;
    var arguments:Array;
    var dateString:String;
    var indexString:String;
    var videoTime:String;
    var videoIndex:String;
    var urlContent:String;
    var urlRequester:URLRequest;
    var variables:URLVariables;
    NativeApplication.nativeApplication.addEventListener(BrowserInvokeEvent.BROWSER_INVOKE, onBrowserInvokeEvent);
    //var currentDir:File;
    function onBrowserInvokeEvent(invocation:BrowserInvokeEvent):void
    arguments = invocation.arguments;
    videoTime = invocation.arguments[0].toString();
    videoIndex = invocation.arguments[1].toString();;
    dateString = "dateString="+videoTime;
    indexString="indexString="+videoIndex;
    //urlContent = "launch.html"+"?"+dateString+"&"+indexString;
    //currentDir = invocation.currentDirectory;
    urlContent = "launch.html";
    urlRequester = new URLRequest(urlContent);
    variables = new URLVariables();
    variables.dateString = videoTime;
    variables.indexString = videoIndex;
    urlRequester.data = variables;
    Arguments.text=variables.toString();// outputs dateString=date&indexString=1
    urlRequester.method = URLRequestMethod.GET;
    var htmlLoader:URLLoader = new URLLoader(urlRequester);
    //htmlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    htmlLoader.dataFormat = URLLoaderDataFormat.TEXT;
    htmlLoader.addEventListener(Event.COMPLETE, URLLoaded);
    try    {
                    htmlLoader.load(urlRequester);
                   // Arguments.text="Loaded";
          //navigateToURL(urlRequester);
                catch (error:Error)    {
                    Arguments.text="Unable to load URL";
    navigateToURL(urlRequester);
    The Javascript reading the variable looks like this:
    <script type="text/javascript">
    var dateString;
    window.onload=function()
    var myQueryString=window.location.search; 
    // remove the '?' sign if exists       
    myQueryString=myQueryString.substr(1, myQueryString.length-1);
    dateString=myQueryString;
    function show_alert()
    alert(dateString);//currently returns nothing
    </script>
    </head>
    <body bgcolor="#ffffff" style="margin:0px">
    <input type="button" onclick="show_alert()" value="Show alert box" />
    Thanks in advance
    DoctorNic

    Ok, since my air application is pulling variables via BrowserInvocation the variables need to be converted to strings. So once I declare the urlVariables I need to decode them to strings.
    function onBrowserInvokeEvent(invocation:BrowserInvokeEvent):void
         arguments = invocation.arguments;
          videoTime = invocation.arguments[0].toString();
          videoIndex = invocation.arguments[1].toString();;
          dateString = "dateString="+videoTime;
          indexString="indexString="+videoIndex;
         urlContent = File.applicationDirectory.url.substring(0, File.applicationDirectory.url.lastIndexOf("/") + 1) + "launch.html";
          urlRequester = new URLRequest(urlContent);
          variables = new URLVariables();
          variables.dateString = videoTime;
         variables.indexString = videoIndex;
         variables.decode(variables.toString());
          urlRequester.data = variables;
          Arguments.text=variables.toString();
    Thanks Again.

  • System PATH environment variable issue when user log off and log in or switch from admin to non-admin account

    Hi,
    Problem Description:
    After installing my new product version, when user does log-off and log in again into admin account
    or switch from admin account to non-admin account, PATH environment variable shows incorrect path of my product (previous product version’s path) using command prompt.
    It seems windows refresh issue during session changes (log off and log in / switch from Admin to
    Non-admin account).
    Why PATH environment variable is not refresh immediately after log off and log in again or Switch
    from admin to non-admin mode?. 
    Please see my thread for more details http://social.msdn.microsoft.com/Forums/vstudio/en-US/445ab42c-bdff-405a-8d53-558e1b6c7d34/path-environment-variable-issue-when-user-logoff-and-login-or-switch-from-admin-to-nonadmin?forum=windowsgeneraldevelopmentissues
    Also submitted bug for this in connect.microsoft.com portal.In that it has lots of information
    like problem statement, Reproduction steps and Expected Results.
    Bug ID: 871782
    Could you please any body help me for this?. your support will be appreciated.
    Thanks,
    Marichamy

    Why PATH environment variable is not refresh immediately after log off and log in again or Switch
    from admin to non-admin mode?. 
    I wouldn't have any expectation of what you are doing to work the way you expect.  E.g. why is the %ABC% being replaced at all?  There is some help about this ambiguous scenario in the cmd help...
    /V:ON Enable delayed environment variable expansion using ! as the
    delimiter. For example, /V:ON would allow !var! to expand the
    variable var at execution time. The var syntax expands variables
    at input time, which is quite a different thing when inside of a FOR
    loop.
    /V:OFF Disable delayed environment expansion.
    So, what's the setting for the /V:  switch that your users would be using?  Perhaps you should be using the ! instead of the % for your ABC variable?
    Oh.  There's more below where I found that...
    Delayed environment variable expansion is NOT enabled by default. You
    can enable or disable delayed environment variable expansion for a
    particular invocation of CMD.EXE with the /V:ON or /V:OFF switch. You
    can enable or disable delayed expansion for all invocations of CMD.EXE on a
    machine and/or user logon session by setting either or both of the
    following REG_DWORD values in the registry using REGEDIT.EXE:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\DelayedExpansion
    and/or
    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\DelayedExpansion
    to either 0x1 or 0x0. The user specific setting takes precedence over
    the machine setting. The command line switches take precedence over the
    registry settings.
    In a batch file the SETLOCAL ENABLEDELAYEDEXPANSION or DISABLEDELAYEDEXPANSION
    arguments takes precedence over the /V:ON or /V:OFF switch. See SETLOCAL /?
    for details.
    If delayed environment variable expansion is enabled, then the exclamation
    character can be used to substitute the value of an environment variable
    at execution time.
     So, I guess the essence of your "bug" will boil down to whether you
    need the feature to get the result you want and the
    truth of that first sentence but it certainly looks like a "can of worms" to me.   ; )
    HTH
    Robert Aldwinckle

  • Variable issue in crystal report

    Hi Experts,
    I hope you are doing the good job and i developed the BEX report which is developed 3 variables , one of the variable is in navgational attribute and remain 2 attributes in char which is working fine  and we developed the crystal report on top of bex query  its working fine after that  as per requirement i changed navgational attribute and variable .Now the crystal report is not showing the variable prompt which i build on Nav attribute.So plz pass your inputs on this issue.
    Regards
    RK

    Dear Kumar,
    Thank you very much for you reply and we using the below mentioed details.
    Exact version:4.1,support pack/service pack:sp3,patch level of CR:0
    SAP BI:7.3
    Regards
    RK

  • Tables for Fiels Fixed Value and Variable Value

    Hi,
    Can any one tell me where the actual fixed and variable costs are stored in which table and also the planned costs. I have checked it, but it is showing RKPLN as data structure. We are doing development report where in standard Cost Center Report we need to have break up of fixed and variable cost. Please guide me where exactly these fields are stored in which table. its very urgent.

    Hi,
    In regard to the tables for planned data please do a search of the forum as this question has already been asked a few times. E.g. here:
    CO PLANNING TABLES
    In regard to fixed / variable actual costs: these are not stored in separate tables. If a posting contains fixed and variable portions, for example postings resulting from splitting (KSS2), then the fixed portion is stored in the COEP- WKFBTR (line items) and COSS-WKF*  fields (summary items).  Please observe SAP note 192107 on this issue.
    Regards
    Karl

  • Real life technical and business issues--FICO--implementation

    Hello,
    Can someone please give some real-life Technical and Business issues and problems faced by FICO consultant in different-different phases of implementation (asap)? please provide from basic to critical examples? 
    Thanks,
    Amit
    Moderator: Please, respect the rules of the forum

    What you are asking is very project specific.
    Try to do the following:
    1. Ask for the detailed business requirements
    2.  Ask for the design documents. Usually, there will be bunch of documents that got documented when the project team made the design. There must be documents like conceptual / high level design, detailed / low level design, ABAP specifications, report specifications, etc.
    3. The design documents will contian other things, DATA FLOW DIAGRAM. Here in this diagram, you will see where the data comes and how it gets processed and transformed when the data reaches BW.
    4. Ask for your access to the develoment system or the sandbox ( where you can play around without affecting anybody's work).
    5. With the data fliow, you keep reviewing the objects in BW and also in the source system.
    6. Even if you dont get access to dev or sandbox, you cans till view the objects in display mode.
    7. Open the query designer and see how the variables are defined and how formulas are defined and how the restricted key figures are defined.
    8. In production system, go to SM37 and see the jobs that are scheduled.
    9. Try and co ordinate weekly calls with your team members and this is the place where ideas  and problems will be shared.
    If you have specific questions ot need some specific help, dont hesitate to send me a note. My email is [email protected]
    Best luck,
    Ravi Thothadri

  • Formulas and Variables in Universe

    I have been trying to find out how to create formulas and variables on universe Level.  I know how to accomplish this in Webi.  I'd appreciate if someone can point me to any documentation on this issue.
    Thanks.

    Hi,
    which version of BOBJ are you using? What kind of data sources do you have?
    Here are some documents you can start with:
    Formulas in WebI for XI 3.1
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3_web_intelligence_formulas_functions_calculations_en.pdf]
    Formulas in WebI for XI 3.1 SP2
    [http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_webi_ffc_en.pdf]
    Universe Designer user's guide XI 3.1
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_designer_en.pdf]
    Universe Designer user's guide XI 3.1 SP 2
    [http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_designer_en.pdf]
    You can find more documentation here
    [http://help.sap.com]
    Regards,
    Stratos

  • JTabbedPane and focus

    I use a jTabbedPane in order to make un chain progression in data collections.
    I've searched in the functions and variables to know if it is possible to block
    the user on the last TabbedPane if he start using the last TabbedPane.
    I've placed previous and next buttons on each TabbedPane and i can disable these buttons,
    but i can't disable the tabbedPane above.
    I don't wish to use CardLayout for this (event if it is better for that), so if someone know how to
    solve this problem, thanks in advance.

    You can use JTabbedPane.setEnabledAt to set whether a particular tab is enabled or not. Just make a call to this with the code that enables/disables your previous and next buttons.
    Hope this helps.

  • JTabbedPane and one Button for all Tabs

    Hello everybody,
    im new here an would say HELLOOO to everyone
    So ive got an issue.
    I am creating in "class A"  tabs for a JTabbedPane. In "class B" i create the JTabbedPane and creat instances of class A and add them to the TabbedPane.
    in Class B i also create a button, for save actions. When i click the button, a method "save()" will be called and read from every tab the Strings out of textfields.
    My problem now is, that it dont work, i call the save method with the instance from the tab, but it dont getText() from the textfield.
    For example:
    //create an instance tab, parameter is the save file
    Tab myTab = new Tab(file);
         //other code
    (Tab)myTab.save(); //here i eclipse cast to Tab automatically
    the save-Method in class A (Tab):
    save() {
    sysout(texfield1.getText)
    BTW how can i highlight code in this forum?

    You can add syntax highlighting by going into the advanced editor, that will add a button for it. Unfortunately there are no quick code tags :/
    After you find the button post your ACTUAL code. not just some random snippet which looks like your code. What you posted doesn't even compile.

  • FM 9 and Variables -

    Using FrameMaker v.9.0p237, installing updates as they pop up (do I have the latest?). Running on Windows XP Professional Version 2002, Service Pack 3. I want to remove variables that we no longer need. When I select the variable name and click the Trash can icon, the first variable is deleted.
    When I select subsequent variables, the selection moves several places down the list and the variable selected for deletion is still there. Frame
    was crashing inmediately when I tried to delete variables before I installed the last update (using Adobe Updater). However, if I continue, Frame
    eventually crashes.The crash message ( "FrameMaker has detected a serious error and must quit") shows the numbers 9004, 6920492, 9676798.
    In addition, when I try to edit a variable, the Add/Edit Variable dialog shows empty fields for the
    Name and Definition. I can re-enter the variable name and definition and click Edit and have it
    save the change, but I shouldn't have to do this. This behavior is intermittent - there are times I can
    edit variables as expected, especially after a crash.....
    Any help would be greatly appreciated. .

    We use alphabetic and numeric characters for variable names. I'll have to check for spaces - that is possible.
    The tip about looking at the MIF is a good one. I've edited MIF before for font issues, so it makes perfect
    sense. Thank you for that reminder!
    The files and variables were created in FM 7.2 (some even earlier versions than that). We went from 7.2 to 9 at
    the beginning of June. As I update the "template" for our documents, I do change the variables - adding new and
    changing the definitions of existing ones, so yes, variables are imported from "other" documents.
    The conflict with other apps is a definite possibility, as I am frequently running several apps when working in Frame.
    Thanks very much for all the suggestions! I'll be working in Frame most of the day and will watch carefully what happens.

  • Failed Hardware Scan and other issues E440

    Hi all,
    This is probably more rant than anything, but I wanted to give a heads up to others too.
    I have a ThinkPad E440 that is a year old. From the very first time I turned it on, there have been issues. The first hardware scan (via Lenovo Solution Center - LSC) showed a warning for the Intel Dual Band Wireless-AC 7260 Local Connection Test. There were also tons of System Events that always show up in the "Configuration History" part of the LSC. You can look at the calendar and tell exactly which days I used the computer because there will be System Events generated each day. Things like app crashes and failed drivers.
    In July 2014, I got the first warning for the 16 GB SSD - the SMART Short Self-Test. By February this year it showed as failed for each hardware scan (these were initially set up to run monthly).
    Also the whole time I've had it the touch screen would just stop working at some point and I would have to reboot to get it working again.
    I finally called Lenovo on March 30th, before my warranty expired. When I called that time, I didn't realize the hard drive failure was the SSD. So they sent me a new 500 GB drive. I also added the other things into the case when I talked to them. For the wireless issue they suggested making sure the driver was up to date. I did this and let them know when I called back that it was up to date and still having the warning. So I called them to tell them to tell them about the wireless and also that I realized it was the SSD having the failure, not the main drive. The first case had already been closed even though none of the other items were addressed.
    So they opened another case (this is #2). They said to mail them the laptop since the wireless issue would probably be on the board and it wasn't something I could fix myself. They sent a box with a prepaid overnight shipping label. I was very sick for a few days so I sent it back to them on April 10th (a Friday). Via UPS I saw it was delivered on Saturday. Work was performed on it Monday, April 13th and sent back to me that very day. I received it on April 14th. This part of the service has been excellent - very fast response.
    Being in IT, I included a letter with the laptop that outlined the issues that should have been in the case. I also printed the hardware scans and what the system events looked like.
    When I got the laptop back, the sheet inside said they had replaced the Speaker because of Distorted Sound. This was not even on the list even though I had noticed it. I didn't even power up the laptop before calling them again - yes, I was furious! Plus our power was out...
    So this was noon on the 14th. They opened case #3 and sent me ANOTHER BOX so I could send it back.
    After our power came back on the 15th, I powered up my laptop. I opened the browser (I have it set to restore the previous session) and there was a sexually explicit video on YouTube. I opened the other browser and there was a different video on YouTube. So this person was watching YouTube instead of fixing my laptop. I looked through both browser histories and there was quite a bit of activity while my laptop was at the repair center... I ran the hardware scan - still failed and a warning for the wireless. They really hadn't done anything.
    I also found two pictures of the repair person in the recycle bin...
    So I called back. I was LIVID! They opened another case (this is #4). And sent me ANOTHER BOX. I finally learned the other day that once a case is opened, it cannot be edited or added to at all. Instead, they close the other case and open a new one. I guess their turnaround time for closing cases is excellent! I've never seen a system like that - and I've used a lot of them.
    I got a really nice, patient fellow on the line. He took all my info (again). I emailed him the pictures, screen captures of the YouTube videos, the letter I had sent - everything. He entered as much into the new case as he could - he talked to one of the supervisors to make sure he did it right. Somehow he flagged it so that the laptop would get more attention (time) at the repair facility. He also opened a separate case (an escalation ticket?) for a supervisor to call me regarding the person's conduct at the repair facility. He said they would call me that day. (It's now the 25th and I've never heard from anyone)
    So, he sent me ANOTHER BOX. I've built up quite a stack of them.
    Our power was out AGAIN from the 17th through the 19th (don't get me started).
    I noticed a hardware scan had now gotten a failure on the main hard drive. So I called them on the 21st to add this to the case before sending the laptop back. The girl said they can't add anything to an existing case or edit it at all once it's opened. She would have to open a new case and SEND ME ANOTHER BOX. I told her to forget it because I was ready to send it in and didn't want to wait for another box. I also asked for a status on that "escalation case" where the supervisor was supposed to call me. In order to do this she, yes, wait for it, had to open ANOTHER CASE!! So they would know I wanted a status. I'm completely dumbfounded.
    So I sent it back on the 21st. This time I practically wiped it. I had already removed all my files the last time, but I had left my bookmarks and browser history intact.  I set up a guest logon with admin privileges. I updated my letter and printed off more stuff to include with the box. On one sheet I had only the case number, the serial number and machine type. On another sheet I had "DO NOT SEPARATE THIS PAPERWORK FROM THE LAPTOP" and the case number. I put this sheet on top (The guy on the 15th said my letter and stuff may have gotten separated from the laptop once it was delivered to the repair facility). I used a ton of staples so it would all stay together. I included in my letter the failure on the main hard drive and asked if they could look at it. I wrote about having to open a new case if I wanted to include it.
    They received it on the 22nd. A nice gentleman from the repair facility called me that day asking about the password. that. was. written. on the sheet they have you fill out. I told him what happened last time and also mentioned the hard drive failure and asked if he could look into it. He said they would.
    I received my laptop back yesterday morning.The sheet that came with it said they had "replaced the following parts to complete the repair of your laptop."
    Part Description                                           Symptom
    IMAGE                                                             Replaced due to engineering change
    System board                                                 Network card error
    Hard disk drive                                                Network card error
    ECA-WIRELESS                                            <no symptom listed>
    There was also a sheet saying they had installed a factory preload of software and I needed to install Lenovo and Windows updates.
    When I booted it up, the first thing I noticed, in the lower right corner was:
    Windows 8.1
    SecureBoot isn’t configured correctly
    Build 9600
    I ran a hardware scan. Well, I tried. It stopped part way through and said it finished successfully but most of the tasks showed up as cancelled. I tried to run it again - issues - rebooting ensued. It said the LSC wasn’t available and that I should try again or reboot.
    Tried several times. Then got what I guess is the new BSOD - kinder, gentler:
    Your PC ran into a problem and needs to restart. We're just
    collecting some error info, and then we'll restart for you. (xx% complete)
    If you'd like to know more, you can search online later for this error: DRIVER_CORRUPTED_EXPOOL
    Even though the LSC said my Lenovo files were all up to date, I ran the Update. And first I had to download a new version of Update. Then I downloaded all of the Lenovo updates and installed them (there were quite a few). The BIOS update failed. While I was doing the Lenovo downloads, I got a light blue screen but no text (I was out of the room so I'm not sure what happened). Did CTRL-ALT-DEL and it shows only IE and Task Manager as applications that are running. Could not “Switch to” IE. Hitting window key to go to start didn't do anything. So I had to restart.
    By 3pm yesterday there were 34 system events in the configuration history.
    I ran the hardware scan again after I updated the Lenovo files, and you guessed it! Failure on the SSD (SMART Short Self-Test) and warning on the wireless. Nothing had changed. Except hardware scan is acting different than it did before I sent in the laptop for repairs. When it finishes, it instantly closes and just shows 100% complete. When I click on "see last results" it shows a screen called
    Log Information,
    Canceled 04/24/2015 n:nn pm 
    You have not done a hardware test on your computer
    And the calendar in LSC only shows the very first hardware scan I did on Friday. Even the hardware scan screen shows the date and time of the last scan. It also shows the error code. In order to see exactly what is failing, I have to sit there and watch it very closely and snap a picture of the screen as soon as the error (or warning) shows up.
    When I would try to run Windows update, it would hang up PC Settings. I couldn't even kill it using task manager because it didn't show up as a task. During this, I got a flag saying the firewall wasn't turned on. I tried to turn it on, but clicking on Turn on Windows Firewall didn't do anything. I tried to setup my Microsoft account but that just hung too.
    I ended up running Windows Update FOUR TIMES to get all the updates installed. Every time I ran it, it said "Done!" and I would run it again and more would show up. The last time was this morning.
    At some point, the error about SecureBoot went away.
    Then, I created a bootable BIOS update disk. Following the ReadMe instructions, I went through ThinkPad Setup and verified several values. Of note:
    Secure Boot was DISABLED. According to the ReadMe file, this should be ENABLED in Windows 8.1. I enabled it.
    Under Startup/Boot, according to the ReadMe that came with the BIOS update, UEFI/Legacy Boot is supposed to be set at UEFI Only for Windows 8.1. Mine was set to "Both". I changed it.
    In Startup, OS Optimized Defaults was DISABLED, even though it says right there (and in the BIOS update ReadMe) it should be ENABLED to meet Microsoft Windows 8 Certification Requirement.
    After these updates, I flashed the new BIOS.
    Then, I ran hardware scan again...
    Now I have TWO failures on the SSD: Random Seek Test and SMART Short Self-Test. Great.
    In the Event Viewer (that I recently discovered), it says my disk has a bad block. It just says The device, \Device\Harddisk\DR1, has a bad block. I assume this is the SSD...
    There are 867 events in the event viewer - Critical, Error, and Warning...
    Fifty-two of these are from October 7, 2013 - before my little laptop was a glimmer.
    The rest are from when Lenovo had it and yesterday and today.
    64 of them are the disk error.
    341 are from DeviceSetupManager. 65 of those are from failed driver installs. 69 are for not being able to establish a connection to the windows update service. 64 are from not being able to establish a connection to the Windows Metadata and Internet Services (WMIS).
    3 times it's rebooted without cleanly shutting down
    60 of them are from Service Control Manager and say The TDKLIB service failed to start due to the following error: The system cannot find the file specified.
    One of them says {Registry Hive Recovered} Registry hive (file): '\??\C:\Users\Default\NTUSER.DAT' was corrupted and it has been recovered. Some data might have been lost.
    16 are warnings that various processors in Group 0 are being limited by system firmware.
    12 say the certificate for local system with thumbprint <bunch of hex numbers> is about to expire or already expired.
    108 are warnings for failure to load the driver \Driver\WUDFRd for various devices
    16 are application errors
    One is for the computer rebooting from a "bug check"
    15 are for name resolutions timing out after none of the configured DNS servers responded.
    10 are for SecureBoot being disabled.
    14 for services terminating unexpectedly
    15 are for WLAN Extensibility Module has stopped
    61 are for applications not being able to be restarted because the application SID does not match Conductor SID
    12 are for activation of CLSID timing out waiting for the service wuauserv to stop
    So, I'll call them on Monday and open. a. new. case (#5?) - but really 7. And get A NEW BOX.
    I'll keep you updated!

    Hi amycdero and welcome to the HP Forum,
    I understand that you are having scanning and printing issues after upgrading to Mavericks OS X v10.9.1. I will try my best to help you resolve this issue.
    In this document for Mac OS X: Scanning Software Does Not Open or Stops Responding are steps the may help you with your scanning issue.
    This document for Fixing Ink Streaks, Faded Prints, and Other Common Print Quality Problems should help with the streaking printing issue.
    I hope this information is helpful. Please let me know.
    Thank you,
    I worked on behalf of HP.

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • Battery, heat, and ringer issues

    I recently purchased the Iphone 4s.. this is my first iphone
    I did the update that Apple sent out to help the battery and it seems like it worse then before the update??  My phone has been off the charger for 45 minutes, I sent 1 text message, and had 1 phone call.  The percentage is now at 87.  It the last 2 minutes i have watched it go down 2%?  Is this normal?  Also, the phone gets REALLY hot...
    If not, what do I do now??
    Also, I keep missing phone calls because I don't hear the phone ring... but the ringer is all the way up..
    Any help will be greatly appreciated!!

    mdorling wrote:
    We've got the same issues, the BBM contacts went, now the BB won't charge ... we've tried all ways to get it to charge ... typically it's just over a month old so we can't get a full refund ... we are on here trying to find out what we need to do as we can't obtain a telephone number for BB customer services nor an email address only a tweet address which I haven't downloaded onto my handset.  So am stuck!!! Any and all advice very gratefully received as seriously peeved with BB models now.  My first BB was fantastic ... but all newer models have had problems ... think BB needs to ensure that all techy problems are fully ironed out prior to launching their new BB handset!
    1. Connect your Z10 to the wall outlet charger for an hour and then with the Z10 powered on, and with it STILL CONNECTED, remove the battery for a minute and replace. This will normally reset the the on-device battery meter and allow the charging status and percentage to show more correctly.
    2. Orange is your tech support contact and any issue which they cannot resolve, they should escalate up to BlackBerry tier two tech support, or you should ask/demand that.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • New Airport Extreme and iPhone Issues

    I've had the networking day from ****. I previously had a 3rd Gen Time Capsule at our restaurant, connected to a Cisco 26port gigabit POE switch and Comcast digital voice and internet. Over the past few days, employees have reported trouble accessing the the Wifi network. After several restarts and firmware upgrades (including the dreaded "firmware problem" to fine update), nothing worked. I changed channels, back to auto, back to specific channels, back to auto. Made open guest networks. Nothing worked consistently. My iPhone might connect and my friend's might not. Nor his laptop consistently. Our Axis network cameras might take a bit extra time to connect. All quite random and quite frustrating.
    So I swap out an older Airport Extreme (4th gen I believe) using the same configuration as the TC (Time Capsule). It works fine, except for the last port not working as expected. No matter, I plug the mac mini into the Cisco switch and off we go. Nevertheless, I'm still told we are suffering random Wifi issues. So I buy a brand new AE (5th gen) today to replace that one. Should work like a charm I thought. Right....    
    Several hours later, I finally have the new AE working, but only after doing several hard resets/factory restores, the works. For some reason, the mac mini could not successfully update any of the connected AEs - whether connected directly into the same AE, or if the Mini was connected to the switch. Nothing worked. Every time I tried to update the AE, it would hang and force me to unplug and plug it back in. It would also never save setting changes. I finally resorted to a friend's macbook to be able to restore it successfully. And once that worked, the mini was able to update the AE flawlessly. Our Point of Sales (POS) machines connect fine, our cameras connect fine, wifi printer connects, and the mini connects, and everything has internet.
    Except my iPhone 5. Of course. It gets a signal fine (full bars). It gets an IP address. But I can't surf the web. Or download email. Or iMessages. Anything. No internet access. I try hard restarts on my iphone. I try assigning IP addresses by MAC address. I try resetting the AE. I try renaming the WiFi name. Nothing. I can make a guest network that works (on a different IP table, btw - 172, not 192.) But other than that, no access. Grrrr.
    So I have a "working" AE router where some devices successfully connect (through wifi and ethernet) and some dont' (wifi iPhone). My iPhone connects fine to my home TC. So shouldn't be anything to do with that. But I'm at a loss. I'm going to go back and restore everything and power cycle everything tonight or tomorrow night. I don't know if that will help, but it's worth a try. Lord knows it feels like I've tried everything else.
    Anyone have any good ideas of where to start besides voodoo dolls and baseball bats?

    I took mine back, because I was having these very same issues. We use contivity too. I was able to connect only to one of three of the servers we manage (in Europe). I couldn't connect to the servers in Asia or here in the USA.
    Replaced the Airport Extreme with my trusty old d-link 624, and no issues connecting to any of the three hubs.
    Otherwise, I liked the Airport Extreme, and I'll consider buying it again when and if they address this VPN issue. I work at home so its obviously a "deal breaker" for me.

Maybe you are looking for

  • Cisco ASA 5505 - Basic Web Access

    Hello all, Not posted here in a while but thought you guys might be able to help me out with a little problem. Okay, I have a Cisco ASA5505 running the latest asdm and ios... [I]Cisco Adaptive Security Appliance Software Version 8.4(2) Device Manager

  • Print a PDF report having a field(column table) with a HTML code

    hello every one, I have a table where a column(varchar2) have HTML code inside it. Because all my reports are in PDF format, how can I print this column, when I print in PDF I see all HTML tag and it isn't formatted. Have Anyone same problem, could I

  • Issue after solman Upgrade

    Dears, We were using solman 7.0, connected to ECC 5.0 server. We configured all activities EWA,System Monitoring and all were working fine. Now we upgraded solman to 7.01(EHP1) and R/3 to ECC 6.04 . 1 - My first concern is after upgradation it should

  • Recurring mDNSResponder request on port 5354 after 10.5.7?

    Since installing 10.5.7 I get a a network request from pm-members.mac.com for mDNSResponder on port 5354. I have Little Snitch and even if I authorize it forever, this request keeps on popping up on startup and exit. I was wondering if anyone knew ho

  • Adding new hard drive for Flash recovery area

    i am adding new hard drive for flash recovery area. How i can make single directory on that flash recovery area & how i can test that i am accessing that rightly , to that directory & flash back recovery area disk?