Saturday, 24 September 2011

Tips for Writing Computer Programs


When you’re ready to write a computer program, keep these how-to tips on programming in mind so the program you create has clear instructions for the computer to carry out tasks effectively:
  • Use descriptive variable names.
  • Use appropriate data types.
  • Write programs that are easy to read and understand.
  • Use simple algorithms and data structures whenever possible.
  • Comment your program liberally. (Or, as an alternative, make your code so clear and easy to read that you don’t need comments in the first place.)
  • Write modular programs by dividing a large program into several smaller programs that you isolate from one another.
  • Test boundary conditions by giving your program extremely high and extremely low numbers.
  • Choose the right algorithm and data structure for your program.
  • Eliminate all unnecessary instructions or variables.
  • Make your program work first; then worry about optimizing the program to make it smaller and faster. Remember that a slow, bloated program that works is preferable to a small, fast program that doesn’t work.

Windows XP Data Backup


Windows XP Backup

If you use Windows XP Professional, the Windows Backup utility (Ntbackup.exe) should be ready for use. If you use Windows XP Home Edition, you'll need to follow these steps to install the utility:
  • Insert your Windows XP CD into the drive and, if necessary, double-click the CD icon in My Computer.
  • On the Welcome to Microsoft Windows XP screen, click Perform Additional Tasks.
  • Click Browse this CD.
  • In Windows Explorer, double-click the ValueAdd folder, then Msft, and then Ntbackup.
  • Double-click Ntbackup.msi to install the Backup utility.
Now you're ready to begin backing up:
  • Click "Start", then "All Programs", then "Accessories", then "System Tools", and then click "Backup".
  • Click Next to skip the opening page, choose "Back up files and settings" from the second page, and then click "Next". Now you will choose what to back up. See Figure BK-2.

    backup1
    Figure BK-2

    You might be tempted to click "All information on this computer" so that you can back up every bit of data on your computer. Not a good idea -- your backup could add up to many gigabytes. For most people, the "My documents and settings" option is a better choice.
  • If you know that you have data files stored in other places, click "Let me choose what to back up". This option takes you to the "Items to Back Up" page shown in Figure BK-3.

    backup2
    Figure BK-3

    Check the "My Documents" box to back up all your personal data and then browse "My Computer" to select any other files you want to back up.
  • Decide where to store your backup files. Windows asks you to specify a backup location. Backup assumes you're going to save everything in a single file so you just have to choose a location for that file and give it a name. Click Browse and choose any of the following locations:
    • The hard disk (not recommended). If your hard disk is partitioned into drive C and drive D and your data is on drive C, you can back up to drive D.
    • One major drawback is that the Windows Backup utility can't save files directly to a CD-RW or DVD-RW drive.
    • An external hard disk drive (good option if available). USB and IEEE 1394 or FireWire drives have dropped in price lately. Consider getting a 120 GB or larger drive and dedicating it for use as a backup device. See our section on external hard drives.
  • After you've chosen a backup location, enter a name for the file, click "Next" and then click "Finish" to begin the back up process.
  • Set up an automatic back up schedule. When you get to the final page of the Backup Wizard, don't click "Finish". Click the "Advanced" button, and click "Next" to open the "When to Back Up" page. Choose "Later", and then click "Set Schedule" to open the Schedule Job box shown in Figure BK-3.

    backup4
    Figure BK-4

    This example shows the settings for a weekly backup on Friday afternoon. You can set any schedule you want by using the options shown. After you click "OK" to save your changes, Windows XP runs the backup automatically. Just remember to leave your computer turned on.

Friday, 23 September 2011

Beginner's guide to Windows 7


