Wednesday, 18 September 2013

Nettcp Binding in asp.net link

Press Me
Press Me 


1.  How to create a WCF service with netTcpBinding ?
2.  How to host the WCF service in Windows service ?
3.  How to start windows service ?
4.  How to consume the service ?

You can see video of this article Here

You can refer my Blog for more articles

Create WCF Service

Step 1

Create a WCF Library project.



Step 2

Create Contract.  Delete all the default code generated by WCF for you. And create a contract as below,



Step 3

Implement the Service



Step 4

Configure End Point for the service on netTcp Binding.

1.  Configure Service Behavior



2.  Configure  end point with netTcpBinding



3.  Configure the meta data exchange end point



Note: Make sure, you are providing name of the endpoints. Else you will catch up with run time exception  while adding the service at client side

Full App.Config of WCF library project will look like

App.Config

01<!--?xml version="1.0" encoding="utf-8" ?-->
02<configuration>
03  <system.web>
04    <compilation debug="true">
05  </compilation></system.web>
06  <system.servicemodel>
07    <services>
08      <service name="NetTcpServicetoHostinWindowsServices.Service1" behaviorconfiguration="MyBehavior">
09        <host>
10          <baseaddresses>
11            <add baseaddress="net.tcp://localhost:9999/Service1/">
12          </add></baseaddresses>
13        </host>       
14        <endpoint name="NetTcpEndPoint" address="" binding="netTcpBinding" contract="NetTcpServicetoHostinWindowsServices.IService1">          
15        </endpoint>      
16        <endpoint name="NetTcpMetadataPoint" address="mex" binding="mexTcpBinding" contract="IMetadataExchange">
17      </endpoint></service>
18    </services>
19    <behaviors>
20      <servicebehaviors>
21        <behavior name="MyBehavior">         
22          <servicemetadata httpgetenabled="False">         
23          <servicedebug includeexceptiondetailinfaults="False">
24        </servicedebug></servicemetadata></behavior>
25      </servicebehaviors>
26    </behaviors>
27  </system.servicemodel>
28</configuration>

Create Windows Service

Step 1

Right click and add a new project in same solution. Choose the project type Windows Services from windows tab.



Step 2

Right click on Windows service project and add reference of

1.  System.ServiceModel
2.  Project reference of WCF Library project created in previous step





Step 3

Copy App.Config from WCF Service Library project and paste in Windows service project. To do so right click on App.config in WCF Library project and select copy then right click on Windows Service project and click on paste.




After copy and paste of APP.Config , we can see App.Config file in Windows Service Project also.




Step 4

Add Service Installer. To do so right click on Service1.cs in windows service project and click on view designer.



Once designer page is open, right click on designer page and click on add installer



Once we will right click on design surface of Service.cs file and click add Installer, it will add ProjectInstaller.cs file.



Right click on the ProjectInstaller.cs file and select view designer.



 On designer page, we can see there is ServiceProcessInstaller1 and serviceInstaller1 is there.
Right click on ServiceProcessInstaller1 and select properties. In properties set the Account attribute to NetworkServices



Right click on ServiceInstaller1 and select properties. In properties set the Start Type attribute to Automatic



Step 5

Modify Window service to host the WCF service. To do, open Service1.cs file in Windows service project. 

1.  Add the below name spaces



2.  Declare a variable




3.  On Start method of Window service



4.  On Stop method of Window service



5.  On  the event of back ground worker




So full source code of Service1.cs in windows service project will be like below,
Service1.cs

