Thursday, September 16, 2010

postheadericon How to prepare for Windows 7 Installation?

Installing Windows 7 or upgrading Windows XP or Windows Vista could be a breeze for an expert IT administrator. However, if you are not an administrator who is involved in operating system installation or OS installation than it may be a good advice to have the necessary preparations done in advance. Preparing for the Windows 7 Installation could save you time and while at the same time help you stave off unpredicted challenges or problems during Windows 7 OS installation:

  • Find your product key. The first thing that you should be keeping handy is Windows 7 Product Key for OS Installation . Finding the OS product key is as easy as locating the Windows product key on your computer or laptop. If you are unable to locate the Windows 7 product key over there, than you should look at the DVD cover in the Windows package. Lastly, look for the Windows 7 Product Key in the confirmation e‑mail. However, this would be applicable only if you you purchased and downloaded Windows 7 online. Log on to Microsoft Windows website to view and find out examples of what a product key looks like. A Windows 7 Product Key appears much more similar to:

    PRODUCT KEY: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

  • Jot down computer name. If  you have been using a home or office computer network  it may be a good idea find you computer name and record it for reference later.

  • Back up your files. You may use USB Hard Disk Drive, a folder on your home or office computer network, and a DVD or CD. Windows Easy Transfer can be used to back up your files and settings. 

  • Download and run the free Windows 7 Upgrade Advisor. Windows 7 Upgrade Advisor mat be helpful in identifying compatibility issues with your hardware or programs during or post Windows 7 installation .

  • Select between 32-bit or 64-bit versions of Windows 7. The Windows 7 installation disc comes in both 32-bit and 64-bit Windows versions to suit your hardware.

  • Update Antivirus Program: Scan your computer and data after updating your Antivirus program. After the scan is over disable the antivirus program to ensure it does not interfere with your upgrade process. This is not applicable if you are installing the OS on a new computer as you can simply format your disk and proceed.  

  • Connect to the Internet. Lastly you may need to connect to Internet in order to download the latest driver updates, security updates, or installation updates as applicable. However, Windows 7 installation does not mandate an Internet connection.

Tags: how to install windows 7,OS Installation,OS Product Key,Windos OS installation,Windows 7 installation,Windows 7 Product Key,Windows Vista Upgrade,Windows XP Upgrade

Friday, September 10, 2010

postheadericon How to uninstall Mshtml.dll

A DLL, abbreviated for Dynamic Link Library, is a library consisting of code and data simultaneously shared among one or more programs. A DLL thereby encourages modularization of code, code reuse, efficient memory utilization, and reduced disk space usage. Ordinarily, a DLL creates an issue known as a dependency within a program.

Mshtml.dll is a Microsoft DLL file that renders a web page inside Microsoft’s internet browsing application called Internet Explorer. It also stores Internet Explorer icons. Mshtml.dll file gets installed automatically with a Windows Operating System installation. However, in case of a corruption you may need to install and register or uninstall and unregister a DLL file on your computer. A simple command line utility can be used in following steps to unregister or disable a DLL file in your Windows OS.

  • Locate the location path of mshtml.dll in your Windows installation. For instance, C:\Windows\System32
  • Click on "Start" and type "Run" into the Search Programs and Files box. Press "Enter."

Or

If you are using a version of Windows prior to Windows Vista, select "Run" from the "Start" menu. The Run box opens.

  • Type "regsvr32 /i /u <path>\mshtml.dll" (without the quotation marks) into the Run box and click "OK." Replace "<path>" with the path you noted down in step one. For instance, "regsvr32 /i /u C:\Windows\System32\mshtml.dll." This will automatically uninstall and unregister the mshtml.dll file.

Tags:  uninstall dll file, unregister dll file, disable dll file, mshtml.dll, dynamic link library, microsoft dll, internet explorer not working, windows operating system installation

Sunday, September 5, 2010

postheadericon How to Mount an ISO image to a USB