You can make Windows even better by tailoring it to your tastes
The best thing about all versions of Windows - and especially Windows 7 - is how customisable it is. You don't have to change your habits to suit Windows 7 - you can change Windows 7 to suit you.
Straight out of the box Windows 7 is incredibly user-friendly, but if you take the time to tweak and customise Windows to suit your needs and tastes, you'll find that using your computer is faster and easier than ever before.
One of the first things you can do to help feel at home when using Windows 7 is to personalise the look and feel of the system. Right-click anywhere on the desktop and select Personalize. You can choose from a number of different themes that come with Windows 7 or click Get more themes online.
own photo
This takes you to a website where you can view even more fantastic themes to decorate your computer with.
Get some gadgets
Desktop gadgets were introduced in Windows Vista to add a whole new dimension of functionality to the Windows desktop. Gadgets are small programs that sit on your desktop and give you instant access to tools and information from your computer and the internet.
Gadgets
From the local weather to headlines from your favourite sites, there are gadgets for everything. To see what's on offer, right-click the desktop and select Gadgets. Click the gadget you want on your desktop and drag it to where you want it displayed.
If you can't find a gadget that suits your needs click Get more gadgets online to take your pick from thousands of available desktop gadgets.
Set up user accounts
If you share your computer with other people, you can set up user accounts for each person. Setting up user accounts for each member of your family enables everyone to personalise Windows in a way that suits them. Having a user account for each person also means that their favourites, internet home page, browsing history and personal files are all saved and only accessible to them.
User accounts
To create user accounts, go to Start ➜ Control Panel and then under User Accounts and Family Safety, select Add or remove user accounts. Click on Create a new account, then enter the name of the person you are creating the user account for, make sure it is set to 'Standard user' so they can't change any important settings, and click Create Account.
Once you have set up the account, you can click on it to edit the name, create a password or change the picture that represents the account.
Keep your family safe
Another great reason to create user accounts for members of your family is that you can add parental controls to your children's accounts to ensure that they are kept safe. You can limit what programs each person has access to and if you are worried about the children using the computer for long periods of times, you can limit when and for how long they can use the PC.
Go to Start ➜ Control Panel and under User Accounts and Family Safety, click Set up parental controls for any user. Click the user account you want to add parental controls to and select On, enforce current settings. You can then set time limits for how long that family member can use the computer for, what age rating of games they can play and what applications they can use.
If you want to add further parental controls to the user account - such as website filtering - install Windows Live Family Safety 2011.
Security solutions
Making sure your computer is secure when you are on the internet is one of the most important things you can do. There are so many threats on the internet that can infect your computer and put your personal files and information at risk, that installing antivirus and anti-malware should be one of your top priorities.
Windows 7 itself does not come with antivirus protection, so you need to install your own copy of your chosen antivirus software. There are two types of antivirus software: paid-for and free.
With antivirus software that you pay for, you get a copy that will receive updates for a year. After that year has ended, you need to buy a subscription for a further 12 months to continue to keep the software updated. This is essential because thousands of new viruses are released on the internet every day, and the updates make sure that the antivirus software can detect and protect you from the latest threats.
Free antivirus software offers basic protection without you needing to pay for a yearly subscription. Free antivirus software protects your computer from being infected, but it doesn't feature some of the more advanced features and technology that paid-for versions do, such as email scanning and website blocking.
If you know what you are doing and are careful on the internet, free antivirus software such as Microsoft Security Essentials or AVG Free should be adequate.
If you are not that confident on the internet, have a habit of opening attachments and clicking links in emails, download a lot of things or just want the best protection there is, consider paid-for antivirus. Trusted brands such as Norton and McAfee offer superb security.
Windows Update
Windows 7 isn't completely defenceless on its own against malicious threats from the internet, however. Microsoft continually updates the operating system through the Windows Update service. These updates include critical protection against the latest threats and most of the time they are downloaded in the background without you needing to do anything.
Updates
Occasionally there is a non-essential update released that can improve your computer's performance. Non-essential updates are not downloaded automatically, so it is worth checking Windows Update once a month.
Click the Start button and type update into the Search box. Click Windows Update and you're presented with a window telling you how many important and optional updates are available. Click on Optional updates are available to view the list. Select the optional updates you want to install, then click OK ➜ Install updates.
Any important updates that you have yet to download and install are automatically selected and installed as well.
Create a network
Setting up or joining your home network has never been easier thanks to Windows 7. Simply plug your computer into your network router via Ethernet cable and follow our guide below to get your home network up and running.
If you have any problems, head over to the Network and Sharing Center by clicking Start and typing Network and Sharing Center. You'll find all the tools and help you need to get your internet and network fixed right here.
1. Search for networks
Wi-Fi 1
All modern laptops and netbooks have wireless network receivers built in. If you have a desktop PC, you may need to buy a USB wireless receiver. If your computer can detect wireless networks, and there is one nearby, the 'Wireless connections are available' icon appears in your taskbar.
2. Find your wireless
Wi-Fi 2
Click on the icon and all the wireless networks your computer can find are displayed. Click the name of your wireless network - if you haven't named it yourself, it will be named after the brand of your wireless router (Netgear, for example) or your ISP.
3. Enter your password and connect
Wi-Fi 3
Click on your network and put a tick next to Connect automatically. This means Windows 7 connects to your chosen network straight away when you turn on your PC in the future. Click Connect and enter the network password. Wireless networks should always have a password to prevent strangers accessing them.
Keep your PC clean
All versions of Windows work best when they have just been freshly installed. Over time, they slow down as programs are installed and uninstalled. To keep Windows 7 running as though it's brand new, regular cleaning of the hard drive is essential. It doesn't take long and the results are well worth it.
To keep your hard drive neat and tidy, go to Start ➜ All Programs ➜ Accessories ➜ System Tools ➜ Disk Cleanup. Select the drive and click OK. Windows scans your hard drive for unnecessary files that take up precious disk space but can be safely removed.
Cleanup
Temporary internet files, partially deleted files in the recycle bin and other temporary files can all add up and slow down your PC. Select the files you want to delete and then click OK ➜ Delete files.
Uninstall all your unwanted programs
If you have programs installed on your computer that you no longer use, it's a good idea to uninstall them to keep your hard drive clean and Windows 7 running smoothly.
To uninstall unneeded programs, go to Start ➜ Control Panel ➜ Uninstall a program. Select the program you no longer use and click Uninstall.
Installing and uninstalling programs can leave your hard drive in a bit of a state over time. Fragments of files can be left in various places on the disk, making it difficult for your computer to find the information it is looking for. The longer it takes for your computer to search the hard drive, the slower Windows 7 performs.
This is why defragmenting your hard drive is an essential part of Windows maintenance. The defragmentation process rearranges the data into a more logical and easier-to-read order, while combining the free space on your disk. After defragmenting your hard drive, you'll find you have a faster computer and more disk space.
Go to Start, type defrag and click Disk Defragmenter. Select your hard drive and click Analyze disk to see if the disk need defragmenting. If it does, click Defragment disk.
Windows 7 programs you should download
Windows 7 comes with a lot of great tools, but there are some other essential programs that you should install to make the most out of your computer. The following programs contain all the features you need to get the most out of Windows 7 and your computer.
Windows Live Essentials
Microsoft has gathered together some of the best programs for Windows in the Windows Live Essentials suite. Once installed, you'll find that there's a reason Microsoft has given these programs the name 'Essential'.
Messenger
Windows Live Messenger enables you to keep in contact with friends and family over the internet. You can share photos and videos while you chat, and if you have a webcam, you can have video chats as well - all for free. The latest version even integrates with the Facebook, MySpace and LinkedIn social networks.
If you keep lots of digital photos on your computer, installing Windows Live Photo Gallery is a must. It features tools for organising, editing and sharing your photos. Instantly adjust the colour of photographs, remove red eye or create stunning panoramas with your snaps.
Live movie
If you've shot some home videos, you can import them to Windows Live Movie Maker and add special effects, transitions and sound effects to create and share amazing movies.
Windows Live Mail is a fantastic email program that enables you to add multiple email accounts and calendars as well as send and receive emails straight from your desktop. And if you have a blog, Windows Live Writer is a great tool - instantly upload text, photos, videos, maps and a lot more to share them with the world.
Finally, Windows Live Family Safety contains additional parental controls to help you keep your children protected while they use the internet. An essential tool for peace of mind.
Ad-Aware
If you want extra protection against spyware, you should install Ad-Aware. Spyware is software that is installed on your PC without your consent, which sends information about you and your computer across the internet. Sometimes this is sent to advertisers, other times to malicious users who want to steal your identity, but it is always annoying. Ad-Aware protects you against this.
Microsoft Security Essentials
If you want a free antivirus software solution, Microsoft Security Essentials is the tool you need. It is easy to use and is always kept up to date to protect your computer against viruses and other malicious software. There's no complicated jargon involved - you simply install it and it monitors your computer for you.
Foxit Reader
Foxit
PDF files are becoming increasingly common. Most user manuals are now saved on an installation disc, rather than printed out on paper. You're usually told to install Adobe Acrobat Reader to view the PDF files, but Foxit Reader is a faster alternative that has all the features and doesn't take up as much disk space.
7-Zip
Adding files to a compressed .zip file is a great way to send and receive files over the internet. While Windows 7 can open and create .zip files straight away, 7-Zip adds even more functionality and the ability to open and create the popular .rar compressed file type, too.
Revo Uninstaller
Revo
Revo Uninstaller is another example of a tool that expands on some of the functionality within Windows 7. While you can uninstall programs with Windows 7, the process is not perfect. Some files and folders can refuse to be removed, leaving your hard drive cluttered with the remnants of unwanted programs. Revo Uninstaller helps keep your computer completely clean.
VLC Media Player
Have you ever tried to play a movie file that Windows Media Player cannot read? Installing VLC Media Player means you never have to worry about that again. Its creators boldly claim that "it plays everything", and they are right - from DVDs to streaming media and any video file (even if it is damaged), VLC Media Player can handle them all.

