Apr 21

It’s high time you moved your PC into the 21st Century by making it television-capable.

Let’s face it: most of us are missing a trick. Who here ignores traditional broadcast schedules, opting instead to catch up on TV shows via BBC iPlayer, ITV Player or 4oD? How many of us have downloaded a digital boxset from iTunes or spent hours slumped in front of the computer monitor browsing funny videos and clips on YouTube?

The way that we watch TV has changed – so why shouldn’t the way we access TV change along with it? Why watch web-delivered content on your widescreen laptop? You could be enjoying it on that lovely big TV in your sitting room.

If the thought of reclining in your chair and flicking with ease between live Freeview channels, a film on your hard drive and that program you’ve been meaning to catch up on with iPlayer doesn’t entice you, maybe the thought of your wallet will. When you buy a TV, you want to get a good few years use out of it before upgrading again. But entertainment technology is advancing quickly, and that large flatscreen you purchased a couple of years ago is already looking a bit old-
fashioned because it’s not HD. If you want an HDTV, you’ll need to buy a whole new television. What happens when 3D models go mainstream? You’ll have to upgrade again. And let’s not forget the digital switchover, which is happening at the moment. If your set is incapable of receiving digital signals, you’ll have to upgrade, or at the very least buy a set-top box or two. Either way, your wallet suffers. But if you make a PC the centre of your home entertainment system, you can embrace new standards through software simply by upgrading a single component – which is far less expensive than replacing your whole set every time a new technology comes along.

You’re probably wondering where the catch is. If TV PCs are so wonderful, why doesn’t everyone have one? The answer is that PCs and the living room have had an awkward relationship over the years because of one thing: noise. But no more: new advancements in technology have produced quiet machines that still have the grunt needed to handle HD video streaming and more. If you’re not sure which components your ideal machine needs – or if you’re eager to build one to your own exacting standards – then you’re in luck. We’ve compiled a list of the best software that will bring it your PC to life. Trust us: you’re not going to look back.

Media Center

Windows 7 Media Center is one of the most polished 10-foot interfaces around, but in general the software has been slow to evolve. Ignoring the addition of native H.264 support in Windows 7, other improvements to the system have been mostly cosmetic: turbo scroll, faded menu overlays, a new album art display and a handy desktop gadget. Media Center could easily feel old-fashioned and behind the times, then, if it weren’t for the army of bedroom coders constantly beavering away to produce plug-
ins that enhance the core features. Thanks to them, Media Center even has its own unofficial app store.

Another reason that many people still don’t take advantage of Media Center – despite the fact that it’s pre-installed on most XP, Vista and Windows 7 PCs – is that the software is at its best when you have a TV tuner and you’re using it as a fully fledged DVR. The app is hardly anyone’s first choice for general video playback (that’s usually Windows Media Player) or streaming video (most people prefer direct web browser access), so it gets forgotten about. Media Center has always done a great job of cataloguing the photos, music and video on your hard drive, and this could be handy for TV PC users – but its internet TV integration has been lightweight at best. Where Vista’s version had a poorly populated Online Media section, Windows 7’s Media Center just adds an Internet TV option supporting WMV, Silverlight and Flash video. US users have access to a range of internet TV streams from the likes of CBS, Zune, MSNBC and MSN; but UK users aren’t so well served on this front.

Touch makes Media Center more compelling, but don’t expect it on your TV PC

It’s not all bad news, though: you can watch iPlayer and even iTunes content in Media Center. Sky Player is also available as a plug-in, offering access to various Sky channels for subscribers, including Sky Movies and Sky Sports.

The suitability question

To do away with the hassle of having to navigate around your PC desktop before watching TV , you can get your system to boot directly into Media Center on startup. In Windows 7, select ‘Startup and Windows Behaviour’ on Media Center’s Settings menu. Simply check the box next to the ‘Start Windows Media Center when Windows starts’ option. Easy.

