Monday, December 6, 2010

Installing windows 7 over existing Windows 7

5:00 AM

I installed the Windows 7 Ultimate Edition over the existing Windows 7 Tweaked Gamer edition which had a lot of bugs and minor issues here and there.

5:30 AM

Not able to delete the Windows.old and Windows.old000 folder which were automatically created, due to some issue with access permissions. Moreover there is a huge clutter of folders in the C: which are now of no use. These folders were not removed during the install and Windows is not allowing me to delete them now.

http://www.geckoandfly.com/5864/force-delete-locked-or-undeletable-files-and-folder-in-windows-7/

http://ccollomb.free.fr/unlocker/#download

5:40 AM

I guess I’ll format C: and again install a fresh copy of windows through USB into it to clean up all the clutter. zzZZ…

6:15 AM

Done. Laptop is as good as new Smile.

Sunday, December 5, 2010

Installing Windows 7 from USB stick

 

The shortest and simplest way :

Download Windows 7 USB/DVD Tool

 

Fix for the error :

“The selected file is not a valid ISO file. Please select a valid ISO file and try again.”

is as follows :

  • Open your .iso file in Power-ISO(full version if .iso > 300 MB)
  • Go to File–>Image properties
  • Check UDF
  • Press ok
  • Save your file

Now use the Windows 7 USB/DVD tool!!

 

No need to open command prompt at all Open-mouthed smile.

Other method :

http://www.intowindows.com/how-to-create-bootable-windows-7-usb-to-install-windows-7-from-usb-flash-drive-using-windows-7-dvdusb-tool/  [However this above method didn’t work out well using virtual  drives (win-7 .iso mounted on Power-ISO). ]

Tuesday, November 2, 2010

Customized 404 Not Found Page for your website

A 404 error is the response given by the web server when we try to open a page on the internet that does not exist.

If you don’t specifically tell your web server how to handle 404 errors, it will serve up a very plain and generic looking error page. That just says something like “Not Found – The requested URL was not found on this server.” on a plain white page.”

normal

A 404 page should look like an error page, but it should still look like your website. If you are using a CMS, this is probably already handled for you. If you have a static site, you can specify a 404 template through your .htaccess file.

- source http://css-tricks.com/


Here is how you make your custom 404 page :

Step 1:

Suppose your Web-project folder is xampp/htdocs/test

Create a new text document in your website’s folder.

Type the following inside the text file:

ErrorDocument 404 /test/error404.php

Save the file as .htaccess

Step 2:

Next create the error404.php page in the path specified above, i.e. in the test folder in this case.

This is the page which will be shown instead of the normal 404 error page.

Sometimes there might be some Webserver issues which can be rectified as follows :

A directive should be added to your httpd.conf for the directory which your website lives in. Let's say for this example it's /www/htdocs. Here's a line in your httpd.conf that you must have for this .htaccess file to work:

<Directory /www/htdocs/yoursite>
AllowOverride FileInfo
</Directory>

- source http://www.devarticles.com/

modified

Good read : http://css-tricks.com/404-best-practices/


Dedicated to X[a]T!, Os!r!S & KenSe! for their constant effort in reducing the load on Mother Earth.

Friday, June 4, 2010

Complete guide for Installing and Running your first GUI Application in Qt c++ in Windows 7 (for Newbies)

Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.

Recently I installed Qt 4.5.2 on my Windows 7 PC and had some minor installation and post-installation issues which I shall discuss here.

Step 1.

Download Qt SDK: Follow this link to download

Qt is available for download as a free 30-day commercial evaluation, or under the LGPL open source license. Choose whichever license you want. However, every time you build projects using commercial edition Qt will display a license popup.

Annoying

Step 2.

Install Qt to whichever directory you want. Like i installed it at C:\Qt\2009.03\ . This path will be needed later.

Step 3.

Write a simple Qt-c++ program like the one given below just so that we can use it to test if the installation is properly done and the environment variables are properly set. Just write this piece of code in notepad and save it as HelloQt.cpp in a directory HelloQt. Remember the path since it will be used later.