Beginner's guide to Windows 7


We all use Windows 7, but some of us just scratch the surface of what the operating system can do, by only using our computers to send and receive the odd email and surf the internet. In fact, there are so many great things that Windows 7 can do to make your life easier that it can all seem quite overwhelming at first.
There's now a tool for almost anything in Windows, and just knowing exactly where they are and how to use them can revolutionise your experience with your computer. There's no need to feel intimidated by the wealth of options that Windows 7 provides, because over the next few pages, we've got a crash course that teaches you all you need to get the most out of Windows and your PC.
Everything you need to know is explored and explained to you, and by the end you'll be amazed at what you can achieve with Windows 7. By taking this crash course, you'll open up whole new areas of Windows 7 to explore confidently - and it'll prove to be the beginning of you realising your PC's full potential.
Get started
Using Windows is easy - here's how to find where everything is
Although there are lots of tools in Windows, you can simplify things by thinking of your computer as being made up of three large areas: your files and folders, your programs, and system tools.
The first area - your files and folders - covers all the personal files that you create. Including photos, Office Word documents and your MP3 collection, these files are unique to you, and when you add or create them, they are saved in folders and are collected by Windows 7 in Libraries. These make it incredibly easy for you to find your files.
There are four Libraries, and each is pretty self-explanatory: Documents, Music, Pictures and Videos. Any documents that you create in programs such as Office should be saved in the Documents Library to keep your computer organised.
In Windows XP, the locations have the same names, but with 'My' in front of them - for example, My Music. Keeping your files organised means that you spend a lot less time searching for them because you know exactly where they are kept.
The second area - your programs - covers all the software installed on your PC. While this can be installed in different locations, it can all be accessed quickly and easily through the Start menu. Click Start ➜ All Programs to see your programs and launch them.
If you have a program you use regularly, you can access it even faster by creating a desktop shortcut (right-click on the program's icon and select Send to ➜ Desktop (create shortcut)) or by pinning it to the taskbar (right-click on the icon and select Pin to Taskbar), which enables you to load the program instantly.
If you have a lot of programs installed, the Start menu can get cluttered. In Windows Vista and Windows 7, you can quickly find what you're looking for by typing the program's name into the Start search box.
Search windows
The final area - system tools - covers all the tools and programs that you can use to tweak and improve Windows. Some of these are quite complicated, and best left to those who are more confident, but through the years Microsoft has worked hard to make these powerful tools more user friendly.
The vast majority of these tools are kept in the Control Panel. To access this, just click Start ➜ Control Panel. What was once a bewildering array of icons has been cleaned up and carefully arranged in Windows 7.
Every tool has been placed in a category for easy reference. Looking for a tool to help set up your home network? Look under Network and Internet. Want to set up parental controls? Head to User Accounts and Family Safety. Programs and tools that help you tweak and troubleshoot your computer can also be found under Start ➜ Computer and Start ➜ All Programs ➜ Accessories.
Dividing up where Windows keeps everything into three sections in your mind can help you memorise where everything goes, so it is easier to locate in the future.
Managing your Windows
When using programs, they are displayed in boxes known as windows - which give the Windows operating system its name. The more programs you have open at one time, the more windows appear on your screen.
Having too many windows open at once can get confusing, but Windows 7 enables you to organise your desktop so you can find the right window in a flash. Clicking the top of a window and dragging it to the left or right side of your screen instantly resizes the window to take up half of the screen.
Windows drag
If you want to minimise all the windows except one, click the top of the window you want to keep on your desktop and shake it quickly from side to side. All the windows behind your selected window then minimise. Shake the window again to bring the others back.
Another quick way to organise your windows while they are open is to right-click the taskbar and select Show windows stacked, to display each window horizontally across your screen. Right-click the taskbar and select Show windows side by side to display them vertically. If you want to scroll through your open windows to find the one you want, hold down the Windows key on your keyboard and press the Tab key until you find the right one.
Searching Windows 7
Using Windows 7 to search for files and folders can save you a huge amount of time. The way Windows searches your PC to find what you want was completely overhauled with Windows Vista - and it has been refined in Windows 7. All you need to do is click the Start button and type the name of the file or folder you are searching for into the Start Search box.
Add to library
Even as you begin typing, Windows 7 starts returning results. The more you type, the more accurate results you get. To make it even easier, your search results are divided into categories - Programs, Folders and Files. If you can see what you're searching for, just click on it.
If you want to narrow down your search, click See more results. Your results are then listed in the Search Results window, with the phrase you searched for highlighted in yellow to help you quickly figure out how relevant the result is.
Windows 7 not only searches file names for your match, but also searches inside files. So if you can't remember the name of a document, but you can remember a sentence or phrase that was written inside it, you can search for that.
If you get too many results, you can filter them. For example, if you are searching for an email, you can prevent Windows 7 from returning documents and programs with similar names by clicking the search box in the top right of the Search Results window. Under Add a search filter select Email - or the type of document you are searching for - and only matches of that type are returned. You can further narrow your results by adding file type, file size and the date the file was last edited.
Set up your browser
Your internet browser is your gateway to the most important technological invention in recent history: the internet. Setting up your internet browser can help you navigate the vast amounts of information available online, so you can find what you are looking for in an instant.
Internet Explorer is the most popular browser in the world, which means that almost all websites are compatible with it. Because it is created by Microsoft, it is integrated seamlessly into Windows 7 - and the new Internet Explorer 9 brings even more integration, with jump lists and taskbar pinning of individual websites.
Bookmarking
If Internet Explorer isn't to your liking, there are a number of great alternatives, such as Firefox and Google Chrome.
The first website you are presented with when you open your web browser is known as the home page. You can set your home page to be any website on the internet, so it's a great idea to set it to your favourite site.
If you have an internet email account, you could set your home page to be your inbox so that you get your emails straight away, or maybe your favourite news site to get the latest headlines.
To set a website as your home page, just go to the site in question then click the Settings icon in the top right-hand corner of Internet Explorer and select Internet options. Under Home page click Use current.
If there are other websites that you regularly visit, adding them to your Favorites (also known as bookmarking) can save you loads of time. Instead of typing in the address every time, by adding the website to your Favorites (when on the webpage click the Favorites star icon ➜ Add to favorites…) all you need to do in the future is open the Favorites list by clicking the Favorites star icon and clicking the name of the website.
You can speed things up even more by adding your favourite websites to Internet Explorer's Favorites Bar. Click the Star icon with the green arrow on the left-hand side of the screen and the site appears at the top of the window, enabling you to instantly navigate to your chosen website.

Windows 7 hidden options and tools


Microsoft has done a fine job with Windows 7. All you need do is pop in an installation disc and provide the installer with some internet access information, then you can leave the room and make a cup of tea.
When you come back you'll have a fully working PC, replete with features that make working and playing easier.
Windows 7's Taskbar makes it quicker to find, launch and manage your apps. There are also Libraries, which help you locate related files so you can view your work without spending ages browsing your hard drive.
You get improved security, a host of new and revamped applets, low-level tweaks that improve performance and much more.
However, for PC power users, there's a lingering question: life might never have been easier, but could it be better? With a little effort, some digging and a bit of clever tweaking, could we squeeze more from our machines?
With this in mind, we've gone on the hunt for Windows 7's hidden options and tools, which will enable you to tailor the operating system around your personal style of computing. Take your PC knowledge to a whole new level as you learn how to make Windows work your way!
Unlock your apps
Let's start our quest for hidden power in a familiar and frustrating place – program lockups. One moment your application is ticking along nicely and the next it's completely unresponsive. In the past there was nothing you could do other than wait an aeon and then close the program manually, often losing valuable data.
wait chain
If this happens to you, launch Windows 7's Resource Monitor (resmon.exe). When it's running, you'll see a list of processes that are plodding along happily. Look down the list and you'll probably see one process highlighted in red. This is likely to be your troublesome program.
Right-click it, select 'Analyse Wait Chain' and if the program is waiting for something else, you'll see it here. You'll be able to close that process in a few clicks.
If you opt to close a process, be careful. Kill a critical component and you'll bring your PC to its knees. Conversely, if you know the process in question isn't important, shut it down and your locked PC might start working again. There you go – proof that a little digging and taking control of your PC can save time and future hassle.
Windows remote access
Being a Windows 7 power user is generally a very good thing. You understand how everything works, know all the shortcuts and can freely bend Windows to your will. However, with this power comes responsibility.
As news of your guru-like status spreads, friends and family will start expecting you to solve their computer problems. Heading next door to fix your neighbour's PC isn't too much of a hassle, but if the system is much further away then you'll want an easier alternative. That's where Windows Remote Assistance can help.
This tool enables you to see the desktop on a remote computer, run programs, find the problem and make the tweaks needed to fix it, all from the comfort of your PC.
Preparations
The configuration process starts on the remote PC – the one that you're trying to view. First, ask your friend to click 'Start', then right-click 'Computer' or 'My Computer', select 'Properties' and view their Remote Settings. The 'Allow Remote Assistance connections' box must be checked, and if they click 'Advanced', the 'Allow this computer to be controlled remotely' box must also be checked.
remote access
Once its core functionality is enabled, your friend can launch Remote Assistance (msra.exe). They should click 'Invite someone you trust to help you' to do this. If both of you have Windows 7 then, in theory, they can click 'Use Easy Connect' to get Remote Assistance working. However, this relies on Windows 7 being able to work with both your routers, and it's prone to being disabled for other reasons.
A more reliable option is to ask them to click 'Use email to send an invitation'. This will launch their email client with an invitation file attached, and they'll need to send this to your email address.
Taking control 
Either way, Windows Remote Assistance should open a new window on your friend's PC with a 12-character connection password. They'll have to pass this to you separately, and you'll then have everything you need to log in.
If you've opted for the email approach, wait for the email attachment to arrive, open the file with Windows and Remote Assistance should fire up. Enter the password that your friend is looking at and you'll be connected.
If you're trying Easy Connect, you need to launch Remote Assistance (msra.exe) manually. Click 'Help someone who has invited you' and select 'Use Easy Connect'. If this works, Remote Assistance will then ask for your friend's password. If it doesn't, try the email method instead.
Your copy of Remote Assistance can't simply log in to your friend's PC, even if you have the necessary password – that could be a security issue. Instead they'll receive an alert, warning them that someone is trying to use Remote Assistance. This alert asks whether they're willing to allow you to connect to their PC.
This dialog will display your account username for reassurance that it's you, although if your username is something anonymous like PowerUser then it's best to tell your friend this in advance. They'll need to click 'Yes' to permit this connection. That's the first stage complete.
You should now be able to see the remote desktop. It may not look very pretty – the background will have been removed and colour will be set to 16-bit for bandwidth reasons – but it's adequate. If you simply want to watch and understand what your friend is doing, then you can use the 'Chat' button to tell them so (it's text chat – no microphones required).
Your friend can then fire up whichever application is causing them problems and attempt whatever they're trying to do, while you observe. It's far more effective than relying on descriptions, which they may give you later, and could be enough for you to figure out exactly where they're going wrong.
If you need to take charge, click 'Request Control' on the Remote Assistance toolbar. Your friend will then be asked if they'll allow you to take control, and if they say yes, you'll be able to run programs on their PC yourself. You can browse the Start Menu, launch Control Panel, check their Registry, open the command line and generally apply whatever tweaks are necessary to get their system back into full working order.
How to set up a Virtual Private Network
1. Open the door
VPN step 1
A Virtual Private Network (VPN) is a secure way to connect PCs over the internet.
First, configure a PC to accept incoming connections. Go to the 'Network and Sharing Centre | Change Adaptor Settings', press [Alt] + [F] and select 'New Incoming Connection'.
Choose the user account belonging to the remote person, or add one now. Click 'Next', check 'Through the internet' and click 'Next | Allow Access | Close'.
2. Make the connection
VPN step 2
On the other Windows 7 PC, go to 'Network and Sharing Centre | Set up a new connection | Connect to a workplace'. If you're asked if you want to use an existing connection, choose to create a new one.
Click 'Use my internet...', enter the remote computer name or IP address, then click 'Next'. Enter the username and password for your account on the other PC, click 'Connect' and watch the connection dialog.
3. Troubleshooting
VPN step 3
Can't connect? Configure your firewalls to open the Point-to-Point Tunnelling Protocol (PPTP) port 1723. If you have a router, turn on 'PPTP' or 'VPN' (or 'VPN pass-through'), and 'Generic Route Encapsulation'.
You may need to create a port forwarding rule to pass port 1723 traffic to your PC's local IP address. Check your firewall/router logs – they may report incoming connections and reveal where any problem lies.
How to share files easily with IIS
1. Getting started
ISS step 1
Install Windows 7 and you get a functional copy of Microsoft's internet Information Services (IIS) – a web server that you can use to share files over the internet, or locally on your network. IIS can be enabled in a moment.
Click 'Control Panel | Programs | Turn Windows features on or off', check 'Internet Information Services', then expand and select all the boxes for FTP Server and Web Management Tools.
2. Welcome screen
ISS step 2
Click 'OK' and Windows will install IIS and configure its settings. When it's done, confirm that it's working by entering http://localhost in your browser. If all is well then you'll see the IIS welcome page.
The same applies to other PCs on your network. If they can access you normally, they should be able to see the same screen by entering http://, followed by your PC's network name: http://MyPC, for instance.
3. Directory browsing
ISS step 3
The default folder for your site is C:\inetpub\wwwroot. You'll see two files there: iisstart.htm and welcome.png. Copy these to a backup folder (or delete them – they're not important), then drag and drop some files into the wwwroot folder.
Click 'Start', type IIS and click 'Internet Information Services (IIS) Manager'. Click 'Default Web Site', double-click 'Directory Browsing' and click 'Enable' in the right-hand Actions pane.
4. Share freely
IIS step 4
Return to a network PC, enter http://MyPC (using your host PC's network name) and you'll see an HTTP folder and the files it contains. Click on these to view or download them.
This isn't attractive, but it lets you share files locally with any http-capable device that can connect to your network: Linux systems, Macs, phones and more. To make it look better, you could create an iisstart.html file that provides links to the files.
5. MIME Types
IIS step 5
IIS only allows you to share files for which it has a MIME type – a mapping standard that tells the system what it is. Place an MP4 file into your wwwroot folder, for instance, and people will be able to see, but not download it.
To fix this, return to the IIS Manager and double-click 'MIME Type'. To add support for .MP4 files, click 'Add', then type .mp4 in the 'Extension' box and enter video/mpeg as the MIME type.
6. Going global
IIS step 6
If you'd like to share your files over the web then IIS must be allowed through your firewall. You'll also have to enable port forwarding in your router, passing http traffic (port 80) through to the internal IP address of your PC. Then anyone can enter your connection's IP address into their browser and view the files.
Opening your PC in this way does constitute a security risk, so launch IIS Help and read the IIS checklists first.