Of course, you could argue that Media Center is a little bloated for a system like this one – and the cost of a Windows 7 licence will add an extra £150. That’s a lot to pay, especially when you won’t even be using the bulk of the OS on a day-to-day basis. It’s worth considering lighter-weight alternatives such as Boxee or XBMC; these might be better suited to an Ion-based system.

Media Center Alternatives

Microsoft’s Media Center faces stiff competition these days thanks to freebie software like MythTV, Mediaportal, Boxee and XBMC. MythTV has been knocking around since 2002, and the software provides some good DVR support if you’re building a PC for heavy-duty TV recording. Numerous add-on modules can add photo browsing, RSS feeds, Netflix integration and Slingbox-style placeshifting. Mediaportal is unashamedly Media Center-esque, but it has a limited appeal for TV PCs since it only runs on Windows.

XBMC is otherwise known as Xbox Media Center. What started out as a clever hack for Microsoft’s games console has now evolved into an “open-source (GPL) software media player and entertainment hub for digital media”. There are versions for Linux, OS X and Windows. Using www.xbmc.org’s own guide, you can easily specify a minimal Ubuntu install before you add the software. XBMC can handle a huge array of video files, and playback can be accelerated using the Ion hardware. Usefully, XBMC can either launch a compatible player or function with a VDPAU (Video Decode and Presentation API for Unix) modification to the software. It’s all there in the XBMC wiki.

Out of the Boxee

Another Media Center alternative is Boxee. This freeware media centre solution was born out of the XBMC code base, and it brings a social-networking edge to things. Boxee does everything you expect – it catalogues photos, music and video on your PC’s hard disk and makes them accessible via a sofa-
friendly UI. If you’ve titled DVD rips correctly, Boxee will pull in the background blurb from IMDB.

Boxee apps take things a step further, plugging you directly into third-party video-streaming services including Netflix, YouTube, BBC iPlayer, Last.fm, Flickr, Digg and CNN. Log into your account on the Boxee websiteand you can seek out people you know that are also using the software. Adding a friend to your list will show you what they’ve been watching or what they recommend.

Boxee offers plug-ins for all of the best video, music and photo-streaming services

Boxee is an ideal choice for an Ion-based TV PC, especially as the integrated media player supports hardware-assisted video decoding. Need a cutting-edge remote control to go with it? Type Boxee into the iTunes Store and you’ll find a Boxee Remote app that lets you control your Boxee-powered TV PC with an iPhone or iPod Touch. And if you don’t want a PC at all? At this year’s CES, D-Link announced the first Boxee Box, a dedicated hardware solution that runs the software silently.

Stream Your Video Elsewhere

Having a TV PC connected to your beautiful plasma TV is one thing; being able to watch it every time you want to is another. So what can you do when your partner wants to watch Glee or the kids are pestering you to switch over to Dora The Explorer? No, not go ahead and watch what you want anyway: instead, simply stream your videos to a more portable device. Yes, we know the whole point of a TV PC is to take away the pain of slumping in a hard chair – but it’s handy to be able to stream to a laptop should somebody else fancy watching something too. After all, not everything you watch needs to be viewed on a massive Full HD TV – and you can always take your laptop to bed for some comfort.

So consider the return of the portable TV. Not in the form of the 14in mini-telly of old, but in the shape of laptops, netbooks and Wi-Fi Internet tablets that you can cuddle up with on the sofa. For example, grab yourself an iPhone, iPod Touch or Apple iPad (when available) and, using the Air Video software from the App Store, you can stream videos stored on your TV PC to it. Family harmony maintained; entertainment still on tap.

Apr 19

Make a Media PC

Computer Comments Off

It’s high time you moved your PC into the 21st Century by making it television-capable.

Let’s face it: most of us are missing a trick. Who here ignores traditional broadcast schedules, opting instead to catch up on TV shows via BBC iPlayer, ITV Player or 4oD? How many of us have downloaded a digital boxset from iTunes or spent hours slumped in front of the computer monitor browsing funny videos and clips on YouTube?