01using System;
02using System.Collections.Generic;
03using System.ComponentModel;
04using System.Data;
05using System.Diagnostics;
06using System.Linq;
07using System.ServiceProcess;
08using System.Text;
09using System.ServiceModel;
10using NetTcpServicetoHostinWindowsServices;
11 
12namespace HostingWindowsService
13{
14    public partial class Service1 : ServiceBase
15    {
16        internal static ServiceHost myHost = null;
17        BackgroundWorker worker;
18        public Service1()
19        {
20            InitializeComponent();
21        }
22 
23        protected override void OnStart(string[] args)
24        {
25             
26            worker = new BackgroundWorker();
27            worker.DoWork += new DoWorkEventHandler(worker_DoWork);
28 
29        }
30        void worker_DoWork(object sender, DoWorkEventArgs e)
31        {
32 
33            if (myHost != null)
34            {
35                myHost.Close();
36            }
37 
38            myHost = new ServiceHost(typeof(NetTcpServicetoHostinWindowsServices.Service1));
39            myHost.Open();
40 
41 
42 
43        }
44 
45        protected override void OnStop()
46        {
47 
48            if (myHost != null)
49            {
50                myHost.Close();
51                myHost = null;
52            }
53 
54        }
55    }
56}


Step 6

Build the solution. After successful built of solution, you can see exe file in debug folder of bin folder.  After building the solution, right click on solution and select open folder in Windows Explorer.  Once folder is open Windows service project folder.  Inside that open bin folder. Inside that open Debug folder.  Inside Debug folder you should able to see windows service exe file.



Click on the address bar of the folder and copy the full path of this exe file.

Step 7

Install the windows service.

1.  First search what is the path of InstallUtil in your machine. To search this path , click on start  and open find and if you are using Windows 7 then browse to your C drive and type InstallUtil , in top right corner search text box.
2.  Once you get the full path of InstallUtil , Open your command prompt  ad change directory to full path of InstallUtil.
3.  Now just type InstallUtil.exe and press enter, you will get help details on how to use InstallUtil.exe.
4.   Now to install window service we created, type the below command on your command prompt. Make sure you are giving correct and full path of window service exe.



5.  After successful installation, you will get below message.



6.  Click on Start and type run and in run window type Service.msc



It will open all the services. We can see Service1 is listed there.  If you remember Service1 is name of the service class in Windows service project.



 
This service is automatic started. Right click on the service and click on the Start.
Now our WCF Service is up and hosted in Windows Services.

Step 8

Create the client.

1.  To create the client right click on solution and add a new project of type Console application. 
2.   Right click on the console application and add service reference.  Copy base address from App.config of windows services and paste it here.



3.  Now simply create the instance of Service1Client and call the service

Programs.cs

01using System;
02using System.Collections.Generic;
03using System.Linq;
04using System.Text;
05using ConsoleClient.ServiceReference1;
06 
07namespace ConsoleClient
08{
09    class Program
10    {
11        static void Main(string[] args)
12        {
13            Service1Client proxy = new Service1Client();
14            Console.WriteLine(proxy.GetData(9));
15            Console.Read();
16        }
17    }
18}

Press F5 to run the console application. Make sure client console application is set as startup project.


 

Tuesday, 10 September 2013

paypal vedio link

Press Me(imp)
 Press Me
Press Me
Press Me
Press Me

Create PayPal Account in SandBox to testing


Go to https://developer.paypal.com/ and create Paypal account to be testing

After create new account Login into the developer.paypal.com website. Now click on the Test accounts Right side and create two sub accounts


1) Buyer account

2) Seller account


images

After Click Preconfigured create account for buyer and seller like below
images

After enter all details click Create account button. Now those two accounts are displayed in your test accounts like Business, Personal
images  
 after that u will create a page  design code
 code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
     <script language="javascript" type="text/jscript">
         function x() {
             document.getElementById('a').value = "";
             return false;
         }
         function y() {
             document.getElementById('amount').value = document.getElementById('a').value;
             document.getElementById('a').value = "Enter ur amount";
             return false;
         }
    </script>