An ISO file is a sector-by-sector disk image of a CD or DVD disk. An ISO image can be easily mounted to a USB drive by simply extracting its content to USB Flash disk. However, mounting a bootable CD or DVD disk’s ISO image on a USB flash disk is slightly tricky. Mounting an ISO image to USB drive can be useful in installing Windows 7 on a PC that does not have a DVD-ROM drive.

1. Download MagicDisk (an optical disk drive emulator) and Install it following onscreen instructions. (Please refer to MagicDisk product documentation for details)

2. Download MBRWizard command line tool and extract to x:\Win-7-Prep folder. (Replace x: with your drive letter.)

3. Format the connected USB Flash Drive by “format x:” command on the Command Prompt. (The ‘x:’ in the command should be replaced with drive letter of USB Flash Drive.)

clip_image002

4. Convert the formatted USB disk’s file system to NTFS by “convert x: /FS:NTFS” command on the Command Prompt. (The ‘x:’ in the command should be replaced with drive letter of USB Flash Drive.)

clip_image004

5. Mount Windows 7 ISO image as drive using Freeware MagicDisc.

6. Discover the disk number for your USB Flash Drive using “mbrwiz /list”

clip_image006

7. Enable booting from the USB disk partition using “mbrwiz /disk=x /part=y /active” (letter x is the disk # and letter y is the partition #)

clip_image008

8. Now change drive to X:\ (x: is the drive letter of Windows 7 iso mounted using MagicDisk)

9. Change directory to boot using ‘CD Boot’ on command prompt

10. Update boot record on USB drive using “bootsect /nt60 x:” (letter x is drive letter of your USB drive)

clip_image010

11. Copy all files from mount Windows 7 iso image to USB.

12. Reboot your computer and press appropriate key (F2/F9/F10/DEL key as applicable) to enter your BIOS settings and select USB drive as your first boot drive.

13. Save the BIOS settings and quit out of BIOS screen and continue.

Congrats, you have successfully mounted the ISO image to your drive.

Thursday, September 2, 2010

postheadericon Decompiling Java Class Files

Backup is the first line of defense against any kind of data loss. Nevertheless, not many of us realize importance of backing up our source code until we have already lost it. This article explores the available tools and techniques to recover the java source code from a compiled java class file.
Problem:  Lost the Java source code
Solution: Decompile the Java Class File to discover the java source code. The solution assumes you have not lost the java compiled class files. You may not be able to successfully decompile the java “.class” if the some sort of Code Obfuscations tool is used.
The Tools and the Process
If you ever try to open a compiled java class file in a text editor, you may see some junk text as show in image 1.0. All of us have started our programming career with the most popular hello world program. A typical hello world program code is as follow…
/**
* The HelloWorldApp class implements an application that simply prints "Hello World!" to a standard output device.
*/
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!");    // Print String on standard output device
    }
}

image Figure 1.0


