How to Get the IP Address in Windows Phone 8 ?

If you want to find out the IP address of the phone when the app is running , here’s a simple code snippet demonstrating how to do it using LINQ and NetworkInformation.GetHostNames method. How to Get the IP Address in Windows Phone 8 ? List<string> ipAddresses = new List<string>(); var […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 23, 2014 at 8:01 pm

Categories: Dotnet   Tags: , ,

UX Guidelines for Windows Store apps and Windows Phone apps

Microsoft has released the UX Guidelines for Windows Store apps and Windows Phone apps which is now available for download from Microsoft Download Center. UX Guidelines for Windows Store apps and Windows Phone apps is a PDF file download with the file size of 9.3 MB . Know more about […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 23, 2014 at 7:36 pm

Categories: Dotnet   Tags: , , ,

Equivalent to "OnBackKeyPress" in Windows Phone Store App

In the previous version of Windows Phone (Windows Phone 8.0 Silverlight) , there was this OnBackKeyPress which the developers could utilize to handle the back button . What is the Equivalent to “OnBackKeyPress” in Windows Phone Store App  ? You can handle the Windows.Phone.UI.Input.HardwareButtons.BackPressed event on the page. void HardwareButtons_BackPressed(object […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 23, 2014 at 6:18 pm

Categories: Windows Phone 7   Tags: ,

How to animate page navigation in Windows Phone 8 ?

If you want to apply animation to the page navigation in Windows Phone 8 , you can use the Windows Phone Toolkit . How to animate page navigation in Windows Phone 8 ? The Windows Phone toolkit has a component called Navigation transitions which can be used to animate the […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 20, 2014 at 6:31 pm

Categories: Dotnet, Windows Phone 7   Tags: , , ,

How to Change the File Properties in Microsoft PowerPoint 2013 ?

File properties are like the metadata which contains the information about the file . The file properties can help the users to search the file better specially when you have lot of files. How to Change the File Properties in Microsoft PowerPoint 2013 ? To change the file properties in […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 12, 2014 at 4:35 pm

Categories: Power Point   Tags: , , , ,

How to Modify AutoRecover Settings in Microsoft PowerPoint 2013 ?

Auto Recover is an interesting feature in Microsoft PowerPoint 2013 which saves the backup version of the current PowerPoint presentation that is running. Note that it is not the same as saving your work regularly . If you close PowerPoint normally , the version that is backed up will be […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 12, 2014 at 3:38 pm

Categories: Power Point   Tags: , , , ,

Thread.Sleep alternative in Windows Phone 8.1 XAML(Windows Runtime) App

In the earlier version of Windows Phone  , you had the option of using Thread.Sleep which can be used to make a function to wait for specific time . It suspends the current thread for the specified time. If you targeting Windows Phone Store App (Windows runtime XAML) Read more […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 10, 2014 at 6:19 pm

Categories: How To's   Tags:

Fun With iBeacon by Andrea

Andrea in his blog “Syntax Error” has written a blog post on the title “Fun With iBeacon” , an interesting and easy to understand blog post which introduces what is iBeacon and how iBeacon works and Andrea shares the experience of how to use it and also talks about Estimote […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 9, 2014 at 5:38 pm

Categories: General   Tags: , ,

How to increase or decrease the number of items in the Recent Presentation List in Microsoft PowerPoint 2013 ?

If you want to increase or decrease the number of recently used files in the Recent Presentation List in Microsoft PowerPoint 2013 , you can do that easily by following the below steps. How to increase or decrease the number of items in the Recent Presentation List in Microsoft PowerPoint […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 2, 2014 at 7:02 pm

Categories: Power Point   Tags: ,

What is Picture Presentation format in Microsoft PowerPoint 2013 ?

Do you want to make sure that your slides are not edited by any one who uses the presentation file by converting each slide to image and still have it in the presentation file ? What is Picture Presentation format in Microsoft PowerPoint 2013 ? The Picture Presentation format allows […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 2, 2014 at 6:51 pm

Categories: Power Point   Tags: , ,

How to Enable “Embed Fonts in file” in Microsoft PowerPoint 2013 ?

There are times when you might want to transfer the presentation file to a different computer . It might happen that the destination system does not have the font that was used in the presentation file. In this case , you might have to embed the fonts within your PowerPoint […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 2, 2014 at 6:16 pm

Categories: Power Point   Tags: ,

Shortcut to Create a new Blank Presentation in PowerPoint 2013

If you want to create a new blank presentation in Microsoft PowerPoint 2013 , one of the easiest way is to use the shortcuts. Use the shortcut key “Ctrl+N” shortcut key to create a new blank presentation in Microsoft PowerPoint 2013.

Read more...

Be the first to comment - What do you think?
Posted by Admin - July 2, 2014 at 5:14 pm

Categories: Power Point   Tags: , , , ,

How to enable Tracing for all pages in ASP.NET Web Application ?

In ASP.NET Web forms , you can enable the tracing for a all the pages by adding the trace element to the web.config file. How to enable Tracing for all pages in ASP.NET Web Application ? Below is a sample web.config entries that demonstrates how to add the tracing element in the […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 29, 2014 at 5:51 pm

Categories: Dotnet   Tags: , ,

How to Get the Network Card Information in C# ?

There are times when you want to retrieve the low level information about the network adapters in the computer . In this case , you can use the NetworkInterface class that is defined in the System.Net.NetworkInformation namespace. How to Get the Network Card Information in C# ? Below is a […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 28, 2014 at 2:51 pm

Categories: Dotnet   Tags: , ,

How to Check if a Directory exists in C# ?

Below is a sample code snippet demonstrating the usage of Directory.Exists method to find of the folder exists or not using C# . How to Check if a Directory exists in C# ? using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.IO; namespace GinktageConsoleApp { internal class […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 27, 2014 at 8:10 am

Categories: Dotnet   Tags: , , ,

How to Check if a File exists in C# ?

If you want to know if a given file along with the path exists or not , you can use the File.Exists method. How to Check if a File exists in C# ? Below is a sample code snippet demonstrating the usage of File.Exists method to find of the file […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 27, 2014 at 8:06 am

Categories: Dotnet   Tags: , ,

How to Get the File Size in C# ?

  There are times when you want to retrieve the size of a file programmatically in C# . Below is a sample code that demonstrates how to retrieve the file size in c# using the FileInfo class. How to Get the File Size in C# ?   string GKFile = […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 26, 2014 at 7:05 pm

Categories: Dotnet   Tags: , ,

How to Initialize a Collection during Declaration in C# ?

If you want to initialize a collection with values during the time of declaration , we can use the Object Initializers . How to Initialize a Collection during Declaration in C# ? Below is a sample code showing how to do it. List<int> NKLst = new List<int>() { 2, 178, […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 22, 2014 at 3:44 pm

Categories: Dotnet   Tags: , ,

How to run regular expressions faster in C# ?

If you want the regular expression to run faster , you can set the RegexOptions.Compiled value to the regex constructor . This will compile the regex in to their own assembly which will run a little faster. How to run regular expressions faster in C# ? Below is a sample […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 21, 2014 at 5:47 pm

Categories: Dotnet   Tags: , , ,

Validating a Zip codes in C# using Regular Expression

Are you looking for a code snippet to validate US Zip code in C# using Regular Expression ? . Below is a code snippet showing how to do it. Validating a Zip codes in C# using Regular Expression // Validating a Zip codes in C# using Regular Expression string GKZipCode […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 21, 2014 at 5:37 pm

Categories: Dotnet   Tags: ,

How to Validate a US telephone number using Regular Expression in C# ?

If you need to validate a US telephone number in C# , below is a sample code snippet demonstrating this. How to Validate a US telephone number using Regular Expression in C# ? // How to Validate a US telephone number using Regular Expression in C# ? string PhoneNumberPattern = […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 21, 2014 at 5:26 pm

Categories: Dotnet   Tags: , , ,

How to Detect Empty Strings in C# ?

There are times when you want to detect if a string contains content or empty string in C#. You can use the String.IsNullOrWhitespace method to detect null , empty string or string with whitespaces. How to Detect Empty Strings in C# ? using System; using System.Collections.Generic; using System.Globalization; using System.Linq; […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - June 19, 2014 at 5:56 pm

Categories: Dotnet   Tags: , ,

How to Generate Random Number in C# ?

You can easily create random number in C# using the Random class . The random class produces random number based on the seed value. How to Generate Random Number in C# ? Below is code snippet that demonstrates how to generate random number in C#. Random random = new Random(); […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - May 27, 2014 at 5:04 pm

Categories: Dotnet   Tags: , , ,

How to Show the Status Bar in Windows Phone 8.1 Windows Runtime Apps ?

Do you want to display or show the status bar that was previously hidden from your Windows Phone 8.1 Windows runtime apps ? . Below is a code snippet that shows how to do it. How to Show the Status Bar in Windows Phone 8.1 Windows Runtime Apps ? Windows.UI.ViewManagement.StatusBar […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - May 24, 2014 at 6:47 pm

Categories: Windows Phone 7   Tags: ,

How to Hide the Status Bar in Windows Phone 8.1 Windows Runtime Apps ?

Do you want to hide the status bar in the Windows Phone 8.1 when targeting Windows Runtime app ? . Below is a sample code snippet that demonstrates how you can do it. How to Hide the Status Bar in Windows Phone 8.1 Windows Runtime Apps ? Windows.UI.ViewManagement.StatusBar StatusBar = […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - May 24, 2014 at 6:22 pm

Categories: Windows Phone 7   Tags: , , ,

How to use Complex Number in C# ?

There are times when you want to represent imaginary numbers in your application . For example , assume that you are solving some engineering problems . You can use the Complex class defined in the System.Numerics namespace in this case. If the assembly is not referenced , you should add […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - April 19, 2014 at 8:45 am

Categories: Dotnet   Tags: ,

How to Call Methods with Named Parameters in C# ?

Named Parameters in C# 4.0 lets the developers to call the method with the parameter name and its value instead of only passing the value as parameter. How to Call Methods with Named Parameters in C# ? using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace GinktageApp { […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - April 8, 2014 at 5:15 pm

Categories: Dotnet   Tags: ,

Using the Ternary Operator to Check if the Number is Odd or Even.

Below is a sample code that demonstrates how to find if the number is odd or even using the ternary or conditional operator in C#. Using the Ternary Operator to Check if the Number is Odd or Even. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GinktageConsoleApp { class […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - April 6, 2014 at 9:59 am

Categories: Dotnet   Tags: , , , ,

How to Prevent Inheritance in C# ?

Do you want to prevent a class from getting inherited in C# ? . Simple – use the sealed keyword. How to Prevent Inheritance in C# ? Below is a student class which is marked sealed and hence this class cannot be inherited. sealed class Student { public string FullName […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - April 1, 2014 at 6:09 pm

Categories: Dotnet   Tags: , , , ,

Getting the Type of Anonymous Object in C#

If you are looking to find the type of the anonymous object within your application , then one of the easiest way to find it is using the GetType method of the object . Getting the Type of Anonymous Object in C# Below is a sample code snippet that demonstrates […]

Read more...

Be the first to comment - What do you think?
Posted by Admin - March 31, 2014 at 3:19 pm

Categories: Dotnet   Tags: , , ,

Next Page »