Fan control on the G450 with Windows 7

Hello to everyone!
A lot of you might know that when Windows 7 launched, there was a week of "windows 7 deals" from Lenovo.
Since I'm off to college in a year, I couldn't of brought a great laptop (like a $1000 model), so I stuck with the ideaPad G450 from Lenovo (949CHU) which I think was on day 3. I didn't want a 15" inch laptop, since I'm blind, so really screen did not matter - in deed this laptop has 32 MB of dedicated graphics ram which is way to little!
Anyway. I got the laptop yesterday, and it came with Windows 7 x64. My screen reading software currently only has an x86 release, so I decided to format the laptop with my own Windows 7 copy.
w
indows 7 installed very fast (I really just love the speed on this laptop!)
I went on the drivers folder in my Lenovo partition (I didn't repartition the disk, thinking that I could somehow save the IBM_service partition for later recovery/exporting to a DVD image, but that's a whole other issue)
I installed the energy ssaver driver. Since it was only in an x64 distribution, I downloaded it from Lenovo's site.
But I've noticed that the laptop's fan is constantly on. I don't know why, but it just never stops! It's not too loud or anything (just a tad bit, especially in my bedroom), I'm simply wondering what's up with this.
Is there some kind of driver I need to get that'll enable Windows to control my fan spin? Or is my only option to just have it run and run and run?
Thanks so much for your help
With all due respect-
Tomi