The way that we watch TV has changed – so why shouldn’t the way we access TV change along with it? Why watch web-delivered content on your widescreen laptop? You could be enjoying it on that lovely big TV in your sitting room.

If the thought of reclining in your chair and flicking with ease between live Freeview channels, a film on your hard drive and that program you’ve been meaning to catch up on with iPlayer doesn’t entice you, maybe the thought of your wallet will. When you buy a TV, you want to get a good few years use out of it before upgrading again. But entertainment technology is advancing quickly, and that large flatscreen you purchased a couple of years ago is already looking a bit old-
fashioned because it’s not HD. If you want an HDTV, you’ll need to buy a whole new television. What happens when 3D models go mainstream? You’ll have to upgrade again. And let’s not forget the digital switchover, which is happening at the moment. If your set is incapable of receiving digital signals, you’ll have to upgrade, or at the very least buy a set-top box or two. Either way, your wallet suffers. But if you make a PC the centre of your home entertainment system, you can embrace new standards through software simply by upgrading a single component – which is far less expensive than replacing your whole set every time a new technology comes along.

You’re probably wondering where the catch is. If TV PCs are so wonderful, why doesn’t everyone have one? The answer is that PCs and the living room have had an awkward relationship over the years because of one thing: noise. But no more: new advancements in technology have produced quiet machines that still have the grunt needed to handle HD video streaming and more. If you’re not sure which components your ideal machine needs – or if you’re eager to build one to your own exacting standards – then you’re in luck. We’ve compiled a list of the best software that will bring it your PC to life. Trust us: you’re not going to look back.

Media Center

Windows 7 Media Center is one of the most polished 10-foot interfaces around, but in general the software has been slow to evolve. Ignoring the addition of native H.264 support in Windows 7, other improvements to the system have been mostly cosmetic: turbo scroll, faded menu overlays, a new album art display and a handy desktop gadget. Media Center could easily feel old-fashioned and behind the times, then, if it weren’t for the army of bedroom coders constantly beavering away to produce plug-
ins that enhance the core features. Thanks to them, Media Center even has its own unofficial app store.

Another reason that many people still don’t take advantage of Media Center – despite the fact that it’s pre-installed on most XP, Vista and Windows 7 PCs – is that the software is at its best when you have a TV tuner and you’re using it as a fully fledged DVR. The app is hardly anyone’s first choice for general video playback (that’s usually Windows Media Player) or streaming video (most people prefer direct web browser access), so it gets forgotten about. Media Center has always done a great job of cataloguing the photos, music and video on your hard drive, and this could be handy for TV PC users – but its internet TV integration has been lightweight at best. Where Vista’s version had a poorly populated Online Media section, Windows 7’s Media Center just adds an Internet TV option supporting WMV, Silverlight and Flash video. US users have access to a range of internet TV streams from the likes of CBS, Zune, MSNBC and MSN; but UK users aren’t so well served on this front.

Touch makes Media Center more compelling, but don’t expect it on your TV PC

It’s not all bad news, though: you can watch iPlayer and even iTunes content in Media Center. Sky Player is also available as a plug-in, offering access to various Sky channels for subscribers, including Sky Movies and Sky Sports.

The suitability question

To do away with the hassle of having to navigate around your PC desktop before watching TV , you can get your system to boot directly into Media Center on startup. In Windows 7, select ‘Startup and Windows Behaviour’ on Media Center’s Settings menu. Simply check the box next to the ‘Start Windows Media Center when Windows starts’ option. Easy.

Of course, you could argue that Media Center is a little bloated for a system like this one – and the cost of a Windows 7 licence will add an extra £150. That’s a lot to pay, especially when you won’t even be using the bulk of the OS on a day-to-day basis. It’s worth considering lighter-weight alternatives such as Boxee or XBMC; these might be better suited to an Ion-based system.