18 cool things Windows 7 does that Vista doesn't


From Windows 3.1 to Windows Vista, the Windows operating system has taken many giant leaps. And while Vista received a lukewarm reception from some users, Windows 7 is likely to be remembered for addressing those criticisms.
In fact, there aren't many changes to the overall look of Windows 7 when compared to Windows Vista. Instead, Microsoft seems to have paid attention to the feedback it received and created an OS that is not only stable, but also very capable.
So what is new in Windows 7? Here are 18 cool things Windows 7 does that Vista doesn't.
1. Shake 'em away
Ever had 10 Notepad, two Powerpoint and 50 Outlook windows open? Want to minimise all of them except the most important one? In Windows 7, you can grab the top of the window and shake it about to scare away all of the other open windows. Simple.
2. Jumplists
Jumplists are a new feature that give you the option to view a list of recently accessed files by application, even when the application isn't open, by right-clicking on the application's icon in the taskbar. It also allows you to quickly access a favourite playlist without opening your media player. Jumplists can also be found integrated into the Start Menu.
Jumplist
TIME-SAVER: The Jumplist for Windows Explorer – pretty useful
Jumplist in start menu
START HERE: A Jumplist integrated into the Start Menu
3. A step forward in previewing
In Vista, hovering over a minimised window on the taskbar would provide a preview of the window. In Windows 7, a similar preview pops up which also gives the option to close a window (within the preview), along with a full-size 'peek'. You can also press Win + T to scroll along previews in the taskbar.
Preview feature
PREVIEW PLUS: A smaller preview, along with a full-size 'peek' with the ability to close the window
4. Snap into place
Simply drag your window to the left or right edge of the desktop to snap and resize the window to one half of the screen. Drag the window to the top to maximise it. A pretty neat idea made neater by the use of the keyboard shortcuts (Win + respective arrow keys). No longer do you have to frustratingly position the mouse at the edge of the window to resize it.
5. XP Mode
This time, you do not have to slap your head that same way when Vista would not run an XP application. For those XP applications that do not work under Windows 7, you can download XP Mode free from the Microsoft website and run XP applications in an emulated XP environment in Windows 7. Imagine Parallels on Mac OS X without the need to fish out money on an extra OS.
6. An easier and quicker way to adjust multiple displays
Do you constantly connect your computer to different external monitors or projectors, especially at work? Try Win + P, and duplicating or extending your display to the other monitor takes just a second. Win + P presents you with an Alt + Tab style menu, which is ideal if you give a lot of presentations at work on your laptop.
7. A personalised Stage for your device
With the new 'Device and Printers' button on the Start Menu, devices which are connected to your computer can have their own Stage. This Device Stage presents supported devices with a photo-realistic render and a link to the vendor's website, along with other updates and useful information (such as firmware updates and manuals).
8. (Almost) eliminate the notification area!
What, I can even get rid of the clock and volume icons? Yes. Click the arrow that gives access to the overflow icons in the notification area and click 'customise'. Select each icon and click 'hide icon and notifications' to remove it. Clean.
Tidy notification bar
QUIETER: Stop all those notifications – but you might want to keep the clock there
9. Problem Steps Recorder
The 'Problem Steps Recorder' lets you record a particular problem you are having with your PC so you can send it to someone who may be able to help. Click 'Record', and a screenshot is taken with every mouse click, allowing comments to be added in between if required. These screenshots (and comments, if any) are placed in a well-formatted HTML document that is placed inside a zipped folder on your desktop - ideal to be attached to an email.
Problem steps recorder

