Tag Archives: Development

How To Launch Your Console Application With A Maximized Window

Forgetting your old school CGA, EGA and then VGA displays of rich 8-bit color, 80×25 displays, we now can have all that screen in a console application, all in a window. A console window you can resize, minimize or maximize … Read More »»»

Posted in .NET, C#, Coding, System | Tagged , , , , , | Leave a comment

C# Yield Statement Demystified With Examples

The yield statement has been released with .NET 2.0 framework, but many still do not know what it does. In a nutshell, it does transformations – obtaining a result dataset given an input dataset. Since the time yield has seen … Read More »»»

Posted in .NET | Tagged , , , , , , , , | Leave a comment

My ASP.NET Page Worked And Now When I Postback It Is Blank, No Error Is Shown

Your page has been working just fine and nothing changed in the code, but out of nowhere you are faced with a problem: when you do a postback to the server, all you see is a white blank page. You … Read More »»»

Posted in .NET | Tagged , , , , , , , , | Leave a comment

Find a String Value in the Whole Database: Searching for Text in Tables and Columns

Once in a while you may come across a problem when you are not familiar with the database structure you are dealing with. You may have to deal with the front end only and values that are only presented to … Read More »»»

Posted in MSSQL | Tagged , , , , , , , , , , , , , | Leave a comment

Tip: Which Android Platform Version Should I Target?

So… You got an idea for an Android app, you are ready to code and, upon creating a new project, you got a choice, with dozens of versions ranging from 1.x to 4.x (as of this post). Which one should … Read More »»»

Posted in Android | Tagged , , , , , , , , | Leave a comment

Writing Your First Android Application: A Hello World Example – Part 2 – Understand the Application File Structure

Now that you have a working application open in Eclipse, there are all these crazy-ass files under Package Explorer that were created by the plugin. So, what do they do and which ones will you be dealing on a daily … Read More »»»

Posted in Android | Tagged , , , , , , , , , , , , | Leave a comment

Writing Your First Android Application: A Hello World Example – Part 1 – Create an App

Now that all the necessary tools are installed (see What Do You Need to Start Developing an Android App?), we can get to the fun part – coding. Grab yourself a keyboard, a monitor you can stare in and a … Read More »»»

Posted in Android | Tagged , , , , , , , , , | Leave a comment

Writing Your First Android Application: What Do You Need to Start Developing an Android App?

So you decided to play around with Android and write an application. Your starting point is, of course, what do you need to write an app, possibly what language is it written in, and is there an IDE that you … Read More »»»

Posted in Android | Tagged , , , , , , , , , | Leave a comment

How to Allow Only Numbers in HTML TextBox Using Javascript

Sometimes you want to constrain what a user can enter in a textbox input on a page. This article shows you an easy way to do it with javascript and explains how it works. In short, you want to trap … Read More »»»

Posted in Javascript | Tagged , , , , , , , , , | 1 Comment

Using HTML5 Canvas to Draw Simple Shapes

You should now have an understanding of what a <canvas> tag is in HTML5. So, let’s start with drawing some simple shapes. Whenever you need to draw on your canvas, you need to obtain the canvas context first. The context … Read More »»»

Posted in HTML5 | Tagged , , , , , , , , , , , | Leave a comment