Must-Know Visual Studio Keyboard Shortcuts

Here, I will give you a short list of keyboard short-cuts for things you probably do often in Visual Studio. Visual Studio Keyboard Shortcuts Project Related Keyboard Shortcuts Ctrl + Shift + B = Build your project Ctrl + Alt + L = Shows Solution Explorer Shift + Alt + C = Add new class Shift + Alt + A = Add … Read more

Asp.net Difference between Website and Web Application

Asp.net vs Web.net

Generally whenever we are trying to create new web project in visual studio we will found two options ASP.NET Web Application and Web Site. What is the difference between these two which one we need to select to create project in asp.net? It’s choice of the people can go for web application or website we cannot … Read more

Could not load file or assembly ‘CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’ or one of its dependencies

Unhandled Exption

In this post I will explain how to solve problem of “Could not load file or assembly “CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken= 692fbea5521e1304′ or one of its dependencies. The system cannot find the file specified.” during deploy crystal reports in servers. Generally we will get this problem because of missing crystal report runtime component in server. … Read more

HOW TO GET SERIAL NUMBER OF MOTHERBOARD

Mother_Board

this post shows how we can get PC motherboard serial number. This information can be very useful when we need to create some protection for our software product and other things. One important thing is that we have to add reference to System.Management DLL file. To add reference System.Management DLL Right Click on Project -> … Read more

Validating a textbox to allow only numeric values in c# windows application

  public Form1() { InitializeComponent(); txtHomePhone.KeyPress += new KeyPressEventHandler(txtHomePhone_KeyPress); } private void txtHomePhone_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar >= ‘0’ && e.KeyChar <= ‘9’ || e.KeyChar == ”) //The character represents a backspace { e.Handled = false; //Do not reject the input } else { e.Handled = true; //Reject the input } }