Compiling the above code using javac gives us a HelloWorldApp.class file. The above Figure 1.0 is a screenshot of a compiled .class file for popular “Hello World” program. The class file is opened in MS-DOS EDITOR Program. I have intentionally used ms-dos editor, as notepad and other windows application would require the font to be set to “system” in order to view the extended ASCII characters.  Thus what you can deduce from above that the java source code is far more different from java class file or java’s compiled byte code. The long hours spent in formatting the code in readable form have no value to the compiler. Other that few readable character or strings there is nothing you can decipher out of a compiled byte code, which is a binary format.
There are several commercial and freeware tools available on the internet. One can find them using a quick Google search using the “java de-compiler” keywords. A de-compiler is program capable of decoding the java byte code and constructing the java source code out of it.  An obvious doubt in mind is, if you can get your Java source code file back together from the little pieces in the class file and If the de-compiler can produce exact java source code the way, you had written. The decompiled class file would generate source code without any comments in the code. It means that the those little pieces of information you had written around your code help you remember the logic applied will be lost in a generated source code from a java class file de-compilation process. This is because the “.class” file does not contain any comment. Compiler simply ignores all comments in the code while compiling the byte code.
As a programmer, even you can write your own tools that process other Java classes. This tutorial does not intend to teach you the method of writing a de-compiler program and it is beyond the scope of this tutorial. In the meantime, this discussion is only limited to de-compilation tools available in the market either free or for a price. In the following section, I would review some of the popular java de-compilers available on the net.
Javap: A Java program available in the Java SDK viz. javap can help you decompile the other Java programs. Javap is a command line tool installed along with JDK installation. The –c parameter must be passed to the program in order to disassemble the java byte code and generate source code.  The other useful parameters are –private to show all classes and members.
Mocha: Mocha is supposed to be a freeware as per the readme file contained in various distributions available on the net but on one site I came across some reference to Boarland’s exclusive claim on Mocha. Late HanPeter van Vliet of Netherlands wrote the Mocha program. Since mocha is a command line tool that must be used inside a DOS shell or command prompt. Mocha just showed the early Java hackers that it was possible to decompile Java Byte Code. The HelloWorld program above if decompiled using Mocha outputs as under:
/* Decompiled by Mocha from HelloWorld.class */
/* Originally compiled from HelloWorld.java */
import java.io.PrintStream;
public static void main(String astring[])
{
System.out.println("Hello, World");
}
public HelloWorld( )
{
}

As you can notice, the output is neither indented nor commented unlike your original code. Mocha though a freeware is not maintained any longer. It is believed to have some problems with some of the class file constructs generated by latest compilers.
Jad: Jad is a command line tool written in C++. It is free but a closed source program.  Jad can be downloaded from various mirrors (Location1, Location2, Location3) on the internet. Only binary distribution is available on the internet.
JD-GUI: Java Decompiler (JD) is a standalone graphical utility that can generate Java source codes out of java ".class" files. It allows you to view the methods and fields within the reconstructed source code inside the JD-GUI interface for instant access as shown in Image 1.1. The JD-GUI is free for non-commercial use.

image

Figure 1.1

It is therefore, implied that JD-GUI shall not be included or embedded into commercial software products. Nevertheless, JD-GUI may be freely used for personal needs in a commercial or non-commercial environment. JD-GUI is downloadable here.
Unlike commercial tools, the main challenge with freeware tools is about regular updates of the software to incorporate changes in the programming language. Several commercial de-compilers are available that are regularly updated in line with the changes introduced in the newer versions of Java or fix any known bugs.
How validate a de-compiler to verify if it is working fine?
You may validate a de-compiler to verify if the java de-compiler tool is working as expected by following below steps…
1.    Randomly pick up just any java code and compile it using javac.exe from in the JDK. It will generate the class file.
2.    Use one of the java decompiler to generate the source code from the “.class” file.
3.    Recompile the generated source code to a different location to generate a java “.class” file again.
4.    Compare the newly generated “.class” file with the “.class” file generated in step one above, byte-by-byte. If both the files are identical then the de-compiler tool is validated to work fine otherwise you may want to be double check before finalizing on the software.
In light of what is mentioned above you may not have any difficulty if ever you need to get your source code back from the java “.class” files. As mentioned above the physical access to “.class” files is a must in order to decrypt the byte code. However, it is still a better idea to backup your source code often than using a de-compiler.

postheadericon What is Needed to Build a Pool

The pools are more often than not artificially constructed containers filled with water. The main objective of building a pool is to create facility for swimming or water-based recreation. A swimming pool, swimming bath, wading pool, or simply the term pool, each of them, represents the same thing.

Depending on the type of needs served by the pools, you may want to select from among many standard sizes. The largest and deepest pool is the one used Olympic Games. Similarly, a pool may also be built either above the ground or beneath the ground. Generally, the materials used for building the pool include metal, plastic, fiberglass, or concrete.

Pools may be built for use, by several people or, more appropriately put, by the public in general are called as public pool. While pools built to be used exclusively by a few people or in a home are called private. Thus, the purpose served and ownership of a public pool differs from the private pool.