#include <QtGui/QApplication>

#include<qlabel.h>

int main(int argc, char *argv[])

{

QApplication app(argc, argv);

QLabel *label = new QLabel(" Hello Qt!",0);

label->show();

return app.exec();

}

Step 4.

Setting Environment variables.

  • From the desktop, right-click My Computer and click Properties.
  • In the System Properties window, click on the Advanced tab.
  • In the Advanced section, click the Environment Variables button.
  • Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
  • Environment

    Append the following variable value to Path : C:\Qt\2009.03\bin; C:\Qt\2009.03\qt\bin

    Note that the above Path depends on the directory where Qt was installed previously, like mine was C:\Qt\2009.03\.

    Step 5.

    Open Qt command prompt which is installed along with Qt and has a shortcut in Start-menu.

    qt command prompt

    Step 6.

    Change directory to where you have saved HelloQt.cpp in your system.

    cd C:\QtProj\HelloQt

    Step 7.

    Type the following commands …

    qmake –project

    qmake HelloQt.pro

    nmake

    commands

    The first command will generate a .pro file (HelloQt.pro)

    The next command will generate a MakeFile for your project

    Finally nmake shall create a .exe file of your project and the .exe shall be saved inside either the debug or the release folder by the name HelloQt.exe

    directory

    Problem with using nmake command

    If windows shows some error like “nmake is not a recognised internal or external command”, this means nmake is not installed on your system. To install, you need to downloading, extract, and place two files into your C:\WINDOWS\system32 or C:\WINDOWS\ folder.

    Follow the steps below to install nmake on your PC

    1. Download nmake : Use this link or Google nmake15.exe if this links is broken -http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
    2. Extract nmake: Run the Nmake15.exe file which will extract two files to the directory where it is located. These files will be nmake.exe and NMAKE.ERR.
    3. Now move those two extracted files to C:\WINDOWS\system32.

    This should install nmake on your system.

    If you follow the above steps correctly, you are ready to use Qt to create GUI applications on your Windows PC.

    Friday, July 18, 2008

    Nokia establishes Symbian Foundation …WHY? … Future consequences?

    The recent “Open at own risk” promo disaster (yes it was a disaster) of Nokia has left quite a few Nokia fans including me annoyed. However that certainly doesn’t mean that Nokia has turned evil.

    Around four weeks ago, on June 24th, 2008, Nokia purchased the whole of Symbian (for EUR 264 million) (previously it owned 48% of Symbian). And the reason why I said Nokia isn’t evil is the fact that despite the purchase, Nokia has decided to gradually open-source the entire Symbian platform code including even its own S-60 variant, over the next couple of years, under Eclipse Public License (EPL).

    Nokia went further and established the non-profit Symbian foundation (www.symbianfoundation.org) which includes leading phone manufacturers like LG, Motorola, Samsung, Sony Ericsson; wireless carriers AT&T, NTT DoCoMo and Vodafone; plus semiconductor firms STMicroelectronics and Texas Instruments. A huge ecosystem is already committed to the foundation:


    WHY …. ?

    Symbian OS is presently the leading most popular Smartphone platform in the world. Symbian started in 1998 and thus it also recently celebrate 10 years of its successful journey in the market (www.symbian.com/tenyears) 60% of the Smartphones manufactured today are built on Symbian platform which is a greater percentage than any other platform by far. Symbian OS represented approximately 7% of all mobile device sales in 2007. To date, more than 200 million Symbian OS based phones have been shipped, over 235 models, from 8 vendors and on more than 250 mobile networks around the world. More than 4 million developers are engaged in producing applications for Symbian devices.

    According to a source, four billion people are expected to have joined the global mobile conversation by 2010. The mobile devices are now being looked upon more and more as a multi-utility gadget which is expected to provide the added functionality of a decent camera, music player a gaming console, internet browsing and virtually replace the personal computer. These advancing features must be accommodated while simultaneously lengthening battery life from model to model. That job falls largely to the OS and Open software is the basic building block for delivering this future as it accelerates and enhances the software development process to a large extent.

    Since Symbian is already the leading open platform for mobile devices the establishment of the Symbian Foundation is expected to make it the undisputed platform for mobile innovation. The Symbian Foundation will promote the Symbian OS and provide royalty-free open platform and accelerate innovation.

    As the Symbian foundation says, the purpose of Symbian is to:
    “Bring to life a shared vision and to create the most proven, open and complete mobile software platform - available for free.”

    But there is another good reason for Nokia to make such a move … The move is also a response to Google's cheap Android (Wikipedia) platform which is already open source and threatens to potentially replace Symbian as the choice of a device-independent platform. The Open Handset Alliance (Wikipedia) is working on Android and includes Symbian producers LG, Motorola and Samsung as part of its membership.

    Moreover the OS X platform which is used in the powerful and popular iPhone also pose a severe threat to Symbian. The OS X platform, unike Android, is a closed platform, and has been increaing its market share at a brisk rate.

    Thus basically the Symbian foundation came together because its members felt the need to join hands in order to keep up with the ever-rising demands of the consumer and to rise above their competitors.

    According to Nigel Clifford, CEO of Symbian:
    “Ten years ago, Symbian was established by far sighted players to offer an advanced open operating system and software skills to the whole mobile industry…Our vision is to become the most widely used software platform on the planet and indeed today Symbian OS leads its market by any measure. Today’s announcement is a bold new step to achieve that vision by embracing a complete and proven platform, offered in an open way, designed to stimulate innovation which is at the heart of everything we do.”

    FUTURE CONSEQUENCES …. ?

    One can safely say that the Symbian foundation has a really bright future owing to a number of good reasons.

    Firstly, because the minds of the world’s leading mobile manufacturers will unite to develop a single grand platform. This will lift the burden of developing the core OS from the individual. The move will let each phone maker shift attention to making devices unique rather than rewriting some or all of the basics. Thus the development takes lesser time and resources for each member.

    Moreover each manufacturer has agreed to provide the various smart developments they have made so far to the cause:
    • Nokia has agreed to contribute their popular S60 platform to the foundation.
    • Motorola and Sony Ericsson will contribute the developments made in their special variant of Symbian, called UIQ.
    • NTT DoCoMo will also do the same with the MOAP software it uses for many of its phones.
    • Nokia intends to combine Symbian, S60, UIQ and MOAP platforms and that is an absolutely brilliant strategy as each platform contains its own pros and cons. The unison to create a single open mobile software platform will drive the development of newer and highly advanced software and incredible applications for the phones to the delight of the consumer.
    • And that’s not it. There are lots of other affiliates which further strengthen the Symbian Foundation by providing services in the areas where they specialize.
    Moreover when the code will become completely open-source which is expected to be in around 2 years then the innovations will be further boosted as the code will be available to a wider community.

    The carriers are also happy with the union and say that the Symbian Foundation will alleviate a great deal of market confusion and disparity. The Symbian Foundation will reduce fragmentation in the industry and holds the promise of incorporating leading technology and the most mature software into a unified platform for the entire industry.

    On the whole… the foundation is a gleaming prospect as ultimately the value of a phone depends not on the hardware but on the underlying software. Nokia bought Symbian with the stated long-term intention of giving the OS away as proper open source and to me it appears to be a wise decision on the part of Nokia as it protects the Symbian OS from upcoming rivals.
    The move is also hugely beneficial for us the users as it would be great for us to get more and more innovative Smartphones with lots of wonderful features. This can certainly be a reality if the super powers of mobile software development industry honestly join hands and work in collaboration.

    Already, there is lots of great news about the upcoming Nokia touch-phone tagged Nokia-tube which is expected to release until next year. Having seen some of the video releases that Nokia has provided for the S60 platform and if the leaks about the configuration of the Tube are to be believed, then I must say that even much hyped iPhone will soon be given a run for its money.

    I really do hope that the Symbian Foundation provides a wonderful environment to its members and marshals a new era in the mobile software industry.

    Cheers!!

    Press release
    whitepaper

    Powered By Blogger
    Custom Search