For example, when developing an app that asks for a password before users can actually use it, developers should set focus on the password box and display the keyboard automatically. This is a good user interface practice to prompt users which step is next. The Visual Studio steps required to do this are documented below.
When creating a Windows phone application, Visual Studio defaults the initial page to MainPage.xaml. However, in many cases, developers need to customize the first loaded page to a different file instead.
This tutorial will demonstrate two rules that must be respected when performing floating point arithmetic in C. Following these rules will prevent loss of information. Examples with walk through explanation provided.
At some point in your Mac, iPhone, or iPad development you may find the need to express a long number (1000000000) as a comma-separated string (1,000,000,000) to make life easier on your users. The NSNumberFormatter class is a rich tool for converting numbers to strings supporting different types of currencies and localizations. It’s also the […]
When you are developing an application that needs to access data stored on a web server, you can easily get the contents of a web page with this simple C# function.
If you are writing a command line application in .NET, you might notice that the application closes immediately if you haven’t set a breakpoint. This recipe shows you the one line method to keep the application open so you can see the output.
Creating an application that lives in the system tray is easy, but it is not entirely obvious how to do so in Visual Studio. This recipe will show you the steps.
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.
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.
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.