10. A brand new Magnifier tool
If you are, or someone you know, is visually impaired, then the Windows 7 Magnifier provides two options for providing a bigger display. One of which is using the traditional dock (which took up a lot of the screen) and the other being a rectangular lens that is stuck to the cursor (meaning there is no loss of workspace).
Magnifier
UP CLOSE: A sleek new magnifier that follows your cursor, without decreasing your workspace
11. A new way to preview your music files
Opening and listening to an MP3 is a lot more snappier with Windows 7 due to its new smaller preview player, presenting you with album art, basic music functionality and a link to the full-blown Windows Media Player. This is an obvious attempt to mimic the preview feature of Mac OS X, but it is very well executed.
Windows media preview
MUSIC PREVIEW: The new preview is simple – and loads up very quickly
12. Homegroup Networking
In Vista (or, frankly, any Windows OS), creating a shared folder over a network at home could be a bit of a pain. In Windows 7, using the 'Homegroup' wizard, check the default folders you would like to share. This will give you a passcode that will have to be entered in another computer on the same network to share the files. Sounds too good to be true? There is a catch: only a Windows 7 computer can join a Homegroup.
13. Stream Music directly to another computer
If you do create a Homegroup, Windows Media Player allows you to stream music directly to another computer. So, instead of listening to music through your measly laptop speakers, you can wirelessly stream to the 7.1 Surround Sound Speakers of your PC in your living room, without stepping away from your laptop. Sweet.
14. Action Center
The Action Center is the new Security Center for Windows 7, along with other notifications such as updates and access to the improved troubleshooting and recovery using restore point facilities. Basically, it is everything windows usually annoys you with, rolled into one place with one icon in the notification bar. If you find the alerts irritating, you can check out this tip to make theWindows 7 Action Center less annoying.
15. Pin just about anything to the new Windows Taskbar
Imagine a blank Mac OS X Dock with the start menu, the notifications bar and the improved 'Show Desktop' button added to it. Drag just about anything on to it and the associated application will place itself on the translucent taskbar, with an option to open the file in the Jumplist.
16. Improved Touch Navigation
Windows 7 has much improved touch navigation. The larger taskbar with squarer icons makes it a lot easier to navigate with your fingers, and Macbook-like multi-touch gestures on various applications could change the way you interact with windows. Subtle enhancements such as a larger Start Menu appearing when Touchscreen hardware is detected also help.
17. Native ISO Burner
There are those times when you inevitably have to burn an ISO file (such as when you have to copy a downloaded Windows 7 beta or RC) to a DVD. With Windows 7 you do not need to download third-party software (some of which are pretty confusing to use). Double-clicking on an ISO file will take you to a window that allows you to change the disc burner drive. Click 'Burn'. After a while, your disc is ready. Simple.
ISO burner
FINALLY: Burning an ISO file has never been so easy
18. Native calibration tools
If you tend to hook up your computer to an HDTV or care about getting the highest quality from your monitor, then the in-built basic and easy-to-use calibration tools built into Windows 7 will please you.