</head>
<body>
 <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <input type="text" id="a" name="a" value="Enter ur amount" onfocus="x()" onblur="y()" /><br /><br/>
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="business" value="chinmaya@swashconvergence.us">
  <input type="hidden" name="lc" value="US">
  <input id="iptItemName" type="hidden" name="item_name" value="Total Amount">
  <input type="hidden" name="amount" id="amount">
  <input type="hidden" name="currency_code" value="USD">
  <input type="hidden" name="button_subtype" value="products">
  <input type="hidden" name="no_note" value="0">
  <input type="hidden" name="cn" value="Add special instructions to the seller">
  <input type="hidden" name="no_shipping" value="2">
  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
  <input type="image"
    src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
    border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
  <img alt="" border="0"
    src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif"
    width="1" height="1">

</form>
</body>
</html>

cowcare link

Monday, 9 September 2013

Convert United States Dollar to indian rs

jquery,json,webservice
Press Me

Design Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="JScript.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready
    (
    function () {
        $('#submit').click
    (
    function () {
        debugger;
        $.ajax({
            type: "POST",
            url: "WebService.asmx/Convert1",
            data: "{amount:'" + $('#amount').val() + "',fromCurrency:'" + $('#from').val() + "',toCurrency:'" + $('#to').val() + "'}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                alert(msg.d);
            },
            error: function (msg) {
                alert(msg);
            }
        });

    }
    )
    }
    )
    </script>