Media Center Alternatives

Microsoft’s Media Center faces stiff competition these days thanks to freebie software like MythTV, Mediaportal, Boxee and XBMC. MythTV has been knocking around since 2002, and the software provides some good DVR support if you’re building a PC for heavy-duty TV recording. Numerous add-on modules can add photo browsing, RSS feeds, Netflix integration and Slingbox-style placeshifting. Mediaportal is unashamedly Media Center-esque, but it has a limited appeal for TV PCs since it only runs on Windows.

XBMC is otherwise known as Xbox Media Center. What started out as a clever hack for Microsoft’s games console has now evolved into an “open-source (GPL) software media player and entertainment hub for digital media”. There are versions for Linux, OS X and Windows. Using www.xbmc.org’s own guide, you can easily specify a minimal Ubuntu install before you add the software. XBMC can handle a huge array of video files, and playback can be accelerated using the Ion hardware. Usefully, XBMC can either launch a compatible player or function with a VDPAU (Video Decode and Presentation API for Unix) modification to the software. It’s all there in the XBMC wiki.

Out of the Boxee

Another Media Center alternative is Boxee. This freeware media centre solution was born out of the XBMC code base, and it brings a social-networking edge to things. Boxee does everything you expect – it catalogues photos, music and video on your PC’s hard disk and makes them accessible via a sofa-
friendly UI. If you’ve titled DVD rips correctly, Boxee will pull in the background blurb from IMDB.

Boxee apps take things a step further, plugging you directly into third-party video-streaming services including Netflix, YouTube, BBC iPlayer, Last.fm, Flickr, Digg and CNN. Log into your account on the Boxee websiteand you can seek out people you know that are also using the software. Adding a friend to your list will show you what they’ve been watching or what they recommend.

Boxee offers plug-ins for all of the best video, music and photo-streaming services

Boxee is an ideal choice for an Ion-based TV PC, especially as the integrated media player supports hardware-assisted video decoding. Need a cutting-edge remote control to go with it? Type Boxee into the iTunes Store and you’ll find a Boxee Remote app that lets you control your Boxee-powered TV PC with an iPhone or iPod Touch. And if you don’t want a PC at all? At this year’s CES, D-Link announced the first Boxee Box, a dedicated hardware solution that runs the software silently.

Stream Your Video Elsewhere

Having a TV PC connected to your beautiful plasma TV is one thing; being able to watch it every time you want to is another. So what can you do when your partner wants to watch Glee or the kids are pestering you to switch over to Dora The Explorer? No, not go ahead and watch what you want anyway: instead, simply stream your videos to a more portable device. Yes, we know the whole point of a TV PC is to take away the pain of slumping in a hard chair – but it’s handy to be able to stream to a laptop should somebody else fancy watching something too. After all, not everything you watch needs to be viewed on a massive Full HD TV – and you can always take your laptop to bed for some comfort.

So consider the return of the portable TV. Not in the form of the 14in mini-telly of old, but in the shape of laptops, netbooks and Wi-Fi Internet tablets that you can cuddle up with on the sofa. For example, grab yourself an iPhone, iPod Touch or Apple iPad (when available) and, using the Air Video software from the App Store, you can stream videos stored on your TV PC to it. Family harmony maintained; entertainment still on tap.

Mar 12

Registry editing is far from convenient. It’s very easy to forget which key you need to edit or the values that you’d like to change. It can be difficult for less experienced users to carry out, too, making explaining tweaks to friends a bit of a nightmare.

You can get to the heart of Windows quickly and easily with this tool.

There is a solution to all this, though, and it’s called RegDevelop. This interesting utility makes it easy to produce a custom Registry tweaking tool that features all your favourite options – and no programming experience is required. Once it’s set up, you’ll be able to apply the tweak you’re after in a couple of clicks. And if you want to share the tweak with a PC novice friend, then just send them a copy and they won’t need to delve into the depths of the Registry to optimise their system.

