Tag: How to

SQL Server 2014 Tutorial – Assign TCP/IP Port to Database Engine

Problem Statement You need to change the SQL Server 2014 port number from 1433 to a different port number. Solution By default , SQL Server runs on the port number 1433. You can change it to different port number by following the below steps. 1. Open SQL Server 2014 Configuration Manager from the Windows Start menu. 2. In the left side bar of the Sql…

C Program to display Inverted half-pyramid using numbers

Problem Write a program in C to print Inverted half-pyramid using numbers as shown below.The program should take the number of rows as input. 1 2 3 4 1 2 3 1 2 1 How to create and display Inverted half-pyramid pattern in C using numbers ? Output Abundantcode.com Coding samples Enter number of rows: 4 1 2 3 4 1 2 3          1 2           …

Different Tabs in the Package Manifest file in Universal App

The package manifest file in the Windows Store App and Windows Phone app (universal app) lets the developers to describe some of the key information about the application like the name , necessary device capabilities that the app can use and the requirements for the device to install the app etc. The name of the file would generally be Package.appxmanifest. Different Tabs in the Package…

How to Create a ShellToast(ToastPrompt) in Windows Phone 8 ?

Do you want to create a ShellToast from your Windows Phone 8 app ? . The Coding4fun toolkit provides some additional controls which can be used create a ShellToast in Windows Phone 8 app. How to Create a ShellToast(ToastPrompt) in Windows Phone 8 ? Below is a sample code snippet demonstrating how to achieve it using the ToastPrompt control from Coding4Fun.

C++ Program to add two integers

Problem Write a program in C++ to add two integers and display the result on the screen. C++ Program to add two integers Output Enter first number : 8                                                                                                                                                            Enter second number : 2                                                                                                                                                                  8 + 2 = 10

GOTO Label in SQL Server

There are times when you want to jump to a specific section (Label) in the code when a condition satisfies. You can create a label and then use the GOTO statement to branch directly to the code. To create a label , simply specify the label name followed by the colon. Label1: Here’s a query demonstrating the usage of the Label named “RecordExistsLabel” and GOTO…

Creating Namespace in WinJS for Windows Store App ?

When developing Windows Store App using WinJS library , there are times when you want to create a namespace . You can use the WinJS.Namespace.define() method to create a namespace. Below is a sample code snippet demonstrating how to create a namespace in WinJS for Windows Store App using WinJS. Creating Namespace in WinJS for Windows Store App ?

Java – How to use Packages to organize code ?

Problem Statement You need to use packages in java to organize your code. Solution Your Java program might the following Classes Interfaces Enums Other types There are times when your program might grow larger including th number of java classes used. You might want to organize these source files to that it is easier to maintain and avoid other issues like class name conflicts. Inorder…