</head>
<body>
    <form action="#" method="get" enctype="multipart/form-data">
    <label for="amount">
        Amount:</label>
    <input type="text" name="amount" id="amount" />
    <label for="from">
        From:</label>
    <select name="from" id="from">
        <option value="EUR">Euro - EUR</option>
        <option value="USD">United States Dollars - USD</option>
        <option value="GBP">United Kingdom Pounds - GBP</option>
        <option value="CAD">Canada Dollars - CAD</option>
        <option value="AUD">Australia Dollars - AUD</option>
        <option value="JPY">Japan Yen - JPY</option>
        <option selected="selected" value="INR">India Rupees - INR</option>
        <option value="NZD">New Zealand Dollars - NZD</option>
        <option value="CHF">Switzerland Francs - CHF</option>
        <option value="ZAR">South Africa Rand - ZAR</option>
        <option value="DZD">Algeria Dinars - DZD</option>
        <option value="ARS">Argentina Pesos - ARS</option>
        <option value="AUD">Australia Dollars - AUD</option>
        <option value="BHD">Bahrain Dinars - BHD</option>
        <option value="BRL">Brazil Reais - BRL</option>
        <option value="BGN">Bulgaria Leva - BGN</option>
        <option value="CAD">Canada Dollars - CAD</option>
        <option value="CLP">Chile Pesos - CLP</option>
        <option value="CNY">China Yuan Renminbi - CNY</option>
        <option value="CNY">RMB (China Yuan Renminbi) - CNY</option>
        <option value="COP">Colombia Pesos - COP</option>
        <option value="CRC">Costa Rica Colones - CRC</option>
        <option value="HRK">Croatia Kuna - HRK</option>
        <option value="CZK">Czech Republic Koruny - CZK</option>
        <option value="DKK">Denmark Kroner - DKK</option>
        <option value="DOP">Dominican Republic Pesos - DOP</option>
        <option value="EGP">Egypt Pounds - EGP</option>
        <option value="EEK">Estonia Krooni - EEK</option>
        <option value="EUR">Euro - EUR</option>
        <option value="FJD">Fiji Dollars - FJD</option>
        <option value="HKD">Hong Kong Dollars - HKD</option>
        <option value="HUF">Hungary Forint - HUF</option>
        <option value="ISK">Iceland Kronur - ISK</option>
        <option value="INR">India Rupees - INR</option>
        <option value="IDR">Indonesia Rupiahs - IDR</option>
        <option value="ILS">Israel New Shekels - ILS</option>
        <option value="JMD">Jamaica Dollars - JMD</option>
        <option value="JPY">Japan Yen - JPY</option>
        <option value="JOD">Jordan Dinars - JOD</option>
        <option value="KES">Kenya Shillings - KES</option>
        <option value="KRW">Korea (South) Won - KRW</option>
        <option value="KWD">Kuwait Dinars - KWD</option>
        <option value="LBP">Lebanon Pounds - LBP</option>
        <option value="MYR">Malaysia Ringgits - MYR</option>
        <option value="MUR">Mauritius Rupees - MUR</option>
        <option value="MXN">Mexico Pesos - MXN</option>
        <option value="MAD">Morocco Dirhams - MAD</option>
        <option value="NZD">New Zealand Dollars - NZD</option>
        <option value="NOK">Norway Kroner - NOK</option>
        <option value="OMR">Oman Rials - OMR</option>
        <option value="PKR">Pakistan Rupees - PKR</option>
        <option value="PEN">Peru Nuevos Soles - PEN</option>
        <option value="PHP">Philippines Pesos - PHP</option>
        <option value="PLN">Poland Zlotych - PLN</option>
        <option value="QAR">Qatar Riyals - QAR</option>
        <option value="RON">Romania New Lei - RON</option>
        <option value="RUB">Russia Rubles - RUB</option>
        <option value="SAR">Saudi Arabia Riyals - SAR</option>
        <option value="SGD">Singapore Dollars - SGD</option>
        <option value="SKK">Slovakia Koruny - SKK</option>
        <option value="ZAR">South Africa Rand - ZAR</option>
        <option value="KRW">South Korea Won - KRW</option>
        <option value="LKR">Sri Lanka Rupees - LKR</option>
        <option value="SEK">Sweden Kronor - SEK</option>
        <option value="CHF">Switzerland Francs - CHF</option>
        <option value="TWD">Taiwan New Dollars - TWD</option>
        <option value="THB">Thailand Baht - THB</option>
        <option value="TTD">Trinidad and Tobago Dollars - TTD</option>
        <option value="TND">Tunisia Dinars - TND</option>
        <option value="TRY">Turkey Lira - TRY</option>
        <option value="AED">United Arab Emirates Dirhams - AED</option>
        <option value="GBP">United Kingdom Pounds - GBP</option>
        <option value="USD">United States Dollars - USD</option>
        <option value="VEB">Venezuela Bolivares - VEB</option>
        <option value="VND">Vietnam Dong - VND</option>
        <option value="ZMK">Zambia Kwacha - ZMK</option>
    </select>
    <label for="to">
        To:</label>
    <select name="to" id="to">
        <option value="USD">United States Dollars - USD</option>
        <option value="GBP">United Kingdom Pounds - GBP</option>
        <option value="CAD">Canada Dollars - CAD</option>
        <option value="AUD">Australia Dollars - AUD</option>
        <option value="JPY">Japan Yen - JPY</option>
        <option value="INR">India Rupees - INR</option>
        <option value="NZD">New Zealand Dollars - NZD</option>
        <option value="CHF">Switzerland Francs - CHF</option>
        <option value="ZAR">South Africa Rand - ZAR</option>
        <option value="DZD">Algeria Dinars - DZD</option>
        <option value="ARS">Argentina Pesos - ARS</option>
        <option value="AUD">Australia Dollars - AUD</option>
        <option value="BHD">Bahrain Dinars - BHD</option>
        <option value="BRL">Brazil Reais - BRL</option>
        <option value="BGN">Bulgaria Leva - BGN</option>
        <option value="CAD">Canada Dollars - CAD</option>
        <option value="CLP">Chile Pesos - CLP</option>
        <option value="CNY">China Yuan Renminbi - CNY</option>
        <option value="CNY">RMB (China Yuan Renminbi) - CNY</option>
        <option value="COP">Colombia Pesos - COP</option>
        <option value="CRC">Costa Rica Colones - CRC</option>
        <option value="HRK">Croatian Kuna - HRK</option>
        <option value="CZK">Czech Republic Koruny - CZK</option>
        <option value="DKK">Denmark Kroner - DKK</option>
        <option value="DOP">Dominican Republic Pesos - DOP</option>
        <option value="EGP">Egypt Pounds - EGP</option>
        <option value="EEK">Estonia Krooni - EEK</option>
        <option value="EUR">Euro - EUR</option>
        <option value="FJD">Fiji Dollars - FJD</option>
        <option value="HKD">Hong Kong Dollars - HKD</option>
        <option value="HUF">Hungary Forint - HUF</option>
        <option value="ISK">Iceland Kronur - ISK</option>
        <option value="INR">India Rupees - INR</option>
        <option value="IDR">Indonesia Rupiahs - IDR</option>
        <option value="ILS">Israel New Shekels - ILS</option>
        <option value="JMD">Jamaica Dollars - JMD</option>
        <option value="JPY">Japan Yen - JPY</option>
        <option value="JOD">Jordan Dinars - JOD</option>
        <option value="KES">Kenya Shillings - KES</option>
        <option value="KRW">Korea (South) Won - KRW</option>
        <option value="KWD">Kuwait Dinars - KWD</option>
        <option value="LBP">Lebanon Pounds - LBP</option>
        <option value="MYR">Malaysia Ringgits - MYR</option>
        <option value="MUR">Mauritius Rupees - MUR</option>
        <option value="MXN">Mexico Pesos - MXN</option>
        <option value="MAD">Morocco Dirhams - MAD</option>
        <option value="NZD">New Zealand Dollars - NZD</option>
        <option value="NOK">Norway Kroner - NOK</option>
        <option value="OMR">Oman Rials - OMR</option>
        <option value="PKR">Pakistan Rupees - PKR</option>
        <option value="PEN">Peru Nuevos Soles - PEN</option>
        <option value="PHP">Philippines Pesos - PHP</option>
        <option value="PLN">Poland Zlotych - PLN</option>
        <option value="QAR">Qatar Riyals - QAR</option>
        <option value="RON">Romania New Lei - RON</option>
        <option value="RUB">Russia Rubles - RUB</option>
        <option value="SAR">Saudi Arabia Riyals - SAR</option>
        <option value="SGD">Singapore Dollars - SGD</option>
        <option value="SKK">Slovakia Koruny - SKK</option>
        <option value="ZAR">South Africa Rand - ZAR</option>
        <option value="KRW">South Korea Won - KRW</option>
        <option value="LKR">Sri Lanka Rupees - LKR</option>
        <option value="SEK">Sweden Kronor - SEK</option>
        <option value="CHF">Switzerland Francs - CHF</option>
        <option value="TWD">Taiwan New Dollars - TWD</option>
        <option value="THB">Thailand Baht - THB</option>
        <option value="TTD">Trinidad and Tobago Dollars - TTD</option>
        <option value="TND">Tunisia Dinars - TND</option>
        <option value="TRY">Turkey Lira - TRY</option>
        <option value="AED">United Arab Emirates Dirhams - AED</option>
        <option value="GBP">United Kingdom Pounds - GBP</option>
        <option value="USD">United States Dollars - USD</option>
        <option value="VEB">Venezuela Bolivares - VEB</option>
        <option value="VND">Vietnam Dong - VND</option>
        <option value="ZMK">Zambia Kwacha - ZMK</option>
    </select>
    <input type="button" name="submit" id="submit" value="Convert" />
    <div id="results">
    </div>
    </form>