Unstable utility

Before you get started with RegDevelop, we need to make it clear that it’s not entirely stable. Despite its ‘1.0’ version number, this is very much an alpha release, and it’s prone to displaying error messages if you do anything even slightly unexpected. Once or twice we’ve found that our RegDevelop project has become corrupted, so we’ve had to recreate it from scratch. With this in mind, it’s a good idea to make backups. We still think the program’s worth your time, though: there’s nothing quite like it, and if you’re careful then you may not notice any bugs at all. Those that do exist stand no real chance of harming your PC. If you’re looking for perfection, then, and will get annoyed if a project you’ve been developing stops working, RegDevelop probably isn’t for you. But if you like the idea of building your own interface for Registry tweaks, and are willing to put up with some early instabilities to make that happen, it really is worth a look.

After installation, checking the terms and conditions and optionally (and probably sensibly) agreeing to create a restore point, you’ll see a very simple design interface. The ‘form’ is the white space where you can add your Registry tweaking options through five different controls: Checkbox sets numeric values, Textbox handles strings, Label provides captions, Picturebox holds images and Button runs applications (more on that later).

Checkboxes are great tools for setting binary and numeric registry values

Let’s think of some uses for the program. Suppose, for instance, that you’re tired of leaving your PC on overnight to download a huge file only to wake up in the morning and find that it’s been rebooted by Windows Update and you need to start the process again. There’s an easy Registry tweak for this, but you don’t want to leave it applied all the time, because normally you want Windows Update to install security patches as soon as they arrive. The solution to this problem? Use RegDevelop to provide a simple interface for this Registry tweak so that you can turn it on or off quickly and easily as often as required.

Create a tweaking tool

Click the Checkbox control on the left-hand menu, and a checkbox with a default caption will appear on the form. Move the mouse cursor over it, hold down the left mouse button and you’ll be able to drag it wherever you like.

Click the checkbox on the form, then look over to the right-hand side. The Settings box here lists the various properties of the checkbox; these must be changed to get the program to work as we’d like. The ‘Caption’, for instance, is the text that will be displayed to the right of the checkbox. Type Don’t allow Windows Update to automatically reboot the PC in the Caption box and press [Tab] to see the checkbox update.

The value ‘RegKeyPath1’ represents the Registry key that the checkbox will be altering, so enter HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU here. ‘ValueName1’ represents the Registry value we’ll be tweaking, so type NoAutoRebootWithLoggedOnUsers into the box.‘ValueData1’ represents the value of this Registry setting when the box is checked. Set this to 1. We could now enter more information in the Unchecked section to tell the program to set ‘NoAutoRebootWithLoggedOnUsers’ to 0 when the box isn’t checked, but that’s unnecessary in this case because by default the program will delete the value when the box is unchecked, which has the same effect. And so we’re finished – your first tweaking tool is complete!

Testing time

To make sure that this tweak works, first launch Regedit and then browse to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU. Next, go back to RegDevelop and click the ‘Start’ button to run the program for real. Clear the checkbox, click ‘Apply’ and then switch to Regedit and press [F5]: the ‘NoAutoRebootWithLoggedOnUsers’ setting will disappear. Check the ‘RegDevelop’ checkbox, click ‘Apply’ and press [F5] in Regedit and you’ll see that it comes back. Your RegDevelop program is altering the Registry just as you’ve asked, but without you having to remember (or even know) any of the precise details of how it works.

Your content is stored as XML, which you can edit manually if you want to avoid program crashes. But be careful.

We’ve only applied a single tweak so far, but you can use the same principle to add any other numeric Registry tweak that you like – and not just binary 1 or 0 settings, either. Take the MenuShowDelay tweak, for instance. If you hover the mouse cursor over a Start menu entry such as Recent Items, it will expand. The ‘MenuShowDelay’ key sets the delay in milliseconds before this happens. By default it’s set to 400, but you might find reducing it to, say, 100 milliseconds makes you more productive.

