News (1)

Interrupting Java threads

Multithreading presents a set of new challenges to the programmer that can lead to unexpected behaviour. In this article we address one of those challenges: how to interrupt a running thread. Read more »

Features (162)

Retrieving environment variables with VB.NET

Windows stores some important information (e.g., computer name and user name) in the environment variables. We'll show you how you can use VB.NET to retrieve this information. Read more »

Microsoft unveils the F# programming language

This article kicks the tyres on the September 2008 Community Technology Preview of F#. Read this brief overview of the programming language's features and environment. Read more »

Employ refactoring via Visual Studio to write better code

Refactoring is the practice of making your code cleaner and clearer without affecting the functionality. Find out what's included in Visual Studio's Refactor menu, and discover a couple of Visual Studio add-ins that bring refactoring to the Visual Basic community. Read more »

Sharing the event logic between controls in VB.NET

Whenever you write the code logic that may be used for more than one control, it makes sense to try to save time by creating only one procedure that will handle the event and perform that logic. Read more »

Take advantage of code snippets in Visual Studio 2005

Visual Studio 2005 brings auto-complete for code snippets to C#, J#, and XML, as well as additional features for Visual Basic. Read more »

Post data to other Web pages with ASP.NET 2.0

ASP.NET 2.0's PostBackUrl attribute allows you to designate where a Web form and its data is sent when submitted. Read more »

Implement custom paging with SQL Server 2005

In previous columns, I covered the basics of using the .NET 3.5 ListView control and explained how to pair it with the DataPager control. Now I'll show you how to use these controls with a SQL Server 2005 backend to implement custom paging, in which only a subset of the data is retrieved for display. Read more »

Performing mathematical functions in VB.NET

To perform mathematical operations in VB.NET you can utilise the System.Math class. In this tip, we will look at a simple way of working with math-related functions in VB.NET. Read more »

Create a date/time value from date parts in VB.NET

When you need to put together a full date/time value from a combination of its specific parts, you can overload the Date object's constructors and assign the necessary date/time value parts to it. This tip shows how to perform the functionality. Read more »

Create a temp file with VB.NET

Temp files are generally used for temporary storage and data manipulation. This is often necessary for storing user data, user preferences, session information, application cache, and many other types of information. Read more »

Blog (2)

Try… Catch… Win!

David McAmis [blogs:theneteffect] -- As a .NET developer, there are a few “best practices” that you should always consider. And one of the biggest is that every application you write should include error trapping to trap critical and non-critical errors that may occur. And the .NET framework makes it easy to use “Try… Catch” statements to intercept any errors that occur and allow you to handle the exception. Read more »

Quick Tip: Forwarding X11 to OS X

Chris Duckett [blogs:betaliving] -- Just because you are on a Mac doesn't mean you can't run your Linux applications. Here's how you can bring penguin power to your Mac. Read more »

Log in


Sign up | Forgot your password?

What's on?