Pools may be used for swimming exercises or relaxation. Hot tubs and spas are pools with hot water, used for relaxation or some sort of therapy also known as hydrotherapy. Swimming pools are ordinarily used for diving, swimming, and training of lifeguards and astronauts.

In Phoenix, Arizona, Owner/Builders as a group are the third largest group of pool builders after Shasta Pools (#1) and Paddock Pools (#2). However, building a pool yourself requires lot of research and planning along with the materials and of course not to mention the finance. Once built it also requires appropriate maintenance to rule out probability of diseases resulting from stored water.

The following text shall encompass the essential materials required to build a pool on your own if not entirely at least the major part of it.

1. Land: You must select the land of appropriate size to build the pool. The land should be enough to have the excavation for in-ground pool or for either fiberglass or concrete contain if it is going to be above the ground. If is important to note whether the pool would be placed in relation to any adjoining buildings, walls etc. Similarly, factors such as wind, shade, and view of the pool from the house and possibly your neighbor’s property are all important consideration while choosing the land for the pool. Beside ground conditions such as Clay, chalk, high water table etc are equally important.

2. Stones, Pebbles, Bricks and Steel: You may want to use stone on the exterior of the pool to make platform, podiums, decks around the interior or exterior pool walls etc. You may use granite or marble or other types of stone for build steps and bays for the pool. You may use steel or other metal for building railing around the pool for safety if you want. Concrete, brick or stone all play an important role in internal coping of the pool shell.

3. Electrical, plumbing, gas etc.: You may be needed to have one or more of these to pump in and pump out the water. It you are building a hot water tool similarly, heating materials would be a choice.

4. Filtration System: It includes the options available for filtering such as Sand, DE or Cartridge based filtration systems for the pool. Chemical disinfectants include chlorine, bromine or mineral sanitizers, and additional filters are often used in swimming pools to prevent growth and spread of bacteria, viruses, algae and insect larvae. Alternatively, a biofilter may be used with additional carbon filters and UV disinfection. In both cases, pools need to be fitted with an adequate flow rate.

5. Chlorination System: Ozone, Salt Water, and Standard Chlorinator are some of the standard choices in this direction. By se of an ozone system, the need for chlorine is reduced by a significant amount.

In this article, I have tried to explain some of the essential building blocks required to build your own pool. I hope are article was informative to you and would like thank you for reading.

postheadericon The New Froyo for Enterprise Customers

Google has officially announced Froyo, the newest version of the Android family, at Google I/O in this May 2010. This was one of move of Google that did not come as a bolt from the blue to anyone. Known as Froyo (or Frozen Yogurt) or more properly Android 2.2, it offers a number of enhancements and fixes to the Android platform. Android releases are all named after desserts. Froyo has been tested on a Nexus One which currently is the only device supported by Android 2.2.

Let’s take a quick look at some of the highlights:

Speed/Performance

This was the first point observed all the way through the declaration and it is a big one. Officially Google is referring a 2-5x boost on all devices running 2.2 in context of the Dalvik JIT (just-in-time) compiler. The browser exploits the V8 engine used in Google Chrome. Hence the browser will reportedly see a 2-3x performance increase making it “the world’s fastest mobile browser.” Overall the whole OS seems much marked with up-to-datedness than Android 2.1. Everything on the OS in general happens much faster with better performance.

Integrated Flash Support

Froyo supports Flash on your mobile device. The experience on interactive elements and video that isn’t optimized for mobile may get a little choppy as reported earlier. However, you may expect that to get refined over time and at least you are actually seeing the whole web as opposed to just the parts that someone else wants you to see.

Enterprise Exchange (email) support.

The lack of Exchange support has been a huge shortcoming of the platform to date and has been holding Android back from Enterprise adoption. Now, the latest Android can finally sync Exchange calendars in addition to email and contacts. It also supports the PIN requirements along with remote wipe features.

The overall security however, still isn’t at the required standard or of good enough quality. E.g. the content stored on the MicroSD cards still cannot be encrypted. However, the Google is committed to and in fact is getting very close to good enough for business use of Android for the enterprise customers. This is therefore, definitely a significant step for Android as a platform. Some of the highlights for the enterprise users are as under.

· Use of numeric and alpha-numeric passwords or password phrases ameliorates the security

· Support for the Remote Wipe feature allowing Exchange administrators to remotely reset the device to factory defaults. The feature come handy especially to secure data in case device is lost or stolen

· Support for the Exchange Calendar feature

· The auto-discovery feature make Exchange Integration setup a breeze. However, it works well only with Exchange 2007 or greater.

· Auto-completion feature is enabled by the Global address books look-up feature in the emails.

Tethering and Portable Wi-Fi Hotspot

This new feature of the Adroit 2.2 enables you to share your 3G or 4G connection with other devices. This is done through either by use of a USB cable. Alternatively you turn your phone into a portable Wi-Fi hotspot to share the 3G or 4G connection. This is also termed as a MiFi. The Wi-Fi hotspot can be shared with up to 8 different devices.

However, experts are not sure if these features of Froyo would be retained or kept intact when the Froyo gets rolled out to carrier handsets and if at all they do, would they be charging extra for the same?

App Storage on SD

This feature allows the user to install and run applications directly from your SD card. Thus it will remove the 256 or 512 MB memory limitations, found on most Android phones, for both the users and developers. While the system can decide, upon the location for installation, based on the type of application, the user has the option to choose the installation location.

The Auto-update and Update All

Earlier the Android users had to undergo the pain click 3 times to update each application individually. However, with introduction of these two new features would make updating the applications a breeze. What users would have to do now is just to tap on an “update all” button at the bottom of the ‘Downloads’ screen. If this is also what you find cumbersome you have the option to just set your Android 2.2 to automatically update any app that has an update available.

While Google continues to refine the Android experiences, making it more usable and more useful in Enterprise, if you own Nexus One or other 2010 stock Android device a no-brainer upgrade is available to you. Google’s rate and pace of OS updates has been impressive and there’s no sign it’s slowing down.

Thursday, August 12, 2010

postheadericon Laying a Horse in a race

For those who are incognizant of what “Laying a horse in a race” means, it fundamentally means the same thing as saying "I bet that this horse will not win this race". Hence, it makes you win the bet if any other horse wins in its place. Thus in fact you are effectively replacing the bookmaker. For instance let’s say you bet by laying a horse at 2.4 in exchange for £100. It so happens that the horse you are laying in the race happens to lose. In such a case what is implied from this is that you have won £100. You lose £140, however, if hose wins the race.

When a layman comes to know about laying horse in a race he thinks that it is quite easy to make quick bucks doing this based on the logic that if he keeps on laying just 100/1 shots he is like to make huge money because they will never win!. What is important to note here is that this system may go on great for a while and you may also mint huge money doing it for a long time without losing. However, just think what would happen if the miracle 100/1 shot takes place. You would immediately loose 100x on the bet unquestionably hitting you your betting balance in a massive way.

Having understood the pros and cons, you must understand how to behave prudently by exploiting the system of laying the favorites. The system of laying favorites involves find out favorites that you believe will not win the race. You need to do this because when you lay lower priced horses you need a lower strike rate.

The public hype is the best known way to find favorites that will lose. Let’s say, you notice a horse drop from 6/1 all the way than it becomes your favorite at 2/1. This is because someone has put in a large amount of money on it. Hence it calls for you to drop in and lay it off. In additions this also proves to be excellent because you get the opportunity to lay off a horse that could be 6/1 for a measly 2/1 and thereby saving yourself 4 points!

Sponsored Links



Forex Platform Trading / Forex Trading Software

Betting on Horse Racing Successfully

Easy Home Surveillance under $30 / Buy Spy Camera