To give this a try, add a new checkbox to your form. Position this neatly under the first, and give it the caption Expand menus more quickly. Click the checkbox, then enter HKEY_CURRENT_USER\Control Panel\Desktop into the ‘RegKeyPath1’ box. Next, enter MenuShowDelay in the ‘Value_Name1’ box, 100 as ‘ValueData1’ (the value to be used when the box is checked) and set ‘ValueType1’ to ‘dword’.Move to the Unchecked section and set ‘DeleteWithUnchecked’ to False. The Registry key, value and value types you’ve just chosen will now appear here too. Set ‘ValueData2’ to 400 (the default setting) and this will be used when the box is cleared.

Shall we find out whether this has worked? Click ‘Start’, and again watch with Regedit to confirm that the program is changing the settings you’ve specified whenever you check or clear the box and click ‘Apply’. If it’s not working, check the settings; if it’s OK, let’s share your work.

Pass it around

Click in an empty part of the RegDevelop form – away from your checkboxes so that they’re no longer highlighted – and you should see the ‘Program Settings’ box appear on the right. Click in the ‘Author’ box and enter your name. You can also enter a name for your program, and even customise it with an icon if you have one to hand.When you’re happy, click the ‘Build Now’ button and confirm your decision. While the program makes it sound like it’s going through a complicated process, it’s really just saving your settings and marking the tool as ‘Finished’. Close and restart RegDevelop to see the effect – the tool now opens with your finished form displayed, and the designer window is no longer visible.

If you’d like to share your newly created tool with someone, send them a copy of everything in your RegDevelop folder. This will include the ‘RegDevelop.exe’ file, the ‘Controls.xml’ file (which holds all of your custom settings) and the Tools folder. Or, if you want to carry it around with you so that you can use it on other machines, copy the same files to a USB flash drive. It’ll then run on any PC that has the .NET framework installed.

One unusual RegDevelop feature is that your tweaking tools can be further extended by the user. Unfortunately this does mean that a less-experienced computer user with a copy could press [F12], find themselves back in the design environment, play around and eventually break some important Registry setting. If your less computer-literate friends are especially good at trashing PCs then it might be something to bear in mind; why not add a note to the form suggesting that novices keep their fingers clear?

Going further

So far we’ve concentrated solely on checkboxes and numeric values, and that’s not by accident. You should be able to use textbox controls to edit strings or enter numbers directly, but these don’t always seem to work as you’d expect. When we tried to add a textbox after our two checkboxes, for instance, our project crashed. And while we’ve managed to get textboxes working occasionally, they don’t always seem to use the correct data type, and changing a setting will often result in an error message. By all means experiment with textboxes yourself, but be ready for problems. If you prefer a simpler life then it might be better to stick to checkboxes, at least until the program is developed further and becomes more stable.

Buttons can be used to launch commonly used programs, Windows components, or command line tools.

A better option if you’re interested in seeing exactly what RegDevelop can do might be to download a prebuilt sample application from the author’s own site. WinBubbles Lite 2009 (www.bit.ly/5os7KC), for instance, uses all the RegDevelop controls to provide tweaks for Explorer context menus, various Windows policies (you can disable Regedit and Task Manager, for instance) and the ability to change the Windows 7 log-in screen if you had the urge to do so.

WinBubbles Lite 2009 is a genuinely useful little program in its own right, and it contains a few interesting ideas that we hadn’t seen before. But for us, the real benefit of the application is as an example of how to use RegDevelop. Controls are placed inside picture boxes to separate them into logical groups, for instance; buttons are used to launch Windows components; and there are textboxes that actually work. Once you’ve finished exploring what the program has to offer, press [F12] to switch to the designer, and click any controls that look particularly interesting in order to discover the settings that make them work. Then you can steal the ideas for your own project, or simply use WinBubbles Lite 2009 as a basis for your own tool, removing any options that you don’t use and replacing them with your own favourite tweaks. Don’t worry, the author won’t mind – as long as you comply with the conditions in the included ‘RegDeveloplicenseAgreement.txt’ file then you’re free to rework any of his examples just as you like – and you can even sell them commercially if your ideas are good enough.