</body>
</html>
web service code:
WebService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Text.RegularExpressions;
using System.Net;


[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService]
public class WebService : System.Web.Services.WebService {

    public WebService ()
    {

       
    }

    [WebMethod]
    public decimal Convert1(string amount, string fromCurrency, string toCurrency)
    {
        WebClient web = new WebClient();
      decimal amou= Convert.ToDecimal(amount);
      string url = string.Format("http://www.google.com/ig/calculator?hl=en&q={2}{0}%3D%3F{1}", fromCurrency.ToUpper(), toCurrency.ToUpper(), amou);
        string response = web.DownloadString(url);
        Regex regex = new Regex("rhs: \\\"(\\d*.\\d*)");
        decimal rate = System.Convert.ToDecimal(regex.Match(response).Groups[1].Value);
        return rate;
    }
   
}

Thursday, 5 September 2013

keyboard shortcuts for Microsoft Windows



Ø  Keyboard Shortcuts (Microsoft Windows)
1.       CTRL+C (Copy)
2.       CTRL+X (Cut)
3.       CTRL+V (Paste)
4.       CTRL+Z (Undo)
5.       DELETE (Delete)
6.       SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
7.       CTRL while dragging an item (Copy the selected item)
8.       CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
9.       F2 key (Rename the selected item)
10.   CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)
11.   CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)
12.   CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)
13.   CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)
14.   CTRL+SHIFT with any of the arrow keys (Highlight a block of text)
15.   SHIFT with any of the arrow keys (Select more than one item in a window or on the desktop, or select text in a document)
16.   CTRL+A (Select all)
17.   F3 key (Search for a file or a folder)
18.   ALT+ENTER (View the properties for the selected item)
19.   ALT+F4 (Close the active item, or quit the active program)
20.   ALT+ENTER (Display the properties of the selected object)
21.   ALT+SPACEBAR (Open the shortcut menu for the active window)
22.   CTRL+F4 (Close the active document in programs that enable you to have multiple documents open simultaneously)
23.   ALT+TAB (Switch between the open items)
24.   ALT+ESC (Cycle through items in the order that they had been opened)
25.   F6 key (Cycle through the screen elements in a window or on the desktop)
26.   F4 key (Display the Address bar list in My Computer or Windows Explorer)
27.   SHIFT+F10 (Display the shortcut menu for the selected item)
28.   ALT+SPACEBAR (Display the System menu for the active window)
29.   CTRL+ESC (Display the Start menu)
30.   ALT+ Underlined letter in a menu name (Display the corresponding menu) Underlined letter in a command name on an open menu (Perform the corresponding command)
31.   F10 key (Activate the menu bar in the active program)
32.   RIGHT ARROW (Open the next menu to the right, or open a submenu)
33.   LEFT ARROW (Open the next menu to the left, or close a submenu)
34.   F5 key (Update the active window)
35.   BACKSPACE (View the folder one level up in My Computer or Windows Explorer)
36.   ESC (Cancel the current task)
37.   SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from automatically playing)
Ø  Dialog Box - Keyboard Shortcuts
1.       CTRL+TAB (Move forward through the tabs)
2.       CTRL+SHIFT+TAB (Move backward through the tabs)
3.       TAB (Move forward through the options)
4.       SHIFT+TAB (Move backward through the options)
5.       ALT+ Underlined letter (Perform the corresponding command or select the corresponding option)
6.       ENTER (Perform the command for the active option or button)
7.       SPACEBAR (Select or clear the check box if the active option is a check box)
8.       Arrow keys (Select a button if the active option is a group of option buttons)
9.       F1 key (Display Help)
10.   F4 key (Display the items in the active list)
11.   BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)
Ø  Microsoft Natural Keyboard Shortcuts
1.       Windows Logo (Display or hide the Start menu)
2.       Windows Logo +BREAK (Display the System Properties dialog box)
3.       Windows Logo +D (Display the desktop)
4.       Windows Logo +M (Minimize all of the windows)
5.       Windows Logo +SHIFT+M (Restore the minimized windows)
6.       Windows Logo +E (Open My Computer)
7.       Windows Logo +F (Search for a file or a folder)
8.       CTRL+ Windows Logo +F (Search for computers)
9.       Windows Logo+F1 (Display Windows Help)
10.   Windows Logo+ L (Lock the keyboard)
11.   Windows Logo +R (Open the Run dialog box)
12.   Windows Logo +U (Open Utility Manager)
13.   Accessibility Keyboard Shortcuts
14.   Right SHIFT for eight seconds (Switch Filter Keys either on or off)
15.   Left ALT+ left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)
16.   Left ALT+ left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)
17.   SHIFT five times (Switch the Sticky Keys either on or off)
18.   NUM LOCK for five seconds (Switch the ToggleKeys either on or off)
19.   Windows Logo +U (Open Utility Manager)
20.   Windows Explorer Keyboard Shortcuts
21.   END (Display the bottom of the active window)
22.   HOME (Display the top of the active window)
23.   NUM LOCK+ Asterisk sign (*) (Display all of the subfolders that are under the selected folder)
24.   NUM LOCK+ Plus sign (+) (Display the contents of the selected folder)
25.   NUM LOCK+ Minus sign (-) (Collapse the selected folder)
26.   LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)
27.   RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)
Ø  Shortcut Keys for Character Map
After you double-click a character on the grid of characters, you can move through the grid by using the keyboard shortcuts:
1.       RIGHT ARROW (Move to the right or to the beginning of the next line)
2.       LEFT ARROW (Move to the left or to the end of the previous line)
3.       UP ARROW (Move up one row)
4.       DOWN ARROW (Move down one row)
5.       PAGE UP (Move up one screen at a time)
6.       PAGE DOWN (Move down one screen at a time)
7.       HOME (Move to the beginning of the line)
8.       END (Move to the end of the line)
9.       CTRL+HOME (Move to the first character)
10.   CTRL+END (Move to the last character)
11.   SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)
Ø  Microsoft Management Console (MMC)
Main Window Keyboard Shortcuts
1.       CTRL+O (Open a saved console)
2.       CTRL+N (Open a new console)
3.       CTRL+S (Save the open console)
4.       CTRL+M (Add or remove a console item)
5.       CTRL+W (Open a new window)
6.       F5 key (Update the content of all console windows)
7.       ALT+SPACEBAR (Display the MMC window menu)
8.       ALT+F4 (Close the console)
9.       ALT+A (Display the Action menu)
10.   ALT+V (Display the View menu)
11.   ALT+F (Display the File menu)
12.   ALT+O (Display the Favorites menu)
MMC Console Window Keyboard Shortcuts
1.       CTRL+P (Print the current page or active pane)
2.       ALT+ Minus sign (-) (Display the window menu for the active console window)
3.       SHIFT+F10 (Display the Action shortcut menu for the selected item)
4.       F1 key (Open the Help topic, if any, for the selected item)
5.       F5 key (Update the content of all console windows)
6.       CTRL+F10 (Maximize the active console window)
7.       CTRL+F5 (Restore the active console window)
8.       ALT+ENTER (Display the Properties dialog box, if any, for the selected item)
9.       F2 key (Rename the selected item)
10.   CTRL+F4 (Close the active console window. When a console has only one console window, this shortcut closes the console)
Ø  Remote Desktop Connection Navigation
1.       CTRL+ALT+END (Open the Microsoft Windows NT Security dialog box)
2.       ALT+PAGE UP (Switch between programs from left to right)
3.       ALT+PAGE DOWN (Switch between programs from right to left)
4.       ALT+INSERT (Cycle through the programs in most recently used order)
5.       ALT+HOME (Display the Start menu)
6.       CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)
7.       ALT+DELETE (Display the Windows menu)
8.       CTRL +ALT +Minus sign (-) (Place a snapshot of the active window in the client on the Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.)
9.       CTRL+ ALT+ Plus sign (+) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)
Ø  Microsoft Internet Explorer Keyboard Shortcuts
1.       CTRL+B (Open the Organize Favorites dialog box)
2.       CTRL+E (Open the Search bar)
3.       CTRL+F (Start the Find utility)
4.       CTRL+H (Open the History bar)
5.       CTRL+I (Open the Favorites bar)
6.       CTRL+L (Open the Open dialog box)
7.       CTRL+N (Start another instance of the browser with the same Web address)
8.       CTRL+O (Open the Open dialog box ,the same as CTRL+L)
9.       CTRL+P (Open the Print dialog box)
10.   CTRL+R (Update the current Web )