How I Made $2,000,000 In The Stock Market

In Just 18 Months, Nicolas Darvas Turned $25,000 into Over $2 Million...
This is How He Did It...

Forex E75 System to make you rich ?

What Will Users of the E75 Forex Release 2+ Trading System Be Able to Learn From This Course? Firstly, users will learn about the importance of compounding and money management

Organic Fruit Growing

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

How to Do Everything with JavaScript

This friendly, solutions-oriented guide is filled with step-by-step examples that illustrate how to write basic to advanced JavaScript applications, as well as modify existing scripts to suit individual needs.

How To Choose a Laptop

Buying and using a laptop can be a liberating experience. You will have the ability to take your work wherever you go, take your computer to class, a coffee shop, on a trip - anywhere. You may end up spending a bit more for a laptop than you would ...

Web Hosting

Friday, August 22, 2008

How to Modify Windows Registry with VBS : Introduction

Introduction

Editor's Note: Tom's Hardware is pretty heavily oriented toward, well, hardware. However, we thought you'd appreciate this valuable little voyage into Windows Visual Basic scripting (VBScript) and Windows Registry modification. Starting with this article, when we see something you might find interesting, whatever it may be, we'll let you know about it. Take it away Mr. Thomas.

I'm a sort of evangelist for VBScript. One of my goals here is to lure you into using this programming language. Even if you have no interest in VBScript, I'm going to show you how to do something that you may like: how to remove those annoying arrows on shortcuts. In addition to VBScript code, I'll provide instructions on how to accomplish the same task using simple Windows Registry .reg files.

Beware, the IsShortCut method works fine for XP and Windows Server 2003, but can produce ugly side-effects in Vista. Down the road a bit, I'll publish a separate Shell Icons script to remove the arrows from Vista shortcuts.

Thanks to the .reg files supplied, you don't actually have to study VBScript to get this job done. However, if you use or would like to use VBScript, the VBScript examples show how easy it is to create objects. In this instance the object and its .RegDelete method modify the Windows Registry. It almost goes without saying that in other scripts you can use different methods to automate any task that you can perform through a GUI.

Removing the arrows on shortcuts is a classic case of Microsoft having not one, but three ways of configuring a Registry setting; VBScript, a .reg file and of course regedit.

My VBScript method, which deletes the IsShortCut value, works for both XP and Vista machines. However beware, because in Vista, removing this Registry value causes problems with shortcuts in the Favorites folder.

If you just want to remove the arrows quickly, use the .reg file. If you are using my VBScript to remove the arrows, the .reg files provide a complimentary method for resetting the Registry before you run the script for a second time.

A hidden bonus of using a script to remove the shortcut arrows is that you learn about the full range of Registry commands: .RegWrite, .RegDelete and .RegRead.

Saturday, August 9, 2008

Ten Personal Solutions global warming

Individual choices can have an impact on global climate change. Reducing your family's heat-trapping emissions does not mean forgoing modern conveniences; it means making smart choices and using energy-efficient products, which may require an additional investment up front, but often pay you back in energy savings within a couple of years.

Since Americans' per capita emissions of heat-trapping gases is 5.6 tons—more than double the amount of western Europeans—we can all make choices that will greatly reduce our families' global warming impact.

  1. The car you drive: the most important personal climate decision.
    When you buy your next car, look for the one with the best fuel economy in its class. Each gallon of gas you use is responsible for 25 pounds of heat-trapping gases in the atmosphere. Better gas mileage not only reduces global warming, but will also save you thousands of dollars at the pump over the life of the vehicle. Compare the fuel economy of the cars you're considering and look for new technologies like hybrid engines.

  2. Choose clean power.Products that bear the Greene logo meet rigorous quality standards
    More than half the electricity in the United States comes from polluting coal-fired power plants. And power plants are the single largest source of heat-trapping gas. None of us can live without electricity, but in some states, you can switch to electricity companies that provide 50 to 100 percent renewable energy. (For more information go to
    Green-e.org.)

  3. Look for Energy Star.
    energy star logo

    When it comes time to replace appliances, look for the Energy Star label on new appliances (refrigerators, freezers, furnaces, air conditioners, and water heaters use the most energy). These items may cost a bit more initially, but the energy savings will pay back the extra investment within a couple of years. Household energy savings really can make a difference: If each household in the United States replaced its existing appliances with the most efficient models available, we would save $15 billion in energy costs and eliminate 175 million tons of heat-trapping gases.

  4. Unplug a freezer.
    One of the quickest ways to reduce your global warming impact is to unplug the extra refrigerator or freezer you rarely use (except when you need it for holidays and parties). This can reduce the typical family's carbon dioxide emissions by nearly 10 percent.

  5. Get a home energy audit.
    Take advantage of the free home energy audits offered by many utilities. Simple measures, such as installing a programmable thermostat to replace your old dial unit or sealing and insulating heating and cooling ducts, can each reduce a typical family's carbon dioxide emissions by about 5 percent.

  6. Light bulbs matter.
    John Foley helps her daughter install an energyefficient light bulbIf every household in the United States replaced one regular light bulb with an energy-saving model, we could reduce global warming pollution by more than 90 billion pounds over the life of the bulbs; the same as taking 6.3 million cars off the road. So, replace your incandescent bulbs with more efficient compact fluorescents, which now come in all shapes and sizes. You'll be doing your share to cut back on heat-trapping pollution and you'll save money on your electric bills and light bulbs.

  7. Think before you drive.
    If you own more than one vehicle, use the less fuel-efficient one only when you can fill it with passengers. Driving a full minivan may be kinder to the environment than two midsize cars. Whenever possible, join a carpool or take mass transit.

  8. Buy good wood.
    When buying wood products, check for labels that indicate the source of the timber. Supporting forests that are managed in a sustainable fashion makes sense for biodiversity, and it may make sense for the climate too. Forests that are well managed are more likely to store carbon effectively because more trees are left standing and carbon-storing soils are less disturbed.

  9. Plant a tree.
    You can also make a difference in your own backyard. Get a group in your neighborhood together and contact your local arborist or urban forester about planting trees on private property and public land. In addition to storing carbon, trees planted in and around urban areas and residences can provide much-needed shade in the summer, reducing energy bills and fossil fuel use.

  10. Let policymakers know you are concerned about global warming.
    Our elected officials and business leaders need to hear from concerned citizens.
    Sign up for the Union of Concerned Scientists Action Network to ensure that policymakers get the timely, accurate information they need to make informed decisions about global warming solutions.

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More