Change your wallpaper

Most of the best Registry tweaks relate to numeric values and the bulk of the rest use strings, but occasionally you’ll want to handle something more, like an image. If you’re looking to create a tool that will set your desktop wallpaper, for instance, then using a textbox and forcing the user to type in a full path and filename is a very bad idea. It’s much better to let them browse for an image, then display the final results, and you can do exactly that using a Picturebox. Start a new RegDevelop project, click the Picturebox control and resize it to fill the form designer. With the Picturebox control still highlighted, enter HKEY_CURRENT_USER\Control Panel\Desktop in the ‘RegPath’ box and Wallpaper next to ‘ValueName’. This tells RegDevelop to read your current wallpaper image, which will be displayed in the Picturebox.

The Picturebox control makes it easy to change your wallpaper and other images whose locations are stored in the Windows Registry.

Set the ‘PictureBoxStyle’ value to’ View and Set’. Next, click ‘Start’ and the current wallpaper image will be displayed. Click on this to launch an Open dialog box, then browse to and select the image you’d like instead. Click ‘Open’ and it’ll replace your current wallpaper, though you won’t see this until the desktop is refreshed.

This isn’t the most intuitive of solutions – clicking on a picture isn’t the normal way to change it – but it’s simple enough to use once you’re used to it. Any time you need an image URL in a Registry key, this is the way to go.

Protect your RegDevelop project

As we’ve mentioned elsewhere, RegDevelop isn’t entirely stable right now. Simply clicking in the wrong place at the wrong time could be enough to corrupt your project and prevent it from displaying correctly. It’s a bad idea to rely solely on RegDevelop’s single copy of your project, then, and we’d recommend you make additional backups on a regular basis. Close the program, saving any changes you’ve made, then browse to the folder where ‘RegDevelop.exe’ is saved. The ‘Controls.xml’ file there contains all your project settings, and you should create a backup copy somewhere else.

If it’s too late for that – the file is corrupted and you don’t have a backup – then you may be able to rescue your project by editing the Controls.xml file manually. Open it in Notepad and look for obvious problems. Or, if it’s just started crashing when you edit a specific control, you could try deleting that entire control from the file. That might just be enough to get the project working again.

Launch Programs

RegDevelop isn’t just about Registry tweaks. You can also use it to launch programs or Windows components that take a few clicks to locate. The Display Settings dialog is an extra click away in Windows Vista, for instance, but add the necessary command to a RegDevelop button and it’ll always be close to hand. Launch RegDevelop and click the Button control on the left-hand menu. Then click on your new button and give it the caption Display Settings.

Click the button on the form again, then click the ‘StartProcess’ box. This is the command that the button will launch when it’s clicked. Type RUNDLL32.EXE shell32.dll,Control_RunDLL desk.cpl,,3 and press [Enter]. The ‘WindowStyle’ box allows you to choose whether the command will be launched from a hidden or a visible window. In this case it doesn’t make any difference, so you can leave it at the default ‘normal’ setting.

And that’s it! Click ‘Start’ and the Display Settings dialog should appear. You can now add other buttons to launch any other Windows components that you might find useful. Entering RUNDLL32.EXE shell32.dll,Control_RunDLL inetcpl.cpl,,0 in the ‘StartProcess’ box will launch your Internet Options dialog, for instance. Use ncpa.cpl to open the Network Connections folder, or just Control to launch Control Panel. Check the scripting site www.dx21.com/coding/libraries/rundll32 if you need more ideas for commands.