Open a URL in the Default Browser in Your .NET Application

Virtually every application these days requires at least some connection to the internet. Letting the user click a link and open it in their browser is essential. This recipe shows you the 1 line method of doing so.
This is the absolute simplest way to launch a URL in a .NET application:
System.Diagnostics.Process.Start(”http://www.tech-recipes.com”);
Just put this code in [...]

31Dec2008 | siman | 0 comments | Continued

PowerPoint 2007: How To Switch to the Slide Master

The slide master stores information about the template such as which fonts, background design and color scheme you prefer. Formatting change or added clip art to the slide master will result in the updating of all other slides based on that master. To switch to the Slide Master in the new PowerPoint 2007 interface, do [...]

31Dec2008 | siman | 0 comments | Continued

Wii: Turning off/on Wii-spelling (dictionary/word complete)

this recipe is useful to all of those wii owners who like to send messages on your wii. this shows how to turn off/on the spelling/dictionary, helpful with those longer messages!
Go into a message, on the keyboard screen, in the upper right there is a symbol that looks like an eject button (right above the [...]

31Dec2008 | siman | 1 comment | Continued

Wii: Send Photos to Friends (video)

Using the wii console, users can send pictures to friends through the internet. This video tutorial walks the user through the steps required to send pictures to one’s contacts in the address book.
See the video for details.
Basically, enter the photo channel and click on the picture.
By clicking the Post option on the photo, you can [...]

31Dec2008 | siman | 0 comments | Continued

Pass Variables to a New Thread in C#

When you create a new thread in .net 1.1, you cannot pass any parameters to the ThreadStart delegate, which makes passing startup variables difficult. This recipe shows you an easy workaround.
Since the ThreadStart delegate doesn’t accept parameters, you need to set the parameters somewhere before you create the new thread. What we’ll do is create [...]

31Dec2008 | siman | 0 comments | Continued

Firefox: Have New Tabs Open to Home (or any other) Page

When I open a new tab, 9 out of 10 times I want it to open to google. Firefox will not open a page by default when you open a tab. Here is how to change that.
I click a new tab in firefox. There opens a blank, untitled page. Quick, but YAWN!
By using tab mix [...]

31Dec2008 | siman | 0 comments | Continued

Load an Icon from an Embedded Resource in .NET

When you are developing a Windows Forms application in .NET, it’s not immediately obvious how to programatically load an icon file embedded in your executable. This recipe shows you the 1 line solution.
Your icon file should be a regular windows icon file. Add it to your project, and in the properties for the icon make [...]

31Dec2008 | siman | 0 comments | Continued

How To Put a YouTube Video on Your MySpace Page

See a video on YouTube that you would like to have on your MySpace page? By following this recipe, you can easily add the video to your blog in no time.
1. Find the YouTube video you wish to add to your MySpace page.
2. Select the Embed textbox and copy the highlighted code.
3. Go to MySpace [...]

31Dec2008 | siman | 0 comments | Continued