Hi
With the help of  Google translate, I was able to get the program up and running. (there wasn't an english.lang file on the site, so I just used google translate to make my own).
It's a very neat program but sadly it won't change my fan settings, no matter how much I move the sliders around. The temperature sensors also show 0 ºC (there are 7 listed).
So I'm assuming that the program isn't detecting my laptop's fan settings fully (though it does find a battery).
Very odd...
With all the best-
Tomi

Similar Messages

  • ActiveX control is not working with windows NT

    I've have a stand alone application which uses an activeX control.  The application was compiled using Labview 7.1 on a Windows XP machine.  The application will run without any problems on Windows XP and Windows 2000, however the activeX control will not work with Windows NT 4.0.  The activeX control is registered, and I have also compiled the application on a Windows NT 4.0 machine.  I do not receive any error messages, the application will start but will not communicate with the activeX control.  Does anyone have any suggestions?  

    Hello,
    Have you tired running the VI by itself (not exe) on the NT machine? Make sure you are doing adequate error checking in your code. It could be possible that the application is generating an error which in not handled appropriately. Also which service pack do you have installed on the NT machine? Please look at the release notes for LabVIEW 7.1 here.  
    Regards,
    Chetan K
    Application Engineer

  • After the installation of Lion I don't see the partition with Windows 7. The solution?

    After the installation of Lion I don't see the partition with Windows 7. The solution?

    Let's be real clear here -- are you saying you are using Internet Explorer and when you try and download Mozilla Firefox it gets around 75% through and shuts down?
    If so there is something wrong with your computer -- or at least IE. I rarely, if ever, recommend this, but it might be time to reformat your hard drive and reinstall your OS (if you are even thinking about doing this the first thing you must do is back up all your data files, preferably to writable media like DVDR or CDR).
    If you have a friend with a computer perhaps you can get them to download both the latest iTunes as well as (more importantly) the latest firmware updater, and then install them on your machine (they can write them to their own CD).
    The other thing that occurs to me is you might not be logged in as admin on that computer -- make sure you are doing this and are the only user.
    Otherwise my brain is fuzzy right now -- perhaps someone else can jump in after you reply (I'm right in the middle of packing for a cross country move and only able to spend about five minutes a day on this board).

  • How d you activate quick time A/V controls in the quick time window menu???

    How d you activate quick time A/V controls in the quick time window menu???

    QuickTime Player / Windows menu.

  • User-devel​oped Fan Control for the S10(e)

    Hello and welcome.
    When you've searched the internet and found this thread, it's possible that you are an owner of a Lenovo Ideapad S10 or S10e which has a little problem with the behaviour and/or the noise of the fan. In this post you will get all the informations you need to handle this problem for yourself. It should also be the same on every S9/S9e.
    Just a few comments before we begin:
    This is not an official support or solution by Lenovo.
    We are just normal users as you are, but we get rid of the fan and wanted to find a way to handle it. So if you want to try anything of the methods described here you have to know that you'll do all this only at your own risk. We are not responsible for any damages of your device. You should only use these methods if you know what you are doing.
    Please note that this thread is only for discussing, improving, trouble shooting and perhaps extending the fan control utilities. Any general complaints about the fan problem itself should be placed in the original thread right here: http://forums.lenovo.com/lnv/board/message?board.i​d=IdeaPad_Netbook&thread.id=795. It already has 80+ pages (the link goes to the first page) and it is better to exclude all the fan control stuff because there it's very difficult to keep an overview.
    Here you may post all of your questions, ideas/brainstorming, concerns, thanks and so on and you are really invited to participate and be an active member. 
    In this first part of this post I'm going to summarize all information about using a fan control utility. For any newbie it will be enough to read this post to get all necessary information. The second part does the same for developement of fan control utilities as we still have no known or working fan control utility for Linux, Mac OS X and other OSs I've forgotten - for now.
    For getting started you need a S10 or S10e with an up-to-date BIOS. For the S10 it's the 90 67, for the S10e the 66.
    The battery issue
    Under very specific circumstances - that we haven't figured out yet - it might happen that your Lenovo S9/10(e) no longer detects the battery while using S10FanControl or S10Fan. It might occur after 2 minutes, it might occur after 2 months, it might never occur. It does not occur using Notebook Hardware Control.
    It can be solved by removing the battery, waiting 10 seconds and put it back in. Then the battery is re-initialized and the detection works again.
    S10FanControl - Windows
    The first utility is S10FanControl created by user dresslerc. The current version is 1.0.0.1, available here: http://www.mediafire.com/file/yd5xmnrnijf/S10FanCt​rl1.0.0.1.zip. After you've downloaded it you just have to extract it and start the .EXE in the "Release" folder. Here are the notes and the description dresslerc posted right here:
    Everyone,
    I've uploaded a version which everyone can use to test with.  Remember this is still a TEST version although I think it works for the most part.  It should work both on the S10/S10e.
    Please install the .NET Framework 2.0 or later first.
    Then click here to download the exe:  http://www.mediafire.com/?jlg2enkjdxn
    Once downloaded, extract the files and hit hte S10FanCtrl.Exe.  Once this program launches you should be able to control the fan.  Keep in mind that if you lower the fan speed then it'll take upto 30 seconds before the S10 registers the change, so be patient.
    I've only tested this on the latest BIOS 59.  I am sure it will work on the 57 as well but the individual speeds might not work properly on that version.  Please try it out and report back.
    The only issue that I heard so far is that occasionally the fan will kick in regardless if in Manual/Smart Mode.  Also the temp it shows may not be accurate.  If you find any other issues please let me know what they are so I can attempt to fix them.
    Once we have all the kinks worked out then I will release the source. 
    Heres a quick Video:  http://www.youtube.com/watch?v=_PKl70ZgmFg 
    REMEMBER: USE PROGRAM AT YOUR OWN RISK!!! I AM NOT RESPONSIBLE FOR ANY DAMAGES THIS PROGRAM MIGHT CAUSE.
    Application Use:
    BIOS Controlled - Fan is controlled by the BIOS
    Smart Mode - Fan is controlled based on the conifguration in the options.  You can set the threshold here at what temp you want the fan to kick in...
    Manual - Fan is controlled manually by the slider.
    If you want to have the program startup automatically, then place a shortcut of the app in the PROGRAM FILES -> STARTUP folder.  Then you may want to go to the options and make the application minimize at startup.
    Edit:
    It seems there are some issues with the app and the S10e or previous BIOS versions.  Will post a fix asap.
    The source code for S10FanControl is available here: http://www.mediafire.com/?sharekey=7a3fb99d33817c0​8c2b435915e8821d7e04e75f6e8ebb871, written in Visual Basic .NET 2008.
    S10Fan - Windows
    The second utility is a tool written by user slash:
    Hi guys,
    Well it looks like Lenovo dropped this matter after all. Anyway, I have here another fan controller to add to the bunch. I have been using it for some time now without any problems. It is for both S10 and S10e.
    What the program does is basically the same as others. The S10's fan speed is controlled according to the ACPI thermal zone temperature. By over writing the values which resides at offset 50h of the EC register at an appropriate timing, the ACPI thermal zone temperature is over ridden. The program is written in C and uses WinIo created by Sysinternals. The GUI version is available now.
    It should be noted that the fan speed temperature thresholds differs with BIOS version. For 14CN67WW and 14CW90WW  the fan changes speed at temperatures 60c, 65c, 70c, and 80c. Furthermore, the BIOS will automatically shutdown the S10 if the temperature reaches 90c.
    The program has a fail safe mechanism that automatically disables itself if the actual ACPI thermal zone temperature goes above 85c. This allows the BIOS to regain control and the fan will work as intended by Lenovo. If the temperature drops below 85c the program will take over control again.
    To run the program, you will need administrative privileges.
    Known working BIOS versions:  14cn58ww,  14cn60ww, 14cn67ww, 14cn90ww
    The program will work with any BIOS version as long as the BIOS uses the 50h EC register readouts to control the fan.
    build 2009.05.24
    Higher priorities for EC commands.
    Usage: The program will run in the system tray. Double click or right click and use the menu to open the program. To determine the BIOS temperature thresholds, use the 'Setup' button. To run at boot time, place a short cut in the startup folder.
    http://www.mediafire.com/file/njhz0icym2t/S10Fan.z​ip build 2009.05.23
    Usage: S10Fan.exe
    Added GUI.
    build 2009.05.17
    Usage: S10Fan.exe 60 65 70 80 70 75 80 85
                S10Fan.exe test
    The first 4 values are the BIOS temperature thresholds, the latter 4 are new thresholds that we want to over ride with. To determine the BIOS temperature thresholds, use the 'test' option.
    build 2009.03.16
    Usage: S10Fan.exe 70 75 80 85
    -Slash
    For updates and newer releases please check slash's post: http://forums.lenovo.com/lnv/board/message?board.i​d=IdeaPad_Netbook&view=by_date_ascending&message.i​...
    Notebook Hardware Control - Windows
    The third utility is a profile for Notebook Hardware Control. I've adapted it from a profile for the Lenovo N500 which I've found here: http://nhc.yourcopy.de/overview/. With the manual for creating the profiles that can be found here: http://www.notebook-treff.de/board/database/hilfsp​rogramme-f%C3%BCr-nhc/92-how-to-create-an-acpi-fil​... I was able to change the ACPI commands to work on the S10(e).
    Installation and setup is divided in two steps. The program Notebook Hardware Control (NHC) is available at http://www.pbus-167.com/. Install the program, but do not start it for now. Then you need my NHCConfig utility, available here: http://forum.eeepcnews.de/download/file.php?id=147​6. It detects your model number and BIOS-version via WMI and writes a proper S10(e) profile to the NHC acpi directory. The GUI is German if you have a German Windows and English if not. Additional languages can be added.
    After you've extracted the ZIP-file you have to start the nhcc.exe (requires .NET Framework 2.0). At first a message appears that you use the program at your own risk. Then you can choose if you want to apply your own settings (experts) or if you just want the program to run with my defaults (newbies). In the settings window you can see your system details on the left, you can set up your thresholds in the middle and you can set the fan speed you want on the right. Then click on execute. 
    Now start NHC. Go to the "Settings" tab and click on "Show all NHC options and settings". Then a few more tabs appear. Go to the "ACPI" tab and check if the "ACPI Control System" is running (if everything works, the message "ACPI Control System running" will appear, otherwise it says "ACPI control system is not yet configured for this system"). Now click on "Show ACPI Control System details".
    Here you can change the temperature values the fan control depends on (the settings from NHCC are the default values). On the bottom of the window you can see the "Current CPU temperature". That is the value you have to deal with. In general it has a value of around 60°C. In the middle you can see four user editable temperature values. You can leave the values as they are if everything works. The on/off values are responsible for the temperatures at which the fan starts running and stops again after cooling the device. The level values are responsible for the fan speed, for example you can set the off_level higher to let the fan run all the time at the lowest level, if the values do not fit for your device or whatever.
    You can switch between NHC and BIOS control by disabling or enabling the "ACPI Control System" or by closing NHC.
    Q:
    A:
    With every utility it is possible that it takes some time until you see an effect after you've started the program. Any failure of the programs should be no big problem because the only thing that should happen is that the BIOS controls the fan. Another issue that might occur due to the way the fan is controlled is that the fan may start running for a very short time and it looks like the fan control has lost control. The fan should stop immediately or at least after a few seconds.
    Keep in mind that running the S10(e) with a fan control means that the S10(e) has to deal with higher temperatures. That could mean that the device will not last for 10 years but only 9 years (who uses a netbook so long...?). In every case you need a tool for monitoring your cpu temperature. We know that especially Core Temp 0.99.5 and Real Temp 3.00 do a very good job. That is important because the temperature values you need to set up the fan control are different from the values reported by the cpu sensor, they are between 15°C and 20°C higher. A normal temperature reported by the monitoring should be around 40°C, with the NHC default values the fan starts running at 52°C and stops at 38°C.
    Q:
    A:
    Q:
    A:
    END using fan control
    BEGINNING developing fan control
    Controlling the S10(e)'s fan is a litte bit difficult because it looks like there is no way to control it directly. But it is possible to manipulate the temperature the BIOS fan control depends on. As long as the built-in fan control thinks that the cpu is cool enough the fan stays off. And that is exactly the point where we can attack.
    The fan control depends on a field called RTMP in the memory of the embedded controller. It can be accessed via "_SB.PCI0.LPCB.EC0.ERAM", the offset of RTMP is 0x50 (hex) or 80 (dec). It is a direct I/O read/write. The complete NHC command for reading the value is: ACPI.FIELD.ReadByOffset("_SB.PCI0.LPCB.EC0.ERAM", ref value, 0x50, 8) with "value" as the variable which gets the value.
    What program logic do you need? You need a timer or something else that conducts an always-refresh cycle. It sounds very easy: You read the value, manipulate it and write it back. And it is that easy, you just have to keep some things in mind.
    This refresh has to be done very often. The procedure must be very thin and quick. Also the bus that is used to communicate with the EC is a problem, but since the S10e BIOS 66 it became a minor problem for me because it looks like the built-in fan control now depends on some kind of average value over the last few seconds and it doesn't really matter if one write-cycle is failing.
    The read-event must be placed before the write-event. Otherwise you just read your manipulated value. The field is filled by the system regularly, so you just have to test if the read_value is different from the written_value, then you know that the field was filled with a "fresh" value. Like "if read_temperatue <> written_temperature then real_cpu_temperature = read_temperature else do nothing".
    About the values you have to write back... you will have to test and play a bit. My experience is that you can select three fan levels, starting at 59°, 62° and 70° - at least with the NHC profile and my S10e it's like that. It's some trial 'n' error. My fan stays off at < 59°, but you should select a very low value for fan_off like 30°. In my opinion it switches off much faster the lower the written value is. But it's just a feeling, I haven't measured it.
    Q:
    A:
    Q:
    A:
    Perhaps some users from countries with other languages than German and English can add tags for "fan", "control" and "noise".
    Note from Moderator:  Minor edits in title and disclaimer.
    Message Edited by JaneL on 04-25-2009 02:32 PM

    Great opening post Carsten!
    The latest bios:
    http://www-307.ibm.com/pc/support/site.wss/documen​t.do?sitestyle=lenovo&lndocid=MIGR-71252 (BIOS 66)
    The FSB can be reduced from 133MHz to 100MHz using SetFSB, this also reduces the heat:
    http://www13.plala.or.jp/setfsb/
    clockgen = SLG8SP513V
    If you add a shortcut to the startup folder the program will start at startup. Under properties you can change the target to:
    "C:\Program Files\SetFSB\setfsb.exe" -s100 -b1 -cg[SLG8SP513V] -w20
    So it starts with a FSB of 100Mhz, in the background, with the right clock generator, after 20 seconds.
    Message Edited by quazar on 04-25-2009 05:07 AM

  • Brightness and volume control keys not working with windows 7?

    brightness, volume control and some other keys keys are not working with windows 7 with macbook pro retina. Can I fix it?

    Welcome to the Apple Support Communities
    Have you installed Boot Camp drivers? You need them to make your computer work properly on Windows, and to use your function keys as Play or Pause, volume and brightness keys.
    To install them, follow these steps:
    1. Press the X key while your Mac is starting to start into OS X.
    2. Open Boot Camp Assistant and tick only the option to download Windows support software.
    3. Windows support software will be downloaded and Boot Camp Assistant will ask you to burn it into a DVD or USB drive, so do it.
    4. Start into Windows, insert the DVD or USB drive and install Boot Camp drivers. Your Mac and your volume and brightness keys will be working after installing the drivers

  • Unwanted Firefox entry in the Open With Windows Explorer menu

    Open Windows Explorer and right-click various file types. You'll see there's a submenu called "Open with" that allows you to choose a particular application. Firefox is listed for numerous file types it can't actually handle, like RAR and MKV.
    Does anyone know why? I've never attempted to open those file types with Firefox, though I did download such files with Firefox. I can't find any bug reports about this, and the above seems like too little information to file a report.
    I'm not the only one with this issue:
    * http://forums.mozillazine.org/viewtopic.php?f=38&t=2870531

    After cleaning the registry manually, I haven't been able to trigger this.
    * I now have RAR under Options → Applications again after downloading a file of that type. The respective file type doesn't have Firefox under the "Open with" menu in Windows Explorer.
    * I set Firefox as the default browser when installing. Then I set Internet Explorer as the default using the Control Panel, then Firefox again when prompted at startup. Since it's one of the few times Firefox interacts with the registry, I thought it might trigger the issue — it didn't.
    Since I can't recreate this, I think we can consider it a rare occurrence and forget about it. Thank you all for replying.
    ''the-edmeister wrote:''
    There's something screwed up in Firefox 31 and 32 with regards to Firefox messing with Windows OS File Associations […]
    Being Sunday, I'm too lazy to search for the relevant Bug report.
    * [https://bugzilla.mozilla.org/show_bug.cgi?id=1049521 Bug 1049521] - Be less aggressive about non-primary file type associations in Firefox on Windows
    That's the bug report about Firefox inadvertently stealing the file association for PDFs. That didn't happen on my system. I also don't see how this could be related. The PDF association is set on install, and reinstalling Firefox didn't change the "Open with" list for the previously affected file types.
    Then again, the patch on bug 1049521 touches the ''OpenWithList'' registry keys, which is what I manually cleaned up. It also handles more than PDFs: I spotted media file types like OG? and WEBM, but not MKV or any of the previously affected file types on my system.
    ''FredMcD wrote:''
    Me thinks me smells a virus at work.
    The system is clean.

  • Can I get stepped out put voltage signal for controls from the BNC with Labview?

    Hi!
    I am new user to NI Labview. I am working in controls applied in Combustion sciences. I want control the Solenoid valve ( Jefferson made,230 V, 11 W) in stepped manner. BNC (2110) is used for the input signal (Piezoelectric pressure transducers) and output signal. The maximum out put voltage from BNC is 5 V. Can I get the out put voltage in stepped and increasing order to ensure the better controls of the solenoid valve?
    Also I would like to know, is it possible for me to control the working frequency ( Injecting) of the solenoid valve with the help of Lab view?
    Thanks.
    With Regards,
    Ganesh

    Just having the same issue there, which is real not fun, I have not tried to contact them, but looking at  your experience I am not sure if I should.
    My key comes from the back of a laptop o so I guess that would be a W7
    OEM, and that could explain why you can't download a ISO from their website, would that also your case ?
    Also could it be because we are attempting to get the ISO after the product became EOL ?
    http://windows.microsoft.com/en-us/windows/lifecycle
    Maybe I will give a go with the customer care people and maybe I will get a right answer ;)
    Will keep you posted

  • My Macromedia Flash ActiveX Control isn't compatible with Windows 7 / 64bit

    I have downloaded the newest version of Adobe flash, and it installs like normal...and I think it is working fine....but on some sites (even You Tube) and some software programs, I get this message:
    Your version of Macromedia Flash ActiveX Control isn't compatible with this version of Windows.
    I am tired of wasting so much time with this...I read on the net that some people compiled their computer to 86...whatever that means....but no one explained how to do it.
    I have a Flash professional in ADOBE MASTER COLLECTION C6 / but all programs and sites default to the normal Flash player (that constantly gets updated,

    I have a similar problem, Win 7 64-bit, I did a clean install*, downloaded latests (Adobe - Install Adobe Flash Player), and after restarting my computer, Win7 64-bit Action Center popped up: "Your version of Macromedia Flash ActiveX Control isn't compatible with this version of Windows" with no error codes to look up knowledge base. Like seriously, no one from Adobe answered this in 9 months?! And the steps in Common problems | Flash Player sound like I need to purchase support before I file a report?
    Currently, my Firefox plugins only show Shockwave Flash 13 not Adobe Flash. Do I need to install Flash plugin for Firefox? (http://download.macromedia.com/pub/flashplayer/current/support/install_flash_player.exe)
    Thanks!
    * as per How do I do a clean install of Flash Player?:
    1. Add or Remove programs ... Flash ... uninstall,
    2. deleted all files & folders in C:\Windows\system32\Macromed\Flash, C:\Windows\SysWOW64\Macromed\Flash, %appdata%\Adobe\Flash Player, %appdata%\Macromedia\Flash Player),
    3.  verified that the files “FlashPlayerCPLApp.cpl”, "FlashPlayerApp.exe", and "FlashPlayerInstaller.exe" in C:\Windows\system32\ (for 32-bit systems) or C:\Windows\SysWOW64\ (64-bit system) were deleted,
    4. prepared to use Unlocker http://www.emptyloop.com/unlocker/ if any files couldn't be deleted,

  • I have been using iPod touch and iTunes with Windows XP - no problems.  I now have a new computer with Windows 7 Home Premium.  When I try to sync the iPod with Windows 7 and iTunes it will not transfer all my photographs.  What can I do?

    When I tried to sync my iPod Touch with my new computer none of the photographs were synced.  I use Adobe Photoshop Elements 10.  When I did it the first time the photographs were all muddled up in their albums.  When I tried to sync again the photographs were all removed.  On the third try I received an error message something like 'Unable to sync photographs program cannot be found.' Can anyone help.  (It may be to do with Windows 7 and Libraries??)

    Did you already try to delete the photo cache? iTunes: Understanding the iPod Photo Cache folder

  • How to install all the drivers for the MacBook with Windows 7 or 8 without the disk from OSX Lion? Where can I find the drivers?

    Guys, a have one big problem..My customer brought me a macbook with windows 7 installed to do a format and reinstallation, but she is no longer the OSX Lion, and do not know how to install the sound drivers, "touchpad", among other drivers, how to solve this? Where can I find the drivers? The MacBook is now with Windows 8 installed.

    Sorry my bad english..
    See is meant. The MacBook has already come for me with Windows 7 installed, checked that it does not have another partition with OSX Lion installed, do not know how the person who did the maintenance before I managed to remove the partition with the Lion, so I can not create a disk or access boot camp because there is no partition Lion and don't own the DVDs of OSX Lion, you understand me?
    There is a boot camp Windows executable? Where do I find, since I poked around and found nothing on ...
    The sound driver is installed, but not working ... and the rest are missing there also, the trackpad also does not work correctly, the right button does not work ... My experience with mac is low, it may be that you do not know how it works correctly the trackpad

  • Servlet not forwarding a control to the jsp with req dspher

    hi ppl,my servlet code is supposed to forward a control to a jsp page so as to display the value in the jsp.but the request dispatcher's forward is not forwarding the control to the jsp page.....here is my servlet code----
    // Decompiled by DJ v3.4.4.74 Copyright 2003 Atanas Neshkov  Date: 7/4/2003 12:37:00 PM
    // Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
    // Decompiler options: packimports(3)
    // Source File Name:   BdgtMaster.java
    package publicity;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class BdgtMaster extends HttpServlet
        public synchronized void service(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
            throws ServletException, IOException
            Object obj = null;
            String s3 = "";
            String s4 = "";
            out = httpservletresponse.getOutputStream();
            String s = "";
            String s1 = "";
            String s2 = httpservletrequest.getParameter("option");
            s3 = httpservletrequest.getParameter("branch");
            s4 = httpservletrequest.getParameter("publicity_code");
            String s5 = httpservletrequest.getParameter("budget");
            try
                String s6 = "0";
                String s7 = "0";
                String s8 = "INSERT INTO Budget_Master(Branch,Publicity_Code,Budget_Alloted,Work_In_Progress,Amount_Paid) VALUES (?,?,?,?,?)";
                String s9 = "update budget_master set old_budget = budget_alloted where branch='" + s3 + "' and publicity_code=" + s4;
                String s10 = "UPDATE Budget_Master set budget_alloted=" + s5 + " where Branch='" + s3 + "' and publicity_code=" + s4;
                datasource = "jdbc:odbc:budget";
                con = DriverManager.getConnection(datasource);
                int i = con.getTransactionIsolation();
                con.setTransactionIsolation(2);
                con.setAutoCommit(false);
                if("new".equalsIgnoreCase(s2))
                    PreparedStatement preparedstatement = con.prepareStatement(s8);
                    preparedstatement.setString(1, s3);
                    preparedstatement.setString(2, s4);
                    preparedstatement.setString(3, s5);
                    preparedstatement.setString(4, s7);
                    preparedstatement.setString(5, s6);
                    preparedstatement.executeUpdate();
                    con.commit();
                    preparedstatement.close();
                if("update".equalsIgnoreCase(s2))
                    Statement statement = con.createStatement();
                    statement.executeUpdate(s9);
                    statement.executeUpdate(s10);
                    con.commit();
                con.setTransactionIsolation(0);
                /*htmlStart(out, "BUDGET MASTER");
                out.println("<p> </p><div align=\"left\">");
                out.println("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"50%\">");
                out.print("<tr>");
                out.println("<td width=\"50%\"><strong><small><font face=\"Tahoma\">Branch </font></small></strong></td>");
                out.println("<td width=\"50%\"><small><font color=\"#004080\" face=\"Tahoma\">" + s3 + "</font></small></td></tr><tr>");
                out.println("<td width=\"50%\"><strong><small><font face=\"Tahoma\">Budget Alloted </font></small></strong></td>");
                out.println("<td width=\"50%\"><small><font color=\"#004080\" face=\"Tahoma\">" + s5 + "</font></small></td></tr><tr>");
                out.println("<td width=\"50%\"><small><strong><font face=\"Tahoma\">Publicity Code</font></strong></small></td>");
                out.println("<td width=\"50%\"><small><font color=\"#004080\" face=\"Tahoma\">" + s4 + "</font></small></td></tr></table></div>");
                htmlEnd(out);
              con.close();
                httpservletrequest.getRequestDispatcher("/pages/serview/BdgM.jsp").forward(httpservletrequest,httpservletresponse);        
            catch(SQLException sqlexception)
                cleanUp();
                printSQLException(sqlexception, out);
            out.flush();
        public void init(ServletConfig servletconfig)
            throws ServletException
            super.init(servletconfig);
            try
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                return;
            catch(ClassNotFoundException classnotfoundexception)
                log("Couldn't load class sun.jdbc.odbc.JdbcOdbcDriver");
                throw new ServletException(classnotfoundexception.getMessage());
        static void printSQLException(SQLException sqlexception, ServletOutputStream servletoutputstream)
            throws IOException
            servletoutputstream.print("<b>SQLException</b>\n<p>\n\n");
            for(; sqlexception != null; sqlexception = sqlexception.getNextException())
                servletoutputstream.print("<b>SQLState:</b> " + sqlexception.getSQLState() + "<br>\n");
                servletoutputstream.print("<b>Message:</b> " + sqlexception.getMessage() + "<br>\n");
                servletoutputstream.print("<b>Vendor:</b> " + sqlexception.getErrorCode() + "<br>\n");
        private static boolean checkForWarning(SQLWarning sqlwarning)
            throws SQLException
            boolean flag = false;
            if(sqlwarning != null)
                System.out.println("\n *** Warning ***\n");
                flag = true;
                for(; sqlwarning != null; sqlwarning = sqlwarning.getNextWarning())
                    System.out.println("SQLState: " + sqlwarning.getSQLState());
                    System.out.println("Message:  " + sqlwarning.getMessage());
                    System.out.println("Vendor:   " + sqlwarning.getErrorCode());
                    System.out.println("");
            return flag;
        /*void htmlStart(ServletOutputStream servletoutputstream, String s)
            throws IOException
            servletoutputstream.println("<html><head><title>" + s + "</title></head>");
            servletoutputstream.println("<body topmargin=\"0\" leftmargin=\"0\" bgproperties=\"fixed\">");
            servletoutputstream.println("<div align=\"left\"><table border=\"0\" width=\"100%\">");
            servletoutputstream.println("<tr><td width=\"100%\" bgcolor=\"#DFDFFF\">");
            servletoutputstream.println("<font face=\"Tahoma\" color=\"#000000\"><strong>B u d g e t   M a s t e r - D e t a i l s   E n t e r e d</strong></font></td>");
            servletoutputstream.println("</tr></table>");
        void htmlEnd(ServletOutputStream servletoutputstream)
            throws IOException
            servletoutputstream.print("<hr>");
            servletoutputstream.print("</body></html>\n");
        String link(String s, String s1)
            return "<a href=\"" + s + "\">" + s1 + "</a>";
        public String getServletInfo()
            return "Display and SQL manipulate JDBC databases on the server.";
        public void cleanUp()
            throws IOException
            if(con != null)
                try
                    out.print("Closing database connection");
                    con.setTransactionIsolation(0);
                    con.close();
                    return;
                catch(SQLException _ex)
                    return;
            else
                return;
        public BdgtMaster()
        private Connection con;
        private String datasource;
        private String user;
        private String password;
        private String base;
        private ServletOutputStream out;
    plz tell me where im wrong...
    regards....a_joseph

    Hi,
    Sorry to say this but it'd be lot simple if we can avoid cross posting similar Queries.
    I'd appriciate if you can continue using with your post
    http://forum.java.sun.com/thread.jspa?threadID=5208928
    Hope there are no hard issues on this.
    REGARDS,
    RaHuL

  • I can't get my usb 720 to open the internet with windows 8.1 even though it says it's connected.

    I just down loaded my software for the vz usb 720 modem on a new windows 8.1 computer and it says it is connected but the internet won't come on. It says firewall settings my have to be changed (921) Has anyone had this problem and is there a software upgrade for windows 8.1 that I need to use, or is it so out of date it will not work with 8.1 at all?

        Morffun,
    I appreciate you reaching out. I do apologize, but that device is not compatible with Windows 8.1 software. If you wanted to explore other options for wireless broadband devices, we have plenty available. You can view them here: http://vz.to/YuBwCW.
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • Access TimeCapsule over the internet with Windows and Bonjour

    Hi,
    I tried multiple things to access my Time Capusle over the internet but I can't figure it out. Obvioulsy everybody except me has a Mac. I will buy one soon, promise but now I need help with this Piece o S windows laptop.
    I forwarded the port 548 on my modem to the capsule, it didnt work (I didnt mount the drive though since I dont know how with windows)
    I clicked on sharing drives with bonjour in airport utility, created a host name username password but now how do I access it?
    Within the network everything works fine. I can access the drive with iphone, ipad und Piece oS but not remotely.
    Please help.

    You cannot access it from windows.. sorry. Any files you want.. copy to the laptop beforehand or use cloud storage.

  • Cannot make Recovery DVDs for the G580 with Windows 8

    I notice that Windows 8 Notebooks are no longer being sold with Licenses affixed to the underside.  So if anything goes wrong (e.g. we have to replace the HDD at a later date)  we cannot just use a Windows 8 disk to restore the operating system.
    This means it is important to make sure we have recovery DVDs. 
    With previous versions One Key Recovery had an option to make restore DVDs - it misses that option with Windows 8.
    Phoned Lenovo support who said that we should make the DVDs through the Windows Backup system, which again is fine but on both Lenovo's I have tried it on Windows 8 cannot make a backup to DVD.  Also even if we could make the windows backup or system repair disks they would not allow a complete factory restore to a brand new HDD. 
    How do we make Recovery DVDs that would be bootable and would restore the Operating System to a brand new HDD if the worst should happen and the existing HDD suffered unrecoverable failure?  So far the only option that has come up from my various phonecalls is "buy a set of recovery discs for £25-£35 .... which would be a bit unfair having only had this 2 days.
    Solved!
    Go to Solution.

    thanks for the feedback.
    Could you please check out the following link and see if it contains a possible solution, I am aware it states only Think products in the compatability list but there are "cross-over" points where something could be of relevance to other Lenovo products.
    http://support.lenovo.com/en_US/downloads/detail.page?DocID=HT076024
    thanks in advance
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

Maybe you are looking for