The type or namespace name ‘ServiceController’ could not be found

July 6, 2018
May times you need to add namespaces to your application, here I sharing how you can add “System.ServiceProcess” required to incorporate windows services to your application. Follow the below steps add references: 1) Right click on solution explore and click on add reff 2( go to Assembly => Framework and look for “System.ServiceProcess” and enable it. Click OK to ...
Read more..

You have not accepted the license agreements of the following SDK components

April 26, 2018
While building Android application you may get error for not accepting license agreement like below: You have not accepted the license agreements of the following SDK components: . Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio ...
Read more..

WordPress: Top interview questions and answers

April 19, 2018
What is the use of function.php in WordPress Every theme folder contains one and only one function.php. The purpose of this file is to allow theme developers to define theme features and functions. This file acts just like a WordPress plugin and can be used to add your own custom code snippets in WordPress. Updating your ...
Read more..

How can we change the port number of an Apache Web server?

April 19, 2018
There are many instance where we need to change apache port number so that other system/application work properly. Following are some conflicts that may occur: 1) Installing IIS on same machine. Change IIS PORT 2) Skype also used same port. How change Skype port. Either you can change the port of ohter Application or change the apache port. ...
Read more..

How to turn off keyboard vibration while typing text on MI note 4

April 6, 2018
Bydefault keyboard vibration on typing text is on. It took me sometime to search for setting and making it off. it is annoying having viration while type messages on phone so i made it off. Follow below steps to make vibration off in your Redmi note 4 having MIUI version 9 with android version 7: 1) Go ...
Read more..

How to unblock a number in Redmi note 4

April 5, 2018
Blocking unwanted SMS and calls is a good feature offered by Redmi mobiles. But sometime we want to unblock a number either we have blocked by mistake or we want to receive call from that number. Follow below steps to unblock a number from contacts. 1) Go to Phone book with dial pad open as below: 2) ...
Read more..

How to delete sleeping processes in Mysql

April 3, 2018
Whenever a new query executed, a freash process start and once the query is completed process should be end but many application does not clean up their connection after end of process and hence process goes to sleeping mode. MySql will clean up such process as per the configurable value of “wait_timeout” . Default value ...
Read more..

Recording screen in windows 10

March 9, 2018
Windows 10 comes with Xbox app installed by default and it is having feature of video recording. It is not meant for that but we can used it somehow as it is free and easy to use. Follow the below steps to capture the screen: 1) Press key combination “Window key” + “G”, it will open below ...
Read more..

C# Getting column name from dataset

March 6, 2018
There are many ways we can do the same, here I am sharing how you can do it using foreach loop. Below sample code loop through Dataset and get column the names.        DataSet dsresult = GetResultFromDBQuery(); //Query to db for getting records. foreach (DataColumn column in dsresult.Tables.Columns) { Console.WriteLine(column.ColumnName); } If you want to get column and ...
Read more..

Bootstrap modal window: Close current and open a new modal

February 13, 2018
This is very basic requirement to open second modal window by clicking on link on first modal window. When I search for it found difficult to get the answer which is very simple and no one talking about it. So I though of sharing a small code to demonstrate how you can open another modal ...
Read more..