<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5444166251104515842</id><updated>2011-04-21T21:59:54.763-07:00</updated><category term='reflection'/><category term='visual basic.net'/><category term='funny'/><category term='visual basic'/><category term='vb 6'/><category term='debugging'/><category term='drive'/><category term='instant messenger'/><category term='conversion'/><category term='load'/><category term='key strokes'/><category term='title case'/><category term='DrawItem'/><category term='form'/><category term='toolbox'/><category term='c#'/><category term='regions'/><category term='openfire'/><category term='vertical block selection'/><category term='tips'/><category term='shortcuts'/><category term='keyboard'/><category term='.net'/><category term='string name'/><category term='code'/><category term='strconv'/><category term='comments'/><category term='vb.net'/><category term='story'/><category term='debug'/><category term='Simulate'/><category term='narrowing'/><category term='run-time'/><category term='tricks'/><category term='line numbers'/><category term='turn off'/><category term='visual studio .net 2005'/><category term='xmpp'/><category term='sher'/><category term='eXtensible Messaging and Presence Protocol'/><category term='jabber'/><category term='toggle'/><category term='wildfire'/><category term='shayari'/><category term='information'/><category term='active-x'/><category term='visual basic .net'/><category term='remote'/><category term='code snippets'/><category term='instant messaging'/><category term='loading'/><category term='turn on'/><category term='visual studio .net 2008'/><category term='proper case'/><category term='visual studio'/><category term='DrawMode'/><category term='num lock'/><category term='caps lock'/><category term='vb6'/><category term='visual studio .net'/><category term='activex'/><category term='runtime'/><category term='widening'/><category term='server'/><category term='quotes'/><category term='tab order'/><category term='scroll lock'/><category term='fun'/><category term='love story'/><category term='one liners'/><category term='wmi'/><category term='love'/><category term='gotcha'/><title type='text'>.NET Coders Blog</title><subtitle type='html'>A destination for programming stuff in vb.net, c# and some humor.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-7485556487501541480</id><published>2009-03-03T02:14:00.000-08:00</published><updated>2009-03-03T02:19:01.707-08:00</updated><title type='text'>Display the drop down list of Combo box Explicitly</title><content type='html'>When you set the DropDownStyle property of Combo box, it allows you input the text like text box control. When you type something and press down arrow key then the item from the list which starts from the text entered is selected. Imagine, how helpful it would be if we can see the drop down list while typing. Below is the code which does exactly the same.&lt;br /&gt;&lt;br /&gt;In this code I am displaying the drop down list on GotFocus event of ComboBox.&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;&lt;br /&gt;Imports System.Runtime.InteropServices&lt;br /&gt;&lt;br /&gt;Public Class Form1&lt;br /&gt;&lt;br /&gt;    &lt;DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)&gt; _&lt;br /&gt;    Private Shared Function SendMessage( _&lt;br /&gt;        ByVal hWnd As IntPtr, _&lt;br /&gt;        ByVal Msg As UInteger, _&lt;br /&gt;        ByVal wParam As IntPtr, _&lt;br /&gt;        ByVal lParam As IntPtr) As IntPtr&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;    Public Const CB_SHOWDROPDOWN As Long = &amp;H14F&lt;br /&gt;&lt;br /&gt;    Private Sub Form1_Load( _&lt;br /&gt;        ByVal sender As System.Object, _&lt;br /&gt;        ByVal e As System.EventArgs _&lt;br /&gt;    ) Handles MyBase.Load&lt;br /&gt;&lt;br /&gt;        Dim comboItems() As String&lt;br /&gt;        comboItems = New String() {"the", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog"}&lt;br /&gt;&lt;br /&gt;        With ComboBox1&lt;br /&gt;            .Items.Clear()&lt;br /&gt;            .Items.AddRange(comboItems)&lt;br /&gt;        End With&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub ComboBox1_GotFocus( _&lt;br /&gt;        ByVal sender As Object, _&lt;br /&gt;        ByVal e As System.EventArgs _&lt;br /&gt;    ) Handles ComboBox1.GotFocus&lt;br /&gt;&lt;br /&gt;        Dim iret As IntPtr&lt;br /&gt;        iret = SendMessage(ComboBox1.Handle, CB_SHOWDROPDOWN, New IntPtr(CInt(True)), IntPtr.Zero)&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-7485556487501541480?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/7485556487501541480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=7485556487501541480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/7485556487501541480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/7485556487501541480'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2009/03/display-drop-down-list-of-combo-box.html' title='Display the drop down list of Combo box Explicitly'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-2305391969881334642</id><published>2009-02-17T00:59:00.000-08:00</published><updated>2009-02-17T01:21:51.752-08:00</updated><title type='text'>Tabless Tab Control</title><content type='html'>Did you ever came across situations where you wanted to develop interfaces like in below images.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8WURWnoJXEk/SZp9HN-neaI/AAAAAAAAAEo/PRUHsPZ_cUc/s1600-h/firefox_options.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303689074147031458" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 310px" alt="" src="http://4.bp.blogspot.com/_8WURWnoJXEk/SZp9HN-neaI/AAAAAAAAAEo/PRUHsPZ_cUc/s320/firefox_options.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_8WURWnoJXEk/SZp9aho2NCI/AAAAAAAAAEw/LvLD6yY0PZc/s1600-h/vsnet_options.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303689405841945634" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 230px" alt="" src="http://1.bp.blogspot.com/_8WURWnoJXEk/SZp9aho2NCI/AAAAAAAAAEw/LvLD6yY0PZc/s320/vsnet_options.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In some of my projects I wanted to develop UI like the images displayed below, in some projects I needed a wizard interface where in I just wanted to hide tab headings and display the appropriate tabs when needed.&lt;br /&gt;&lt;br /&gt;When I thought about such interface, the first control that came in mind was obviously Tab Control that comes with .NET by default. But there no property to hide tab headings in Tab Control. After some digging I managed to remove the tab headings but the result was not up to my expectations. So I started to find out alternatives and came across &lt;a href="http://dotnetrix.co.uk/custom.htm"&gt;this &lt;/a&gt;website.&lt;br /&gt;&lt;br /&gt;Author Mick Doherty has posted a custom control which helped me to design the interface that I imagined. He call the control as PanelManager.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_8WURWnoJXEk/SZp9zNhPMzI/AAAAAAAAAE4/33Ee-tif5Xk/s1600-h/panelmanager.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5303689829938049842" style="WIDTH: 320px; CURSOR: hand; HEIGHT: 132px" alt="" src="http://4.bp.blogspot.com/_8WURWnoJXEk/SZp9zNhPMzI/AAAAAAAAAE4/33Ee-tif5Xk/s320/panelmanager.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It works somewhat like Tab Control but doesn't has tab headings. When you drop PanelManager on the form in design mode then it contains two panels by default. Once the PanelManager is dropped on the form you can design the UI just like we do in Tab control. You can then change the current panel through SelectedPanel property from property browser.&lt;br /&gt;&lt;br /&gt;Code of the PanelManager control is given below. Please note that you'll need to add a reference to System.Design.dll. Once you compile the control it becomes available in Toolbox.&lt;br /&gt;&lt;br /&gt;PanelManager Code:&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;Imports System.ComponentModel&lt;br /&gt;Imports System.Drawing.Design&lt;br /&gt;Imports System.Globalization&lt;br /&gt;Imports System.Security.Permissions&lt;br /&gt;Imports System.Runtime.InteropServices&lt;br /&gt;Imports System.ComponentModel.Design&lt;br /&gt;&lt;br /&gt;Namespace Controls&lt;br /&gt;&lt;br /&gt;    &lt;defaultproperty("selectedpanel"),&gt; _&lt;br /&gt;    Public Class PanelManager&lt;br /&gt;        Inherits System.Windows.Forms.Control&lt;br /&gt;&lt;br /&gt;#Region " Windows Form Designer generated code "&lt;br /&gt;&lt;br /&gt;        Public Sub New()&lt;br /&gt;            MyBase.New()&lt;br /&gt;&lt;br /&gt;            'This call is required by the Windows Form Designer.&lt;br /&gt;            InitializeComponent()&lt;br /&gt;&lt;br /&gt;            'Add any initialization after the InitializeComponent() call&lt;br /&gt;&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        'UserControl1 overrides dispose to clean up the component list.&lt;br /&gt;        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;            If disposing Then&lt;br /&gt;                If Not (components Is Nothing) Then&lt;br /&gt;                    components.Dispose()&lt;br /&gt;                End If&lt;br /&gt;            End If&lt;br /&gt;            MyBase.Dispose(disposing)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        'Required by the Windows Form Designer&lt;br /&gt;        Private components As System.ComponentModel.IContainer&lt;br /&gt;&lt;br /&gt;        'NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;        'It can be modified using the Windows Form Designer.&lt;br /&gt;        'Do not modify it using the code editor.&lt;br /&gt;        &lt;system.diagnostics.debuggerstepthrough()&gt; Private Sub InitializeComponent()&lt;br /&gt;            components = New System.ComponentModel.Container&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;#End Region&lt;br /&gt;&lt;br /&gt;        Private m_SelectedPanel As Controls.ManagedPanel&lt;br /&gt;&lt;br /&gt;        Public Event SelectedIndexChanged As EventHandler&lt;br /&gt;&lt;br /&gt;        'ManagedPanels&lt;br /&gt;        &lt;editor(gettype(editors.managedpanelcollectioneditor),&gt; _&lt;br /&gt;        Public ReadOnly Property ManagedPanels() As ControlCollection&lt;br /&gt;            Get&lt;br /&gt;                Return MyBase.Controls&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        'SelectedPanel&lt;br /&gt;        &lt;typeconverter(gettype(typeconverters.selectedpanelconverter))&gt; _&lt;br /&gt;        Public Property SelectedPanel() As Controls.ManagedPanel&lt;br /&gt;            Get&lt;br /&gt;                Return m_SelectedPanel&lt;br /&gt;            End Get&lt;br /&gt;            Set(ByVal Value As Controls.ManagedPanel)&lt;br /&gt;                If m_SelectedPanel Is Value Then Return&lt;br /&gt;                m_SelectedPanel = Value&lt;br /&gt;                OnSelectedPanelChanged(EventArgs.Empty)&lt;br /&gt;            End Set&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        'SelectedIndex&lt;br /&gt;        &lt;browsable(false)&gt; _&lt;br /&gt;        Public Property SelectedIndex() As Int32&lt;br /&gt;            Get&lt;br /&gt;                Return Me.ManagedPanels.IndexOf(CType(Me.SelectedPanel, Controls.ManagedPanel))&lt;br /&gt;            End Get&lt;br /&gt;            Set(ByVal Value As Int32)&lt;br /&gt;                If Value = -1 Then&lt;br /&gt;                    Me.SelectedPanel = Nothing&lt;br /&gt;                Else&lt;br /&gt;                    Me.SelectedPanel = DirectCast(Me.ManagedPanels(Value), ManagedPanel)&lt;br /&gt;                End If&lt;br /&gt;            End Set&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        'DefaultSize&lt;br /&gt;        Protected Overrides ReadOnly Property DefaultSize() As System.Drawing.Size&lt;br /&gt;            Get&lt;br /&gt;                Return New Size(200, 100)&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Protected Overridable Sub OnSelectedPanelChanged(ByVal e As EventArgs)&lt;br /&gt;            Static oldSelection As ManagedPanel = Nothing&lt;br /&gt;            If Not (oldSelection Is Nothing) Then&lt;br /&gt;                oldSelection.Visible = False&lt;br /&gt;            End If&lt;br /&gt;            If Not (m_SelectedPanel Is Nothing) Then&lt;br /&gt;                CType(m_SelectedPanel, Controls.ManagedPanel).Visible = True&lt;br /&gt;            End If&lt;br /&gt;            Dim tabChanged As Boolean&lt;br /&gt;            If m_SelectedPanel Is Nothing Then&lt;br /&gt;                tabChanged = Not (oldSelection Is Nothing)&lt;br /&gt;            Else&lt;br /&gt;                tabChanged = Not (m_SelectedPanel.Equals(oldSelection))&lt;br /&gt;            End If&lt;br /&gt;            If tabChanged And Me.Created Then&lt;br /&gt;                RaiseEvent SelectedIndexChanged(Me, EventArgs.Empty)&lt;br /&gt;            End If&lt;br /&gt;            oldSelection = CType(m_SelectedPanel, Controls.ManagedPanel)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnControlAdded(ByVal e As System.Windows.Forms.ControlEventArgs)&lt;br /&gt;            If Not (TypeOf e.Control Is Controls.ManagedPanel) Then&lt;br /&gt;                Throw New ArgumentException("Only Mangel.Controls.ManagedPanels can be added to a Mangel.Controls.PanelManger.")&lt;br /&gt;            End If&lt;br /&gt;            If Not (Me.SelectedPanel Is Nothing) Then&lt;br /&gt;                CType(Me.SelectedPanel, Controls.ManagedPanel).Visible = False&lt;br /&gt;            End If&lt;br /&gt;            Me.SelectedPanel = DirectCast(e.Control, Controls.ManagedPanel)&lt;br /&gt;            e.Control.Visible = True&lt;br /&gt;            MyBase.OnControlAdded(e)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnControlRemoved(ByVal e As System.Windows.Forms.ControlEventArgs)&lt;br /&gt;            If Not (TypeOf e.Control Is Controls.ManagedPanel) Then Return&lt;br /&gt;            If Me.ManagedPanels.Count &gt; 0 Then&lt;br /&gt;                Me.SelectedIndex = 0&lt;br /&gt;            Else&lt;br /&gt;                Me.SelectedPanel = Nothing&lt;br /&gt;            End If&lt;br /&gt;            MyBase.OnControlRemoved(e)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;    End Class&lt;br /&gt;&lt;br /&gt;    &lt;designer(gettype(design.managedpaneldesigner)),&gt; _&lt;br /&gt;    Public Class ManagedPanel&lt;br /&gt;        Inherits System.Windows.Forms.ScrollableControl&lt;br /&gt;&lt;br /&gt;        Public Sub New()&lt;br /&gt;            MyBase.Dock = DockStyle.Fill&lt;br /&gt;            setstyle(ControlStyles.ResizeRedraw, True)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        &lt;browsable(false),&gt; _&lt;br /&gt;        Public Overrides Property Dock() As System.Windows.Forms.DockStyle&lt;br /&gt;            Get&lt;br /&gt;                Return MyBase.Dock&lt;br /&gt;            End Get&lt;br /&gt;            Set(ByVal value As System.Windows.Forms.DockStyle)&lt;br /&gt;                MyBase.Dock = DockStyle.Fill&lt;br /&gt;            End Set&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        &lt;browsable(false),&gt; _&lt;br /&gt;        Public Overrides Property Anchor() As AnchorStyles&lt;br /&gt;            Get&lt;br /&gt;                Return AnchorStyles.None&lt;br /&gt;            End Get&lt;br /&gt;            Set(ByVal value As AnchorStyles)&lt;br /&gt;                MyBase.Anchor = AnchorStyles.None&lt;br /&gt;            End Set&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnLocationChanged(ByVal e As System.EventArgs)&lt;br /&gt;            MyBase.OnLocationChanged(e)&lt;br /&gt;            MyBase.Location = Point.Empty&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnSizeChanged(ByVal e As System.EventArgs)&lt;br /&gt;            MyBase.OnSizeChanged(e)&lt;br /&gt;            If Me.Parent Is Nothing Then&lt;br /&gt;                Me.Size = Size.Empty&lt;br /&gt;            Else&lt;br /&gt;                Me.Size = Me.Parent.ClientSize&lt;br /&gt;            End If&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnParentChanged(ByVal e As System.EventArgs)&lt;br /&gt;            If Not (TypeOf Me.Parent Is Controls.PanelManager) AndAlso Not (Me.Parent Is Nothing) Then&lt;br /&gt;                Throw New ArgumentException("Managed Panels may only be added to a Panel Manager.")&lt;br /&gt;            End If&lt;br /&gt;            MyBase.OnParentChanged(e)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;    End Class&lt;br /&gt;&lt;br /&gt;End Namespace&lt;br /&gt;&lt;br /&gt;Namespace Design&lt;br /&gt;&lt;br /&gt;    Public Class PanelManagerDesigner&lt;br /&gt;        Inherits System.Windows.Forms.Design.ParentControlDesigner&lt;br /&gt;&lt;br /&gt;        Private m_verbs As DesignerVerbCollection = New DesignerVerbCollection&lt;br /&gt;        Private m_DesignerHost As IDesignerHost&lt;br /&gt;        Private m_SelectionService As ISelectionService&lt;br /&gt;&lt;br /&gt;        Private ReadOnly Property HostControl() As Controls.PanelManager&lt;br /&gt;            Get&lt;br /&gt;                Return DirectCast(Me.Control, Controls.PanelManager)&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Public Sub New()&lt;br /&gt;            MyBase.New()&lt;br /&gt;&lt;br /&gt;            Dim verb1 As New DesignerVerb("Add MangedPanel", AddressOf OnAddPanel)&lt;br /&gt;            Dim verb2 As New DesignerVerb("Remove ManagedPanel", AddressOf OnRemovePanel)&lt;br /&gt;            m_verbs.AddRange(New DesignerVerb() {verb1, verb2})&lt;br /&gt;&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub OnPaintAdornments(ByVal pe As System.Windows.Forms.PaintEventArgs)&lt;br /&gt;            'Don't want DrawGrid Dots.&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Public Overrides ReadOnly Property Verbs() As System.ComponentModel.Design.DesignerVerbCollection&lt;br /&gt;            Get&lt;br /&gt;                If m_verbs.Count = 2 Then&lt;br /&gt;                    If HostControl.ManagedPanels.Count &gt; 0 Then&lt;br /&gt;                        m_verbs(1).Enabled = True&lt;br /&gt;                    Else&lt;br /&gt;                        m_verbs(1).Enabled = False&lt;br /&gt;                    End If&lt;br /&gt;                End If&lt;br /&gt;                Return m_verbs&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Public ReadOnly Property DesignerHost() As IDesignerHost&lt;br /&gt;            Get&lt;br /&gt;                If m_DesignerHost Is Nothing Then&lt;br /&gt;                    m_DesignerHost = DirectCast(GetService(GetType(IDesignerHost)), IDesignerHost)&lt;br /&gt;                End If&lt;br /&gt;                Return m_DesignerHost&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Public ReadOnly Property SelectionService() As ISelectionService&lt;br /&gt;            Get&lt;br /&gt;                If m_SelectionService Is Nothing Then&lt;br /&gt;                    m_SelectionService = DirectCast(getservice(GetType(ISelectionService)), ISelectionService)&lt;br /&gt;                End If&lt;br /&gt;                Return m_SelectionService&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Private Sub OnAddPanel(ByVal sender As Object, ByVal e As EventArgs)&lt;br /&gt;&lt;br /&gt;            Dim oldManagedPanels As Control.ControlCollection = HostControl.Controls&lt;br /&gt;&lt;br /&gt;            RaiseComponentChanging(TypeDescriptor.GetProperties(HostControl)("ManagedPanels"))&lt;br /&gt;&lt;br /&gt;            Dim P As Controls.ManagedPanel = DirectCast(DesignerHost.CreateComponent(GetType(Controls.ManagedPanel)), Controls.ManagedPanel)&lt;br /&gt;            P.Text = P.Name&lt;br /&gt;            HostControl.ManagedPanels.Add(P)&lt;br /&gt;&lt;br /&gt;            RaiseComponentChanged(TypeDescriptor.GetProperties(HostControl)("ManagedPanels"), oldManagedPanels, HostControl.ManagedPanels)&lt;br /&gt;            HostControl.SelectedPanel = P&lt;br /&gt;&lt;br /&gt;            SetVerbs()&lt;br /&gt;&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Private Sub OnRemovePanel(ByVal sender As Object, ByVal e As EventArgs)&lt;br /&gt;&lt;br /&gt;            Dim oldManagedPanels As Control.ControlCollection = HostControl.Controls&lt;br /&gt;&lt;br /&gt;            If HostControl.SelectedIndex &lt; enabled =" False" enabled =" True" panelmanager =" DirectCast(Me.Control," text =" pm.ManagedPanels(0).Name" text =" pm.ManagedPanels(1).Name" selectedindex =" 0" designerverbcollection =" New" m_selectionservice =" DirectCast(getservice(GetType(ISelectionService)),"&gt;= 0.5 Then&lt;br /&gt;                penColor = ControlPaint.Dark(Me.Control.BackColor)&lt;br /&gt;            Else&lt;br /&gt;                penColor = Color.White&lt;br /&gt;            End If&lt;br /&gt;            Dim dashedPen As New Pen(penColor)&lt;br /&gt;            Dim borderRectangle As Rectangle = Me.Control.ClientRectangle&lt;br /&gt;            borderRectangle.Width -= 1&lt;br /&gt;            borderRectangle.Height -= 1&lt;br /&gt;            dashedPen.DashStyle = Drawing2D.DashStyle.Dash&lt;br /&gt;            pe.Graphics.DrawRectangle(dashedPen, borderRectangle)&lt;br /&gt;            dashedPen.Dispose()&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Public Overrides ReadOnly Property Verbs() As System.ComponentModel.Design.DesignerVerbCollection&lt;br /&gt;            Get&lt;br /&gt;                Return m_verbs&lt;br /&gt;            End Get&lt;br /&gt;        End Property&lt;br /&gt;&lt;br /&gt;        Protected Overrides Sub PostFilterProperties(ByVal properties As System.Collections.IDictionary)&lt;br /&gt;            properties.Remove("Anchor")&lt;br /&gt;            properties.Remove("TabStop")&lt;br /&gt;            properties.Remove("TabIndex")&lt;br /&gt;            MyBase.PostFilterProperties(properties)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Public Overrides Sub OnSetComponentDefaults()&lt;br /&gt;            MyBase.OnSetComponentDefaults()&lt;br /&gt;            Me.Control.Visible = True&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;    End Class&lt;br /&gt;&lt;br /&gt;End Namespace&lt;br /&gt;&lt;br /&gt;Namespace Editors&lt;br /&gt;&lt;br /&gt;    Public Class ManagedPanelCollectionEditor&lt;br /&gt;        Inherits System.ComponentModel.Design.CollectionEditor&lt;br /&gt;&lt;br /&gt;        Public Sub New(ByVal type As Type)&lt;br /&gt;            MyBase.New(type)&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Function CreateCollectionItemType() As System.Type&lt;br /&gt;            Return GetType(Controls.ManagedPanel)&lt;br /&gt;        End Function&lt;br /&gt;&lt;br /&gt;    End Class&lt;br /&gt;&lt;br /&gt;End Namespace&lt;br /&gt;&lt;br /&gt;Namespace TypeConverters&lt;br /&gt;&lt;br /&gt;    Public Class SelectedPanelConverter&lt;br /&gt;        Inherits ReferenceConverter&lt;br /&gt;&lt;br /&gt;        Public Sub New()&lt;br /&gt;            MyBase.New(GetType(Controls.ManagedPanel))&lt;br /&gt;        End Sub&lt;br /&gt;&lt;br /&gt;        Protected Overrides Function IsValueAllowed(ByVal context As System.ComponentModel.ITypeDescriptorContext, ByVal value As Object) As Boolean&lt;br /&gt;            If Not (context Is Nothing) Then&lt;br /&gt;                Dim pm As Controls.PanelManager = DirectCast(context.Instance, Controls.PanelManager)&lt;br /&gt;                Return pm.ManagedPanels.Contains(CType(value, Controls.ManagedPanel))&lt;br /&gt;            End If&lt;br /&gt;            Return False&lt;br /&gt;        End Function&lt;br /&gt;&lt;br /&gt;    End Class&lt;br /&gt;&lt;br /&gt;End Namespace&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-2305391969881334642?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/2305391969881334642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=2305391969881334642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/2305391969881334642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/2305391969881334642'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2009/02/tabless-tab-control.html' title='Tabless Tab Control'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8WURWnoJXEk/SZp9HN-neaI/AAAAAAAAAEo/PRUHsPZ_cUc/s72-c/firefox_options.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-3065772322075034841</id><published>2009-01-29T02:02:00.000-08:00</published><updated>2009-02-06T00:50:29.381-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='proper case'/><category scheme='http://www.blogger.com/atom/ns#' term='strconv'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='title case'/><title type='text'>Proper Case Or Title Case</title><content type='html'>In VB6 there was a function called StrConv which we were using to convert a string to Proper Case or Title Case, but there is no direct equivalent in .NET. Yes, we can still use this function in vb.net but it's not a .NET way. I mean, StrConv cannot be used in C# directly. To use it in C# we need to add the reference of Microsoft.VisualBasic.Compatibility.dll. And people will not like to do so just to use a single function of that library.&lt;br /&gt;&lt;br /&gt;Some people write their own function to achieve the functionality. They first convert all the letters of the string to lowercase and then loop through all the words and capitalize the first letter of each word of the string. I am not in favor of this approach. I don't like to write long code just to achieve a small functionality. I always look for shortcuts.&lt;br /&gt;&lt;br /&gt;Though there is not direct equivalent for StrConv in .NET, .NET provides us System.Globalization.TextInfo class to overcome the problem. We can use ToTitleCase function of TextInfo class to convert the string in proper case.&lt;br /&gt;&lt;br /&gt;I have written a small function to do the work.&lt;br /&gt;&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;Public Function ToProperCase( _&lt;br /&gt;    ByVal source As String _&lt;br /&gt;) As String&lt;br /&gt;&lt;br /&gt;    source = source.ToLower&lt;br /&gt;    Return Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(source)&lt;br /&gt;End Function&lt;/pre&gt;Usage:&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;Private Sub Button1_Click( _&lt;br /&gt;   ByVal sender As System.Object, _&lt;br /&gt;   ByVal e As System.EventArgs _&lt;br /&gt;) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;   MessageBox.Show(ToProperCase("HELLO WORLD!"))&lt;br /&gt;End Sub&lt;/pre&gt;If you want to use ToProperCase() function like this...&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;&lt;br /&gt;Dim str As String = "HELLO WORLD!"&lt;br /&gt;str = str.ToProperCase()&lt;/pre&gt;...then you need to use a concept called Extension Methods. Here it goes:&lt;br /&gt;&lt;br /&gt;&lt;pre class="vb.net" name="code"&gt;Module ExtensionMethods&lt;br /&gt;&lt;br /&gt;    &lt;System.Runtime.CompilerServices.Extension()&gt; _&lt;br /&gt;    Public Function ToProperCase( _&lt;br /&gt;        ByVal source As String _&lt;br /&gt;    ) As String&lt;br /&gt;&lt;br /&gt;        source = source.ToLower&lt;br /&gt;        Return Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(source)&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;End Module'&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-3065772322075034841?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/3065772322075034841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=3065772322075034841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/3065772322075034841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/3065772322075034841'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2009/01/proper-case-or-title-case.html' title='Proper Case Or Title Case'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5313534499240675312</id><published>2009-01-21T23:13:00.000-08:00</published><updated>2009-01-22T01:49:37.995-08:00</updated><title type='text'>How To Trap TAB Key</title><content type='html'>Have you ever faced any situation wherein you wanted to trap the TAB key and do some stuff. Lets say for example, you want to trap the TAB key on a Textbox control and want to process some logic. TAB key cannot be trapped in the KeyrPress event. TAB key can be trapped with ProcessCmdKey and ProcessTabKey methods. But in this case I prefer ProcessCmdKey. In ProcessCmdKey method, we can cancel the processing of TAB key but that is not the case with ProcessTabKey method. It just traps the TAB key, it doesn't gives you any control over TAB key. &lt;p&gt;&lt;/p&gt;&lt;p&gt;In one of my Interop project, I was using True DBGrid control of ComponentOne. In that project, the grid was throwing an exception in some scenarios when TAB key is pressed. The exception was thrown by the control itself, so I didn't had any control on it. That's why I chose ProcessCmdKey to trap the TAB key. I trapped the key and manually set the focus to the next control. This is how ProcessCmdKey came to my rescue. I am posting the code below that I used in my project.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;''' &lt;summary&gt;&lt;br /&gt;''' Process the windows messages manually.&lt;br /&gt;''' Trap the TAB key pressed on grid and suppress it.&lt;br /&gt;''' Pressing the TAB key in FilterBar of C1 True DBGrid causes exception.&lt;br /&gt;''' &lt;/summary&gt;&lt;br /&gt;''' &lt;param name="msg"&gt;&lt;/param&gt;&lt;br /&gt;''' &lt;param name="keyData"&gt;&lt;/param&gt;&lt;br /&gt;''' &lt;returns&gt;&lt;/returns&gt;&lt;br /&gt;''' &lt;remarks&gt;&lt;/remarks&gt;&lt;br /&gt;Protected Overrides Function ProcessCmdKey( _&lt;br /&gt;   ByRef msg As Message, ByVal keyData As System.Windows.Forms.Keys _&lt;br /&gt;) As Boolean&lt;br /&gt;&lt;br /&gt;   ' Declare a variable of type Keys enumeration named keyPressed.&lt;br /&gt;   ' Cast the msg's WParam as a KeyEnum value and assign it to the&lt;br /&gt;   ' keyPressed variable.&lt;br /&gt;   Dim keyPressed As Keys = CType(msg.WParam.ToInt32(), Keys)&lt;br /&gt;   Dim ctrlType As String = "C1.Win.C1TrueDBGrid.GridEditor"&lt;br /&gt;&lt;br /&gt;   ' Process keyPressed.&lt;br /&gt;   Select Case keyPressed&lt;br /&gt;       Case Keys.Tab&lt;br /&gt;          If Me.ActiveControl.ToString.StartsWith(ctrlType) Then&lt;br /&gt;             If grdSamples.EditActive = False Then&lt;br /&gt;                txtInstrument.Focus()&lt;br /&gt;             End If&lt;br /&gt;             ' Cancel the TAB key message&lt;br /&gt;             Return True&lt;br /&gt;         &lt;br /&gt;          ' You can also trap the TAB key for button or TextBox&lt;br /&gt;          ElseIf Me.ActiveControl.Name = "btnClose" Then&lt;br /&gt;             grdSamples.Focus()&lt;br /&gt;             ' Cancel the TAB key message&lt;br /&gt;             Return True&lt;br /&gt;          End If&lt;br /&gt;       Case Else&lt;br /&gt;          ' Return the key message so it can be processed by this control.&lt;br /&gt;          Return MyBase.ProcessCmdKey(msg, keyData)&lt;br /&gt;   End Select&lt;br /&gt;End Function&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5313534499240675312?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5313534499240675312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5313534499240675312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5313534499240675312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5313534499240675312'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2009/01/how-to-trap-tab-key.html' title='How To Trap TAB Key'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-1919349365742462646</id><published>2008-10-14T02:05:00.000-07:00</published><updated>2008-11-03T00:52:58.178-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='num lock'/><category scheme='http://www.blogger.com/atom/ns#' term='turn off'/><category scheme='http://www.blogger.com/atom/ns#' term='toggle'/><category scheme='http://www.blogger.com/atom/ns#' term='Simulate'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='caps lock'/><category scheme='http://www.blogger.com/atom/ns#' term='scroll lock'/><category scheme='http://www.blogger.com/atom/ns#' term='turn on'/><category scheme='http://www.blogger.com/atom/ns#' term='key strokes'/><title type='text'>Simulate key strokes like CAPS LOCK, NUM LOCK, SCROLL LOCK, etc</title><content type='html'>There are situation when we need to turn on/off or check the status of CAPS LOCK, NUM LOCK and SCROLL LOCK keys. The simplest way to accomplish this is to use SendKeys, but it has it's own disadvantages. So I am using keybd_event API instead. If offers two advantages over SendKeys. First, it doesn't cause the NUM LOCK light to flicker unless you specifically press the NUM LOCK key. Secondly, it's possible to press and hold a key. So it does like this:&lt;pre name="code" class="vb.net"&gt;Imports System.Runtime.InteropServices&lt;br /&gt;&lt;br /&gt;Public Class Form2&lt;br /&gt;&lt;br /&gt; Private Declare Sub keybd_event Lib "user32" ( _&lt;br /&gt;   ByVal bVk As Byte, _&lt;br /&gt;   ByVal bScan As Byte, _&lt;br /&gt;   ByVal dwFlags As Integer, _&lt;br /&gt;   ByVal dwExtraInfo As Integer _&lt;br /&gt; )&lt;br /&gt;&lt;br /&gt; Private Const VK_CAPITAL As Integer = 20&lt;br /&gt; Private Const VK_NUMLOCK As Integer = 144&lt;br /&gt; Private Const VK_SCROLL As Integer = 145&lt;br /&gt; Private Const KEYEVENTF_EXTENDEDKEY As Integer = &amp;amp;H1&lt;br /&gt; Private Const KEYEVENTF_KEYUP As Integer = &amp;amp;H2&lt;br /&gt;&lt;br /&gt; Private Sub Button1_Click( _&lt;br /&gt;     ByVal sender As System.Object, _&lt;br /&gt;     ByVal e As System.EventArgs _&lt;br /&gt; ) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;   ' Toggle CapsLock&lt;br /&gt;&lt;br /&gt;   ' Simulate the Key Press&lt;br /&gt;   keybd_event(VK_CAPITAL, &amp;amp;H45, KEYEVENTF_EXTENDEDKEY Or 0, 0)&lt;br /&gt;&lt;br /&gt;   ' Simulate the Key Release&lt;br /&gt;   keybd_event(VK_CAPITAL, &amp;amp;H45, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0)&lt;br /&gt; End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;To toggle NUM LOCK and SCROLL LOCK keys, you just need to replace VK_CAPITAL with appropriate constant variables of NUM LOCK and SCROLL LOCK keys.&lt;br /&gt;&lt;br /&gt;Actually speaking, above code can be used to simulate any key. We just need to replace VK_ constants with the appropriate variables of desired keys.&lt;br /&gt;&lt;br /&gt;Here I am listing down the virtual keys standard set for your reference.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;VK_LBUTTON = 1&lt;br /&gt;VK_RBUTTON = 2&lt;br /&gt;VK_CANCEL = 3&lt;br /&gt;VK_MBUTTON = 4&lt;br /&gt;VK_BACK = 8&lt;br /&gt;VK_TAB = 9&lt;br /&gt;VK_CLEAR = 12&lt;br /&gt;VK_RETURN = 13&lt;br /&gt;VK_SHIFT = &amp;H10&lt;br /&gt;VK_CONTROL = 17&lt;br /&gt;VK_MENU = 18&lt;br /&gt;VK_PAUSE = 19&lt;br /&gt;VK_CAPITAL = 20&lt;br /&gt;VK_ESCAPE = 27&lt;br /&gt;VK_SPACE = &amp;H20&lt;br /&gt;VK_PRIOR = 33&lt;br /&gt;VK_NEXT = 34&lt;br /&gt;VK_END = 35&lt;br /&gt;VK_HOME = 36&lt;br /&gt;VK_LEFT = 37&lt;br /&gt;VK_UP = 38&lt;br /&gt;VK_RIGHT = 39&lt;br /&gt;VK_DOWN = 40&lt;br /&gt;VK_SELECT = 41&lt;br /&gt;VK_PRINT = 42&lt;br /&gt;VK_EXECUTE = 43&lt;br /&gt;VK_SNAPSHOT = 44&lt;br /&gt;VK_INSERT = 45&lt;br /&gt;VK_DELETE = 46&lt;br /&gt;VK_HELP = 47&lt;br /&gt;VK_LWIN = 91&lt;br /&gt;VK_RWIN = 92&lt;br /&gt;VK_APPS = 93&lt;br /&gt;VK_NUMPAD0 = 96&lt;br /&gt;VK_NUMPAD1 = 97&lt;br /&gt;VK_NUMPAD2 = 98&lt;br /&gt;VK_NUMPAD3 = 99&lt;br /&gt;VK_NUMPAD4 = 100&lt;br /&gt;VK_NUMPAD5 = 101&lt;br /&gt;VK_NUMPAD6 = 102&lt;br /&gt;VK_NUMPAD7 = 103&lt;br /&gt;VK_NUMPAD8 = 104&lt;br /&gt;VK_NUMPAD9 = 105&lt;br /&gt;VK_MULTIPLY = 106&lt;br /&gt;VK_ADD = 107&lt;br /&gt;VK_SEPARATOR = 108&lt;br /&gt;VK_SUBTRACT = 109&lt;br /&gt;VK_DECIMAL = 110&lt;br /&gt;VK_DIVIDE = 111&lt;br /&gt;VK_F1 = 112&lt;br /&gt;VK_F2 = 113&lt;br /&gt;VK_F3 = 114&lt;br /&gt;VK_F4 = 115&lt;br /&gt;VK_F5 = 116&lt;br /&gt;VK_F6 = 117&lt;br /&gt;VK_F7 = 118&lt;br /&gt;VK_F8 = 119&lt;br /&gt;VK_F9 = 120&lt;br /&gt;VK_F10 = 121&lt;br /&gt;VK_F11 = 122&lt;br /&gt;VK_F12 = 123&lt;br /&gt;VK_F13 = 124&lt;br /&gt;VK_F14 = 125&lt;br /&gt;VK_F15 = 126&lt;br /&gt;VK_F16 = 127&lt;br /&gt;VK_F17 = 128&lt;br /&gt;VK_F18 = 129&lt;br /&gt;VK_F19 = 130&lt;br /&gt;VK_F20 = 131&lt;br /&gt;VK_F21 = 132&lt;br /&gt;VK_F22 = 133&lt;br /&gt;VK_F23 = 134&lt;br /&gt;VK_F24 = 135&lt;br /&gt;VK_NUMLOCK = 144&lt;br /&gt;VK_SCROLL = 145&lt;br /&gt;VK_LSHIFT = 160&lt;br /&gt;VK_RSHIFT = 161&lt;br /&gt;VK_LCONTROL = 162&lt;br /&gt;VK_RCONTROL = 163&lt;br /&gt;VK_LMENU = 164&lt;br /&gt;VK_RMENU = 165&lt;br /&gt;VK_PROCESSKEY = 229&lt;br /&gt;VK_ATTN = 246&lt;br /&gt;VK_CRSEL = 247&lt;br /&gt;VK_EXSEL = 248&lt;br /&gt;VK_EREOF = 249&lt;br /&gt;VK_PLAY = 250&lt;br /&gt;VK_ZOOM = 251&lt;br /&gt;VK_NONAME = 252&lt;br /&gt;VK_PA1 = 253&lt;br /&gt;VK_OEM_CLEAR = 254&lt;br /&gt;&lt;br /&gt;VK_0 thru VK_9 are the same as ASCII '0' thru '9' (&amp;H30 - &amp;H39)&lt;br /&gt;VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (&amp;H41 - &amp;H5A)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-1919349365742462646?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/1919349365742462646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=1919349365742462646' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/1919349365742462646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/1919349365742462646'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/10/turn-onoff-caps-lock-key.html' title='Simulate key strokes like CAPS LOCK, NUM LOCK, SCROLL LOCK, etc'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5418035948547526884</id><published>2008-10-13T04:49:00.001-07:00</published><updated>2008-10-13T21:47:40.741-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='remote'/><category scheme='http://www.blogger.com/atom/ns#' term='information'/><category scheme='http://www.blogger.com/atom/ns#' term='wmi'/><category scheme='http://www.blogger.com/atom/ns#' term='drive'/><title type='text'>Get drive information of Remote Server using WMI</title><content type='html'>To use this code you need to add reference to System.Management namespace.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;Imports System.Management&lt;br /&gt;&lt;br /&gt;Public Class Form1&lt;br /&gt;&lt;br /&gt;  Dim strFreespace As String&lt;br /&gt;  Dim D_Freespace As Double&lt;br /&gt;  Dim strTotalspace As String&lt;br /&gt;  Dim D_Totalspace As Double&lt;br /&gt;&lt;br /&gt;  Private Sub Button1_Click( _&lt;br /&gt;    ByVal sender As System.Object, _&lt;br /&gt;    ByVal e As System.EventArgs _&lt;br /&gt;  ) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;    CalculateFreeUsed("wabdkp59")&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;  Private Sub CalculateFreeUsed(ByVal srvname As String)&lt;br /&gt;    Dim msg As String&lt;br /&gt;&lt;br /&gt;    Try&lt;br /&gt;      ' Connection credentials to the remote computer -&lt;br /&gt;      ' not needed if the logged in account has access&lt;br /&gt;      Dim oConn As New ConnectionOptions()&lt;br /&gt;&lt;br /&gt;      oConn.Username = "mum-users\dsakpal"&lt;br /&gt;      oConn.Password = "*****"&lt;br /&gt;      Dim strNameSpace As String = "\\"&lt;br /&gt;&lt;br /&gt;      If srvname &lt;&gt; "" Then&lt;br /&gt;        strNameSpace += srvname&lt;br /&gt;      Else&lt;br /&gt;        strNameSpace += "."&lt;br /&gt;      End If&lt;br /&gt;&lt;br /&gt;      strNameSpace += "\root\cimv2"&lt;br /&gt;&lt;br /&gt;      Dim oMs As New System.Management.ManagementScope(strNameSpace, oConn)&lt;br /&gt;&lt;br /&gt;      'get Fixed disk stats&lt;br /&gt;      Dim oQuery As New System.Management.ObjectQuery("select FreeSpace,Size,Name from Win32_LogicalDisk where DriveType=3")&lt;br /&gt;&lt;br /&gt;      'Execute the query&lt;br /&gt;      Dim oSearcher As New ManagementObjectSearcher(oMs, oQuery)&lt;br /&gt;&lt;br /&gt;      'Get the results&lt;br /&gt;      Dim oReturnCollection As ManagementObjectCollection = oSearcher.[Get]()&lt;br /&gt;&lt;br /&gt;      'loop through found drives and write out info&lt;br /&gt;      For Each oReturn As ManagementObject In oReturnCollection&lt;br /&gt;        ' Free Space in bytes&lt;br /&gt;        D_Freespace = System.Convert.ToDouble(oReturn("FreeSpace"))&lt;br /&gt;        ' Free Space in GB&lt;br /&gt;        strFreespace = (((D_Freespace / 1024) / 1024) / 1024).ToString("0.00")&lt;br /&gt;        ' Size in bytes&lt;br /&gt;        D_Totalspace = System.Convert.ToDouble(oReturn("Size"))&lt;br /&gt;        ' Size in GB&lt;br /&gt;        strTotalspace = (((D_Totalspace / 1024) / 1024) / 1024).ToString("0.00")&lt;br /&gt;&lt;br /&gt;        msg = "Drive: {0}" &amp; ControlChars.NewLine&lt;br /&gt;        msg = msg &amp; "Total space: {1} GB" &amp; ControlChars.NewLine&lt;br /&gt;        msg = msg &amp; "Free Space: {2} GB" &amp; ControlChars.NewLine&lt;br /&gt;        msg = String.Format(msg, oReturn("Name").ToString(), strTotalspace, strFreespace)&lt;br /&gt;        MessageBox.Show(msg)&lt;br /&gt;      Next&lt;br /&gt;    Catch&lt;br /&gt;      msg = "Failed to obtain Server Information."&lt;br /&gt;      MessageBox.Show(msg, "Server Error", MessageBoxButtons.OK, MessageBoxIcon.[Error])&lt;br /&gt;    End Try&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5418035948547526884?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5418035948547526884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5418035948547526884' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5418035948547526884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5418035948547526884'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/10/get-drive-information-of-remote-server.html' title='Get drive information of Remote Server using WMI'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-591664686204475235</id><published>2008-10-06T04:47:00.000-07:00</published><updated>2008-10-06T22:31:21.194-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DrawMode'/><category scheme='http://www.blogger.com/atom/ns#' term='DrawItem'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic .net'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>Call DrawItem from another sub</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;In this post I am going to tell you how to call DrawItem from another function, sub or procedure.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What is DrawItem&lt;/span&gt;&lt;br /&gt;DrawItem is a event which occurs when a visual aspect of an owner-drawn control changes. The DrawItem event is fired only if the DrawMode property is set to OwnerDrawFixed or OwnerDrawVariable. In this article I am going to use this event to change the the ForeColor of Listbox items.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Simple Example&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;VB.NET Version:&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre name="code" class="vb.net"&gt;Public Class Form1&lt;br /&gt;&lt;br /&gt;Private Sub Form1_Load( _&lt;br /&gt;ByVal sender As System.Object, _&lt;br /&gt;ByVal e As System.EventArgs _&lt;br /&gt;) Handles MyBase.Load&lt;br /&gt;&lt;br /&gt;ListBox1.DrawMode = DrawMode.OwnerDrawFixed&lt;br /&gt;ListBox1.Items.Add("Red")&lt;br /&gt;ListBox1.Items.Add("Green")&lt;br /&gt;ListBox1.Items.Add("Blue")&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub ListBox1_DrawItem( _&lt;br /&gt;ByVal sender As Object, _&lt;br /&gt;ByVal e As System.Windows.Forms.DrawItemEventArgs _&lt;br /&gt;) Handles ListBox1.DrawItem&lt;br /&gt;&lt;br /&gt;Dim myFont As Font&lt;br /&gt;If e.Index &gt; -1 Then&lt;br /&gt;  e.DrawBackground()&lt;br /&gt;  myFont = New Font(ListBox1.Font.Name, ListBox1.Font.Size, ListBox1.Font.Style)&lt;br /&gt;  If ListBox1.Items(e.Index).ToString = "Red" Then&lt;br /&gt;    e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, New SolidBrush(Color.Red), e.Bounds)&lt;br /&gt;  ElseIf ListBox1.Items(e.Index).ToString = "Green" Then&lt;br /&gt;    e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, New SolidBrush(Color.Green), e.Bounds)&lt;br /&gt;  ElseIf ListBox1.Items(e.Index).ToString = "Blue" Then&lt;br /&gt;    e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, New SolidBrush(Color.Blue), e.Bounds)&lt;br /&gt;  End If&lt;br /&gt;End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;C# Version:&lt;/span&gt;&lt;pre name="code" class="c#"&gt;public class Form1 {&lt;br /&gt;&lt;br /&gt;private void Form1_Load(object sender, System.EventArgs e) {&lt;br /&gt;ListBox1.DrawMode = DrawMode.OwnerDrawFixed;&lt;br /&gt;ListBox1.Items.Add("Red");&lt;br /&gt;ListBox1.Items.Add("Green");&lt;br /&gt;ListBox1.Items.Add("Blue");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void ListBox1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e) {&lt;br /&gt;Font myFont;&lt;br /&gt;&lt;br /&gt;if (e.Index &gt; -1) {&lt;br /&gt;&lt;br /&gt; e.DrawBackground();&lt;br /&gt; myFont = new Font(ListBox1.Font.Name, ListBox1.Font.Size, ListBox1.Font.Style);&lt;br /&gt;&lt;br /&gt; if (ListBox1.Items(e.Index).ToString == "Red") {&lt;br /&gt;   e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, new SolidBrush(Color.Red), e.Bounds);&lt;br /&gt; }&lt;br /&gt; else if (ListBox1.Items(e.Index).ToString == "Green") {&lt;br /&gt;   e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, new SolidBrush(Color.Green), e.Bounds);&lt;br /&gt; }&lt;br /&gt; else if (ListBox1.Items(e.Index).ToString == "Blue") {&lt;br /&gt;   e.Graphics.DrawString(ListBox1.Items(e.Index).ToString, myFont, new SolidBrush(Color.Blue), e.Bounds);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;Example is quite straight forward. In the Load event of the Form I am adding three items to the Listbox control "Red", "Green" and "Blue" respectively. In the DrawItem event I am checking the text of the listbox item being added and doing the coloring stuff.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Real World Scenario&lt;/span&gt;&lt;br /&gt;The example given above is very simple. In real world applications the scenarios may not be as simple as this one. I am checking for Red, Green and Blue colors in DrawItem event itself, but what of you want to create a procedure that will add an item to the listbox as well as will specifying the color of that listbox item.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Real World Example&lt;/span&gt;&lt;br /&gt;Lets consider a scenario wherein I want to add items to a ListBox control. While adding items to ListBox, I want to specify the ForeColor of the list item. This cannot be done in DrawItem event.  Just go through the code snippet given below. I will explain it shortly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;VB.NET Version:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;Public Class Form1&lt;br /&gt;&lt;br /&gt;Class ListItem&lt;br /&gt; Friend Text As String&lt;br /&gt; Friend ForeColor As Color&lt;br /&gt;&lt;br /&gt; Public Sub New(ByVal text As String, ByVal textColor As Color)&lt;br /&gt;   Me.Text = text&lt;br /&gt;   Me.ForeColor = textColor&lt;br /&gt; End Sub&lt;br /&gt;&lt;br /&gt; Public Overrides Function ToString() As String&lt;br /&gt;   Return Text&lt;br /&gt; End Function&lt;br /&gt;End Class&lt;br /&gt;&lt;br /&gt;Private Sub Form1_Load( _&lt;br /&gt; ByVal sender As System.Object, _&lt;br /&gt; ByVal e As System.EventArgs _&lt;br /&gt;) Handles MyBase.Load&lt;br /&gt;&lt;br /&gt; ListBox1.DrawMode = DrawMode.OwnerDrawFixed&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub AddItem(ByVal text As String, ByVal foreColor As Color)&lt;br /&gt; ListBox1.Items.Add(New ListItem(text, foreColor))&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Button1_Click( _&lt;br /&gt; ByVal sender As System.Object, _&lt;br /&gt; ByVal e As System.EventArgs _&lt;br /&gt;) Handles Button1.Click&lt;br /&gt;&lt;br /&gt; AddItem("One", Color.Red)&lt;br /&gt; AddItem("Two", Color.Green)&lt;br /&gt; AddItem("Three", Color.Blue)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub ListBox1_DrawItem( _&lt;br /&gt; ByVal sender As Object, _&lt;br /&gt; ByVal e As System.Windows.Forms.DrawItemEventArgs _&lt;br /&gt;) Handles ListBox1.DrawItem&lt;br /&gt;&lt;br /&gt; Dim myFont As Font&lt;br /&gt; Dim cListItem As ListItem&lt;br /&gt;&lt;br /&gt; If e.Index &gt; -1 Then&lt;br /&gt;   e.DrawBackground()&lt;br /&gt;   myFont = New Font(ListBox1.Font.Name, ListBox1.Font.Size, ListBox1.Font.Style)&lt;br /&gt;   cListItem = DirectCast(ListBox1.Items(e.Index), ListItem)&lt;br /&gt;   e.Graphics.DrawString(cListItem.ToString, myFont, New SolidBrush(cListItem.ForeColor), e.Bounds)&lt;br /&gt; End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;br /&gt;&lt;/pre&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;C# Version:&lt;/span&gt;&lt;pre name="code" class="c#"&gt;public class Form1 {&lt;br /&gt;&lt;br /&gt;class ListItem {&lt;br /&gt;  internal string Text;&lt;br /&gt;  internal Color ForeColor;&lt;br /&gt;&lt;br /&gt;  public ListItem(string text, Color textColor) {&lt;br /&gt;    this.Text = text;&lt;br /&gt;    this.ForeColor = textColor;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public override string ToString() {&lt;br /&gt;    return Text;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void Form1_Load(object sender, System.EventArgs e) {&lt;br /&gt;  ListBox1.DrawMode = DrawMode.OwnerDrawFixed;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void AddItem(string text, Color foreColor) {&lt;br /&gt;  ListBox1.Items.Add(new ListItem(text, foreColor));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void Button1_Click(object sender, System.EventArgs e) {&lt;br /&gt;  AddItem("One", Color.Red);&lt;br /&gt;  AddItem("Two", Color.Green);&lt;br /&gt;  AddItem("Three", Color.Blue);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private void ListBox1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e) {&lt;br /&gt;  Font myFont;&lt;br /&gt;  ListItem cListItem;&lt;br /&gt;&lt;br /&gt;  if (e.Index &gt; -1) {&lt;br /&gt;    e.DrawBackground();&lt;br /&gt;    myFont = new Font(ListBox1.Font.Name, ListBox1.Font.Size, ListBox1.Font.Style);&lt;br /&gt;    cListItem = (ListItem)ListBox1.Items(e.Index);&lt;br /&gt;    e.Graphics.DrawString(cListItem.ToString, myFont, new SolidBrush(cListItem.ForeColor), e.Bounds);&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;In the above example I have created a custom class called 'ListItem' to represent the item to be added in the Listbox control. This class contains two members which are quite explanatory. They represent Text and ForeColor of list box item. Next, I have created a constructor having two arguments whose values are assigned to the class members. In the next code segment I am overriding the ToString function of the class. ToString function is the default function of any class. When items are added to the listbox, this function gets called. I am using this function to return the text to be displayed in the listbox control.&lt;br /&gt;&lt;br /&gt;In the form load event, I am setting the drawMode property of Listbox. DrawMode specifies how the elements of a control are drawn i. e. it gets or sets a value indicating whether user code or the operating system  will handle drawing of elements in the list. Its default value is set to '&lt;span class="selflink"&gt;Normal'. When the DrawMode property is set to Normal, &lt;/span&gt;all the elements in a control are drawn by the operating system. As in this example we are going to handle to drawing stuff ourselves in DrawItem event, I set the value of DrawMode to &lt;span class="selflink"&gt;OwnerDrawFixed.&lt;br /&gt;&lt;br /&gt;Next, I have created a procedure 'AddItem' which accepts two arguments; text and foreColor. Using this two arguments I am creating a new object of ListItem class and adding it to the Listbox&lt;span style="font-style: italic;"&gt;. &lt;/span&gt;In the button click event, I am calling the AddItem procedure and passing values to it.&lt;br /&gt;&lt;br /&gt;The next code segment is the most important part of this article i.e. DrawItem event. Every time an item is added to the ListBox, DrawItem event is fired.&lt;/span&gt; This event is also fired even when there are no items in the ListBox. So I have added an IF condition to prevent our code from failure. The next statement is e.DrawBackground(). This method basically draws the item selection background. In the next statement I am creating a font object from Listbox control that will be used while drawing the actual string in the ListBox. In the next statement I am getting the object ofListItem class that we added from AddItem method. The next statement is the heart of the DrawItem event which actually draws the ListBox item text.&lt;br /&gt;&lt;br /&gt;That's All.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-591664686204475235?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/591664686204475235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=591664686204475235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/591664686204475235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/591664686204475235'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/10/call-drawitem-from-another-sub.html' title='Call DrawItem from another sub'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5657032323970518149</id><published>2008-09-11T23:37:00.000-07:00</published><updated>2008-09-16T02:39:47.163-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='conversion'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='gotcha'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic.net'/><category scheme='http://www.blogger.com/atom/ns#' term='widening'/><category scheme='http://www.blogger.com/atom/ns#' term='narrowing'/><title type='text'>Narrowing &amp; Widening Conversion Gotcha</title><content type='html'>&lt;span style="font-weight: bold;font-size:100%;" &gt;What is Narrowing &amp;amp; Widening Conversion&lt;/span&gt;&lt;br /&gt;Basically there are two type of conversions, Narrowing conversion and Widening conversion. Both these conversions comes into picture whenever type conversion occurs. An important consideration with a type conversion is whether the result of the conversion is within the range of the destination data type. A &lt;i&gt;widening conversion&lt;/i&gt; changes a value to a data type that can accommodate any possible value of the original data. Converting from an Integer to a Long is a widening conversion. A &lt;i&gt;narrowing conversion&lt;/i&gt; changes a value to a data type that might not be able to hold some of the possible values. Converting from a Long to a Integer is a narrowing  conversion.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;When does it occurs&lt;/span&gt;&lt;br /&gt;Narrowing conversions are done by default i.e. implicitly by the .NET compiler.  The compiler doesn't do widening conversions implicitly for you. When you assign a Long variable's value to a Integer variable narrowing conversion is done by default. The compiler automatically treats the number as Integer. But when assign a Integer value to a Long variable, compiler doesn't treat it as a long data type value. Having said that, you need to explicitly tell the compiler that your number is a Long.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Gotcha&lt;/span&gt;&lt;br /&gt;Sometimes things can go wrong without your knowledge while these conversions are involved. Lets have a look at following code segment:&lt;br /&gt;&lt;br /&gt;Lets consider that you have a form with a ComboBox control dropped on it.&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Public Class Form1&lt;br /&gt;&lt;br /&gt;  Public Class cListItem&lt;br /&gt;    Private m_id As Integer&lt;br /&gt;    Private m_text As String&lt;br /&gt;&lt;br /&gt;    Public Sub New( _&lt;br /&gt;      ByVal id As Integer, _&lt;br /&gt;      ByVal text As String _&lt;br /&gt;    )&lt;br /&gt;      Me.m_id = id&lt;br /&gt;      Me.m_text = text&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Public Property ID() As Long&lt;br /&gt;      Get&lt;br /&gt;        Return m_id&lt;br /&gt;      End Get&lt;br /&gt;      Set(ByVal value As Long)&lt;br /&gt;        m_id = value&lt;br /&gt;      End Set&lt;br /&gt;    End Property&lt;br /&gt;&lt;br /&gt;    Public Property Text() As String&lt;br /&gt;      Get&lt;br /&gt;        Return m_text&lt;br /&gt;      End Get&lt;br /&gt;      Set(ByVal value As String)&lt;br /&gt;        m_text = value&lt;br /&gt;      End Set&lt;br /&gt;    End Property&lt;br /&gt;  End Class&lt;br /&gt;&lt;br /&gt;  Private Sub Form1_Load( _&lt;br /&gt;    ByVal sender As System.Object, _&lt;br /&gt;    ByVal e As System.EventArgs _&lt;br /&gt;  ) Handles MyBase.Load&lt;br /&gt;&lt;br /&gt;    Dim items As cListItem() = New cListItem(3) {}&lt;br /&gt;&lt;br /&gt;    items(0) = New cListItem(1, "Test 1")&lt;br /&gt;    items(1) = New cListItem(2, "Test 2")&lt;br /&gt;    items(2) = New cListItem(3, "Test 3")&lt;br /&gt;    items(3) = New cListItem(4, "Test 4")&lt;br /&gt;&lt;br /&gt;    ComboBox1.Items.AddRange(items)&lt;br /&gt;    ComboBox1.DataSource = items&lt;br /&gt;    ComboBox1.ValueMember = "ID"&lt;br /&gt;    ComboBox1.DisplayMember = "Text"&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;  Private Sub Button1_Click( _&lt;br /&gt;    ByVal sender As System.Object, _&lt;br /&gt;    ByVal e As System.EventArgs _&lt;br /&gt;  ) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;    ComboBox1.SelectedValue = 2&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;br /&gt;&lt;/pre&gt;Above code populates the ComboBox with some values. If you click the button it should select the second item in the ComBox, but it doesn't. Why?&lt;br /&gt;&lt;br /&gt;When you assign a numeric value '2' to the 'SelectedValue' property of the ComboBox at line &lt;span style="font-family:courier new;"&gt;"ComboBox1.SelectedValue = 2&lt;/span&gt;", the compiler automatically treats the number 2 as an Integer. Since all the combo box items are Long objects, it doesn't find a match. So nothing is selected and you end up with a blank combo box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;The compiler doesn't do widening conversions implicitly for you, so you have to do the conversion explicitly.&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;' Explicitly convert the Integer to Long&lt;br /&gt;ComboBox1.SelectedValue = 2L&lt;/pre&gt;So the moral of the story is to make a practice of converting values to proper types while doing type conversions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5657032323970518149?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5657032323970518149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5657032323970518149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5657032323970518149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5657032323970518149'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/09/narrowing-widening-conversion-gotcha.html' title='Narrowing &amp; Widening Conversion Gotcha'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-8101382349384689025</id><published>2008-09-05T00:09:00.000-07:00</published><updated>2008-09-16T00:16:01.303-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='reflection'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='string name'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='load'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic.net'/><title type='text'>Load form from its String name</title><content type='html'>In some situations we need to load form from its string name. Lets consider for example, you have stored the list of forms in your application in a database and now you want to load those forms at run-time. The simplest solution for this is that you will write if conditions like this:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;' Dummy code&lt;br /&gt;Dim formName As String&lt;br /&gt;&lt;br /&gt;formName = "form1" ' Get the form name from database.&lt;br /&gt;&lt;br /&gt;If formName = "form1" Then&lt;br /&gt;  Dim frm1 As New Form1&lt;br /&gt;  frm1.Show()&lt;br /&gt;ElseIf formName = "form2" Then&lt;br /&gt;  Dim frm2 As New Form2&lt;br /&gt;  frm2.Show()&lt;br /&gt;ElseIf formName = "form3" Then&lt;br /&gt;  Dim frm3 As New Form3&lt;br /&gt;  frm3.Show()&lt;br /&gt;ElseIf formName = "form4" Then&lt;br /&gt;  Dim frm4 As New Form4&lt;br /&gt;  frm4.Show()&lt;br /&gt;End If&lt;br /&gt;&lt;/pre&gt;But what if you have 40  more forms in your application. So basically writing that much if conditions is not a good solution. To accomplish the goal we need to use Reflection. Here is the code:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Imports System.Reflection&lt;br /&gt;&lt;br /&gt;Public Class Form2&lt;br /&gt;&lt;br /&gt;  Private Sub Button1_Click( _&lt;br /&gt;    ByVal sender As System.Object, _&lt;br /&gt;    ByVal e As System.EventArgs _&lt;br /&gt;  ) Handles Button1.Click&lt;br /&gt;&lt;br /&gt;    Dim frm As New Form&lt;br /&gt;    Dim formName As String = "Form1"&lt;br /&gt;&lt;br /&gt;    formName = Me.GetType.Assembly.GetName.Name &amp; "." &amp; formName&lt;br /&gt;    frm = DirectCast(Me.GetType.Assembly.CreateInstance(formName), Form)&lt;br /&gt;    frm.Show()&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-8101382349384689025?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/8101382349384689025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=8101382349384689025' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/8101382349384689025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/8101382349384689025'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/09/load-form-from-its-string-name.html' title='Load form from its String name'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5501152327603288675</id><published>2008-09-02T03:08:00.000-07:00</published><updated>2008-09-25T22:08:05.041-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tricks'/><category scheme='http://www.blogger.com/atom/ns#' term='line numbers'/><category scheme='http://www.blogger.com/atom/ns#' term='tab order'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='code snippets'/><category scheme='http://www.blogger.com/atom/ns#' term='tips'/><category scheme='http://www.blogger.com/atom/ns#' term='vertical block selection'/><category scheme='http://www.blogger.com/atom/ns#' term='vb6'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio .net 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio .net'/><category scheme='http://www.blogger.com/atom/ns#' term='comments'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='toolbox'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio .net 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='regions'/><title type='text'>.NET Tips and Tricks</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;    &lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Vertical Block Selection:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Let’s assume a situation where we have 20 lines of code and now we need to delete first 10 characters of every line. What we do normally do here is go to first line and select the first 10 characters and delete it. Again go to second line, select the first 10 characters and delete it. We follow these steps for all remaining lines. Quite a boring work, isn’t it? There is a nice feature in Visual Studio .NET IDE called ‘Vertical Block Selection’ present since from .NET 2005 edition. To delete 10 characters of every line, press and hold the ALT key and then select the text of every line in vertical direction with mouse. That’s it. It’s simple but very handy.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_8WURWnoJXEk/SL0RMsTKNmI/AAAAAAAAABo/sCm-Z8m3cSQ/s1600-h/vbs.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_8WURWnoJXEk/SL0RMsTKNmI/AAAAAAAAABo/sCm-Z8m3cSQ/s320/vbs.jpg" alt="" id="BLOGGER_PHOTO_ID_5241364451076748898" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Convert a piece of VB6 code to&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt; VB.NET:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If we want to convert VB6 project to VB.NET the easiest solution for this is we open the VB6 project straight forward in .NET IDE. This starts the ‘Visual Basic Upgrade Wizard’ and converts the entire project. Now what if want to convert a small piece of VB6 code to VB.NET. There is no provision for this in Visual Basic Upgrade Wizard. The solution is, create a sample VB.NET Windows application and go to Tools menu and select ‘Upgrade Visual Basic 6 code’. Paste the VB6 code here and click the Upgrade button. The upgraded code will inserted in currently open document at the current cursor position. If the VB6 code is referring to any COM component then you can add reference to it from the Reference tab of Upgrade Visual Basic 6 code window.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Writing Comments in a better &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;way:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You can add better procedure level comments by typing three single quotes, just type ‘’’ just above procedure name, function name, property name, etc. Visual Studio will automatically insert a documentation template whenever the three single quotes are typed within a VB.NET source code file. &lt;span style=""&gt; &lt;/span&gt;Inserting comments this way basically enhance the information presented about a class, constructor or other member. Although these comments can be added to the source code at any point, it is usual to ensure that documentation is inserted immediately before the definition of classes, functions, subroutines and properties, thereby allowing these members to be documented.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_8WURWnoJXEk/SL0Rift9zFI/AAAAAAAAABw/_UIqYiulh-I/s1600-h/xml+comments.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_8WURWnoJXEk/SL0Rift9zFI/AAAAAAAAABw/_UIqYiulh-I/s320/xml+comments.jpg" alt="" id="BLOGGER_PHOTO_ID_5241364825656642642" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Setting Tab Order easily:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;How do you set the tab order of controls in your application? Setting tab order for controls in a bit boring task for me since from VB6 days, but now in .NET things are changed. To set the tab order, you simply select all controls, and then select Tab Order from the View menu. Then just click the controls in the order you want the tabs to sit. As you click each control, the tab order will be displayed on the control to keep you up to date. Press ESC when you have finished.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Code Snippets:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Code snippets are one of the best productivity features introduced in Visual Studio 2005. It allows you to quickly insert fragments of code to avoid tedious typing (such as typing a for loop) or to give you a template of how to accomplish a certain task (such as sending data over the network).&lt;/p&gt;  &lt;p class="MsoNormal"&gt;There are two ways to insert a snippet. You can type the snippet's alias in the code editor and press TAB twice to insert the snippet immediately. After the code snippet has been inserted, you can press TAB and SHIFT+TAB to jump to different fields within the snippet. This allows you to quickly change the parts of code that need to be modified.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you don't remember your code snippet's alias, you can also insert it by pressing "&lt;b&gt;Ctrl+K&lt;/b&gt;, &lt;b&gt;Ctrl+X&lt;/b&gt;" within the code editor or do a mouse right-click with the mouse and select &lt;b&gt;Insert Snippet...&lt;/b&gt;. This shows the code snippet picker, which enables you to browse all the snippets that are applicable to your current programming language and to choose the one you want to insert.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The most exciting part of the code snippet feature is that you can create your own snippets. You can do it from ‘Code Snippets Manager’ window found in Tools menu.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Use Regions:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;A very nice feature of the Visual Studio .NET code editor is the concept of Regions. Regions are great way to organize your code. You can create named regions directly in our source code. We can then expand and collapse regions in the editor to hide or show code based. For example, you could create a region called “Public Properties” and put all your property code there like I have done below:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_8WURWnoJXEk/SL0R6acUQAI/AAAAAAAAAB4/blk8rEMckCg/s1600-h/region.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_8WURWnoJXEk/SL0R6acUQAI/AAAAAAAAAB4/blk8rEMckCg/s320/region.jpg" alt="" id="BLOGGER_PHOTO_ID_5241365236557299714" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} p 	{mso-style-noshow:yes; 	mso-style-priority:99; 	mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:"Times New Roman";} code 	{mso-style-noshow:yes; 	mso-style-priority:99; 	font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="color:black;"&gt;There are five basic regions into which &lt;/span&gt;&lt;span style="color:black;"&gt;we can&lt;/span&gt;&lt;span style="color:black;"&gt; group &lt;/span&gt;&lt;span style="color:black;"&gt;our code&lt;/span&gt;&lt;span style="color:black;"&gt;:&lt;span style=""&gt;  &lt;/span&gt;Private Fields, Constructors, Public Methods, Public Properties, and Private Methods.&lt;/span&gt;&lt;span style="color:black;"&gt; Off course other region can be created as per demand. This is up to us how we organise the code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;Line Numbering:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Did you know that you can add line numbers to your code files in VS.NET? Line numbers are especially helpful if discussing a block of code with someone else, as you can refer to a specific line numbers.  It is configured through the Options dialog of Tools menu.&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;Tools|Options|Text Editor|All Languages|General|Line numbers&lt;/code&gt;.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you want to set this option only for any specific language, then choose the appropriate language instead of ‘&lt;span style=""&gt;All Languages&lt;/span&gt;’.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_8WURWnoJXEk/SL0ScQvzY2I/AAAAAAAAACA/PEnUcJo1W0o/s1600-h/line+numbers.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_8WURWnoJXEk/SL0ScQvzY2I/AAAAAAAAACA/PEnUcJo1W0o/s320/line+numbers.jpg" alt="" id="BLOGGER_PHOTO_ID_5241365818070229858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cdsakpal%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-weight: bold;font-size:12;" &gt;Store Commonly Used Text/Code in Toolbox:&lt;/span&gt;&lt;b style=""&gt;&lt;span style="line-height: 115%;font-size:12;" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;One of the nice VS.NET productivity tricks is to store text/code/re-usable things as toolbox items. To add text to the Toolbox, highlight it in the code editor, drag it over to your toolbox, and drop it when the mouse pointer changes to a rectangle. Thereafter, you can simply drag and drop the toolbox items to your code editor for reuse.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-weight: bold;font-size:12;" &gt;Don't Cut and Paste controls:&lt;/span&gt;&lt;/p&gt;Don't cut and paste controls that have event code in them. It removes their handlers which can cause massive headaches.&lt;br /&gt;&lt;br /&gt;For example, If you add a button to a form, put some code in its click event, then cut and paste it back to the form, the code in the click event will no longer work.&lt;br /&gt;&lt;br /&gt;What happens is the code is still there, but it removes the "Handles button1.Click" from the end of the sub since the IDE is using the background compiler.&lt;br /&gt;&lt;br /&gt;You can only imagine what would happen if you had 100 controls on your form and you cut and paste them for some reason (like putting them in a frame or panel)&lt;br /&gt;&lt;br /&gt;Drag the controls instead, they will retain the links to the handlers.&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-weight: bold;font-size:12;" &gt;Advanced Members:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;Some members of classes in the framework are invisible to VB.NET by default. While many may truly be advanced members that you will not likely use, but some are common ones . You can turn on these advanced members from:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;code&gt;Tools|Options|Text Editor|Basic&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-weight: bold;font-size:12;" &gt;Keyboard IDE Launch:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;I like this one a lot because I do it myself for many programs that don't need fully qualified paths to run.&lt;br /&gt;&lt;br /&gt;If you want to open the VS.NET IDE you can simply hit &lt;span style="font-size:85%;"&gt;&lt;code&gt;Start|Run&lt;/code&gt;&lt;/span&gt; and type devenv and hit ENTER key.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;Some parts of this article taken from &lt;a href="http://www.vbforums.com/showthread.php?t=311501"&gt;vbforums&lt;/a&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5501152327603288675?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5501152327603288675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5501152327603288675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5501152327603288675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5501152327603288675'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/09/net-tips-and-tricks.html' title='.NET Tips and Tricks'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_8WURWnoJXEk/SL0RMsTKNmI/AAAAAAAAABo/sCm-Z8m3cSQ/s72-c/vbs.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-6498635256910677840</id><published>2008-08-30T02:37:00.000-07:00</published><updated>2008-09-25T22:08:45.695-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio .net 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='visual studio .net 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic'/><category scheme='http://www.blogger.com/atom/ns#' term='shortcuts'/><title type='text'>Visual Studio .NET 2008 Keyboard Shortcuts</title><content type='html'>Keyboard shortcuts are extremely useful. It increase our productivity and efficiency while working with Visual Studio .NET IDE. Here I am listing down some common and useful keyboard shortcuts. Shortcuts listed below are based on 'General Development Settings'. Some of the keyboard shortcuts listed here are also applicable to .NET 2005 and 2003.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SHIFT + DEL&lt;/span&gt;:&lt;br /&gt;Delete the complete line of text without selecting it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F12&lt;/span&gt;:&lt;br /&gt;Go To Definition.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + MINUS SIGN (-)&lt;/span&gt;:&lt;br /&gt;Moves to the previously browsed code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + F2&lt;/span&gt;:&lt;br /&gt;Moves cursor to the Class Name drop-down box located at the top left of the Code Editor.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + F2, TAB&lt;/span&gt;:&lt;br /&gt;Moves cursor to the Method Name drop-down box located at the top right of the Code Editor.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F7&lt;/span&gt;:&lt;br /&gt;Switch between Designer view and Code view.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F10&lt;/span&gt;:&lt;br /&gt;Executes the next line of code, but does not follow execution into any method calls.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F11&lt;/span&gt;:&lt;br /&gt;Executes code one statement at a time, following execution into method calls.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SHIFT + F11&lt;/span&gt;:&lt;br /&gt;Executes the remaining lines of the method in which the current execution point is located.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL&lt;/span&gt;:&lt;br /&gt;Hides the current data tip or IntelliSense window so that you can see the code beneath. Must be invoked while a data tip/IntelliSense window is active.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL+ SPACE&lt;/span&gt;:&lt;br /&gt;Displays the IntelliSense window with Global list.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ALT + COMMA (,)&lt;/span&gt;:&lt;br /&gt;Displays the common tab of IntelliSense window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ALT + PERIOD (.)&lt;/span&gt;:&lt;br /&gt;Displays the All tab of IntelliSense window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F9&lt;/span&gt;:&lt;br /&gt;Sets or removes a break point at the current line.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL K + CTRL C&lt;/span&gt;:&lt;br /&gt;Comment selected line or block of code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL K + CTRL U&lt;/span&gt;:&lt;br /&gt;Uncomment selected line or block of code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL K + CTRL K&lt;/span&gt;:&lt;br /&gt;Sets or removes a bookmark.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL K + CTRL P&lt;/span&gt;:&lt;br /&gt;Moves to the previous bookmark.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + K, CTRL + L&lt;/span&gt;:&lt;br /&gt;Remove all bookmarks.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + TAB&lt;/span&gt;:&lt;br /&gt;Navigate between the open document windows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + DOWN ARROW &amp;amp; CTRL + UP ARROW&lt;/span&gt;:&lt;br /&gt;Scrolls the code window without changing the cursor location.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + BACKSPACE &amp;amp; CTRL + DELETE&lt;/span&gt;:&lt;br /&gt;Delete word.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + U&lt;/span&gt;:&lt;br /&gt;Changes selected tex to lower case.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + SHIFT + U&lt;/span&gt;:&lt;br /&gt;Changes selected text to upper case.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + SHIFT + B&lt;/span&gt;:&lt;br /&gt;Build solution.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + ALT + L&lt;/span&gt;:&lt;br /&gt;Displays the Solution Explorer.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + ALT + X&lt;/span&gt;:&lt;br /&gt;Displays the Toolbox.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + F4&lt;/span&gt;:&lt;br /&gt;Close document window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + ALT + I&lt;/span&gt;:&lt;br /&gt;Displays Immediate window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;CTRL + SHIFT + A&lt;/span&gt;:&lt;br /&gt;Add New Item.&lt;br /&gt;&lt;br /&gt;Hummm... quite a long list.&lt;br /&gt;&lt;br /&gt;I have seen that while selecting a word from IntelliSense window most of the people use SPACE or ENTER key. This actually puts extra space or line, so people goes and remove that extra space or line which is requing to hit another few keystrokes. You can eliminate these extra keystrokes by pressing TAB key while selecting a word from IntelliSense.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-6498635256910677840?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/6498635256910677840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=6498635256910677840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/6498635256910677840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/6498635256910677840'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/08/visual-studio-net-2008-keyboard.html' title='Visual Studio .NET 2008 Keyboard Shortcuts'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-3793310140287586901</id><published>2008-07-15T22:41:00.000-07:00</published><updated>2009-01-29T22:06:00.721-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openfire'/><category scheme='http://www.blogger.com/atom/ns#' term='jabber'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='xmpp'/><category scheme='http://www.blogger.com/atom/ns#' term='eXtensible Messaging and Presence Protocol'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='wildfire'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic'/><category scheme='http://www.blogger.com/atom/ns#' term='instant messenger'/><category scheme='http://www.blogger.com/atom/ns#' term='instant messaging'/><title type='text'>Develop an Enterprise class Instant Messenger client in .NET</title><content type='html'>So you want to develop an Instant Messenger like Yahoo, MSN, GTalk and want to have cool features like multi-user chat, emotions, rtf based chat messages, typing notifications, buddy status, custom status messages and bla bla bla but don't know how to proceed? Well XMPP is the answer. eXtensible Messaging and Presence Protocol (XMPP) formerly known as Jabber protocol, an open XML technology for presence and real-time communication developed by the Jabber open-source community in 1999. Today XMPP is much more than IM. Its a realtime system for presence, message and data exchange. GTalk is also based XMPP, so a client that supports Jabber/XMPP can connect to the Google Talk service. Google has extended the XMPP for voice signaling and peer-to-peer communication.&lt;br /&gt;&lt;br /&gt;Before developing messenger client what you need is a Server where your messaging client will be connecting to. There are lots of good open source Communication Servers are available in the market. One of which is Openfire. Openfire (formerly Wildfire) is a real time collaboration (RTC) server dual-licensed under the Open Source GPL and commercially. It uses the only widely adopted open protocol for instant messaging, XMPP. Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance. It can be downloaded from http://www.igniterealtime.org/projects/openfire/index.jsp. It can run on various operating systems like Windows, Linux, Unix but I will talking only about Windows. Openfire installer comes in two versions i.e. with JRE and without JRE. If you already have JRE on your machine/server then download the light weight installer without JRE otherwise go for the recommended installer that includes JRE.&lt;br /&gt;To complete the installation of Openfire, you'll need to perform each of the following steps:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li id="Database"&gt;Database - if you choose to use an external database, you must prepare your database for Openfire.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li id="Setup"&gt;Setup - Use the built-in web-based setup tool to setup and verify the server configuration.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li id="AdminConsole"&gt;Admin Console - use the web-based admin tool to manage the server.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;There is a good Installation guide provided on the website. Openfire can store its data in an embedded database or you can choose to use an external database such as SQL Server, MySQL or Oracle. If you would like to use an external database, you must prepare it before proceeding with installation. View the database setup documentation for more information provided in the Installation guide.&lt;br /&gt;&lt;br /&gt;A web-based, "wizard" driven setup and configuration tool is built into Openfire. Simply launch Openfire (platform-specific instructions below) and use a web browser to connect to the admin console. The default port for the web-based admin console is 9090. If you are on the same machine as Openfire, the following URL will usually work: http://127.0.0.1:9090/.&lt;br /&gt;&lt;br /&gt;After completing the setup, you can use the web-based admin console to administer the server. The URL should be the same as you used to setup the server unless you changed the port during the setup.&lt;br /&gt;&lt;br /&gt;Configure the Openfire to run it as a Windows Service so that it can also run even if the machine is in log-off mode.&lt;br /&gt;&lt;br /&gt;Now, It's time to develop Messaging client. When I developed messaging client I used agsXMPP library. agsXMPP is a SDK for the eXtensible Messaging and Presence Protocol (XMPP) written in managed C#. The SDK is released as open source under a dual licence. It provides features like Presence, Roster (Contact list), Last Activity, Multi-User Chat, Vcard, Jabber Search, File Transfer, Chat State Notifications, etc. agsXMPP SDK comes with some samples written in C#, VB.NET which can be used as a guide to develop full fledged client.&lt;br /&gt;&lt;br /&gt;So here you end up with a good solution for developing an Enterprise class Instant Messenger client in .NET. I used Openfire and agsXMPP for one of my previous company and it scaled well. My company wanted to block the messenger clients like Yahoo and MSN, so they asked me to develop a good Messaging client and I came up with this nice solution. Openfire scales very well, it easily handles few hundred connections on a Pentium 4 processor. It can also be confired to handle few thousand connections provided you have a dedicated server with good configuration.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-3793310140287586901?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/3793310140287586901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=3793310140287586901' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/3793310140287586901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/3793310140287586901'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/07/so-you-want-to-develop-instant.html' title='Develop an Enterprise class Instant Messenger client in .NET'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-1824852606997756975</id><published>2008-04-06T22:00:00.000-07:00</published><updated>2008-09-25T22:10:29.198-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='active-x'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic .net'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='runtime'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='loading'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='run-time'/><category scheme='http://www.blogger.com/atom/ns#' term='activex'/><title type='text'>Loading Active-X control at run-time in .NET</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;In VB 6 days we were using VBControlExtender for loading active-x controls at run-time, but in .NET it's totally different. When we drop any active-x control on a windows form, Visual Studio add 'Ax' as suffix to the control name. .NET uses AxHost class behind the scenes to interact with active-x controls. AxHost wraps active-x controls and exposes them as fully featured Windows Forms controls. I will show you how to load 'Microsoft Calendar Control 11.0' control at run-time, how to set it's properties and call it's methods/functions.&lt;br /&gt;&lt;br /&gt;By the way, VB.NET is my first choice of programming so I will use it for this post.&lt;br /&gt;&lt;br /&gt;First we have to create a class which will inherit from AxHost class. It will also create a constructor for this newly created class which will accept Class GUID as a parameter. So the code goes like this;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Public Class AxControl&lt;br /&gt; Inherits AxHost&lt;br /&gt;&lt;br /&gt; Public Sub New(ByVal strCLSID As String)&lt;br /&gt;   MyBase.New(strCLSID)&lt;br /&gt; End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;/pre&gt;And below is the code required to load active-x control at run-time;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;' Declarations&lt;br /&gt;Dim WithEvents m_axCtrl As AxControl&lt;br /&gt;Dim strProgId As String&lt;br /&gt;Dim m_type As Type&lt;br /&gt;Dim args As Object()&lt;br /&gt;&lt;br /&gt;Private Sub Form1_Load( _&lt;br /&gt; ByVal sender As System.Object, _&lt;br /&gt; ByVal e As System.EventArgs _&lt;br /&gt;) Handles MyBase.Load&lt;br /&gt;&lt;br /&gt; strProgId = "MSCAL.Calendar.7"&lt;br /&gt; m_type = System.Type.GetTypeFromProgID(strProgId, True)&lt;br /&gt; m_axCtrl = New AxControl(m_type.GUID.ToString())&lt;br /&gt;&lt;br /&gt; DirectCast((m_axCtrl), System.ComponentModel.ISupportInitialize).BeginInit()&lt;br /&gt;&lt;br /&gt; m_axCtrl.Enabled = True&lt;br /&gt; m_axCtrl.Name = "axCtrl"&lt;br /&gt; m_axCtrl.TabIndex = 0&lt;br /&gt; m_axCtrl.Left = 10&lt;br /&gt; m_axCtrl.Top = 10&lt;br /&gt; m_axCtrl.Width = 250&lt;br /&gt; m_axCtrl.Height = 250&lt;br /&gt;&lt;br /&gt; Controls.Add(m_axCtrl)&lt;br /&gt; DirectCast((m_axCtrl), System.ComponentModel.ISupportInitialize).EndInit()&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;Above code gets the instance of the type from the class name "MSCAL.Calendar.7" which will be used to get the GUID of the active-x. Using this GUID we create the instance of the active-x control. Next  we need to initialize the control. BeginInit method signals the control object that initializing is starting. After this we set some required control properties and end the initialization.&lt;br /&gt;&lt;br /&gt;So this few lines of code will load the active-x control at run-time. Now, I will show you how to set properties and call methods.&lt;br /&gt;&lt;br /&gt;For calling methods and setting properties syntax is like this;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Dim args As Object()&lt;br /&gt;&lt;br /&gt;args = New Object() {"Method Parameters"}&lt;br /&gt;m_type.InvokeMember("MethodName", Reflection.BindingFlags.InvokeMethod, Nothing, m_axCtrl.GetOcx, args)&lt;br /&gt;args = New Object() {"PropertyValue"}&lt;br /&gt;m_type.InvokeMember("Property Name", System.Reflection.BindingFlags.SetProperty, Nothing, m_axCtrl.GetOcx, args)&lt;br /&gt;&lt;/pre&gt;Call method:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;m_type.InvokeMember("NextDay", Reflection.BindingFlags.InvokeMethod, Nothing, m_axCtrl.GetOcx, New Object() {})&lt;/pre&gt;Set property:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;args = New Object() {"01/01/2009"}&lt;br /&gt;m_type.InvokeMember("Value", System.Reflection.BindingFlags.SetProperty, Nothing, m_axCtrl.GetOcx, args)&lt;/pre&gt;Get property value:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Dim selDate As Date&lt;br /&gt;selDate = m_type.InvokeMember("Value", System.Reflection.BindingFlags.GetProperty, Nothing, m_axCtrl.GetOcx, New Object() {})&lt;br /&gt;MessageBox.Show(selDate.ToString("dd/MM/yyyy"))&lt;/pre&gt;So this is all about loading Active-X control at run-time in .NET, accessing properties and calling it's methods.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-1824852606997756975?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/1824852606997756975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=1824852606997756975' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/1824852606997756975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/1824852606997756975'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/04/loading-active-x-control-at-run-time-in.html' title='Loading Active-X control at run-time in .NET'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5779053324477525963</id><published>2008-01-23T19:29:00.001-08:00</published><updated>2008-09-25T22:10:49.425-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vb6'/><category scheme='http://www.blogger.com/atom/ns#' term='visual basic .net'/><category scheme='http://www.blogger.com/atom/ns#' term='vb.net'/><category scheme='http://www.blogger.com/atom/ns#' term='debug'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='vb 6'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='debugging'/><title type='text'>Debugging VB.NET code from VB6</title><content type='html'>Hi !. This is my first programming related post on my blog. I will keep posting more programming posts based on my experience and knowledge.&lt;br /&gt;&lt;br /&gt;In project based companies new technologies are easily adopted but this is not the case with Product based companies. Once the product is developed they have to stick with the language for years with which they developed it. Converting a product into a different programming language &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;involves&lt;/span&gt; lots of development costs and this is not &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;feasible every time.&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-corrected"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="blsp-spelling-corrected"&gt;Microsoft has done a good job by introducing Interop Toolkit. We can now develop new modules in .NET and use them in VB6. In this way we can use many good features provided by .NET. Here we use two languages .NET and VB6. So the debugging becomes little tricky, but it's not a big deal.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Debugging VB.NET code from VB6 is no different than debugging any other Visual Basic 6.0 project. Press F5 to run, attach VB6 process in VB.NET &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;IDE&lt;/span&gt;, set breakpoints, and debug as you normally would.&lt;br /&gt;&lt;br /&gt;Follow these steps to debug your .NET code:&lt;ol&gt;&lt;li&gt;Load your .NET project in Visual Studio 2005.&lt;/li&gt;&lt;li&gt;Build the .NET project if it has not already been built.&lt;/li&gt;&lt;li&gt;Load your Visual Basic 6.0 code in the Visual Basic 6.0 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;IDE&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Run your application by pressing F5 in the Visual Basic 6.0 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;IDE&lt;/span&gt; (Note: You must do this once before attaching the .NET debugger to properly load the .NET code).&lt;/li&gt;&lt;li&gt;In Visual Studio .NET 2005, select Attach to Process... from the Tools menu.&lt;/li&gt;&lt;li&gt;In the dialog that appears, select the VB6.exe process (Note: because the Visual Basic 6.0 code runs within the Visual Basic 6.0 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;IDE&lt;/span&gt;, you must select this process to debug).&lt;/li&gt;&lt;/ol&gt;You only need to repeat the steps above after rebuilding .NET code. The Visual Basic 6.0 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;IDE&lt;/span&gt; must be closed when rebuilding. After completing these steps, press F5 in the Visual Basic 6.0 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;IDE&lt;/span&gt; to run, set breakpoints, and debug as you normally would.&lt;br /&gt;&lt;br /&gt;There is also an another way for debugging. Instead off attaching the vb6.exe process everytime you can configure settings in Project properties to run external program while debugging.&lt;br /&gt;&lt;br /&gt;Follow these steps:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to the Project properties window and select Debug tb.&lt;/li&gt;&lt;li&gt;In Start Action section select Start external program and type the path of vb6.exe. e.g. C:\Program Files\Microsoft Visual Studio\VB98\VB6.EXE.&lt;/li&gt;&lt;li&gt;In Command line arguments type the vb6 project path. e.g. "D:\Test Projects\Project1.VBP".&lt;/li&gt;&lt;li&gt;Save the settings, set the break proints and press F5.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;This will open the VB6 project. Press F5 to run and start debugging.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5779053324477525963?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5779053324477525963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5779053324477525963' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5779053324477525963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5779053324477525963'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/01/debugging-vbnet-code-from-vb6.html' title='Debugging VB.NET code from VB6'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-4110459768810904587</id><published>2008-01-23T01:19:00.000-08:00</published><updated>2008-09-11T03:10:13.314-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shayari'/><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><category scheme='http://www.blogger.com/atom/ns#' term='funny'/><category scheme='http://www.blogger.com/atom/ns#' term='sher'/><title type='text'>Funny Shayari</title><content type='html'>Khuda Hi Khuda... Idhar khuda hai, udar khuda hai, Jidar dekho udar khuda hai, idhar-udhar bus khuda hi khuda hai, jidhar nahi khuda hai….udhar kal khudega!&lt;br /&gt;&lt;br /&gt;Recent News Headlines : Soft drinks Contain Dangerous Pestcides. Insan to newspaper padh sakte hain par janwaro ka kya hoga kyonki…. Aaj kal CHEETAH BHI PEETA HAI !&lt;br /&gt;&lt;br /&gt;Pyaar Ise Kehte Hain, Jawani ko zindage ki nikhaar kehte hain, pathjad ko chaman ka majdhaar kehte hain, Ajeeb chalan hain duniya ka yaaro, Ek Dhoka hain Jise hum sab “PYAAR” kehte hain !&lt;br /&gt;&lt;br /&gt;Mohabbat ki Chita Dil tod diya ab chitha bhi jala dena, Kafan na ho to dupatta odha dena, Koi puche rog kya tha toh nazar jukhakar “Mohabbat” bata dena!&lt;br /&gt;&lt;br /&gt;Ai mere kadardan, Dost meri Jaan, Tum hamesha rahoge hatte katte nawjawan kyounki…. Khuda meherbaan to Gadha PAHELWAAN…..&lt;br /&gt;&lt;br /&gt;NAMSKAR ! yeh hamari FALTOO-SMS sewa hai. is main hum logo ko waqt be waqt DISTURB Karte hai. is sewa ka labh uthane ka dhanya wad. AB APNA KAM KIJEA&lt;br /&gt;&lt;br /&gt;1st gadha-yaar mein jis dhobi ke ghar kaam karta hu vo mujhe bahut marta hai. 2nd gadha-tu ghar chod kar bhaag kyo nahi jata. 1st gadha-kya batau yaar dhobi ki ek bahut sunder ladki hai. vo jab bhi shararat karti hai to dhobi kehta hai ki teri shadi kisi gadhe se kar dunga. bas yeh soch kar ruka hua hu&lt;br /&gt;&lt;br /&gt;Just want to remind you that&lt;br /&gt;I LOVE YOU Sender: Sania Mirza +919822334455&lt;br /&gt;..&lt;br /&gt;ZYADA SOCH MAT, Usne muje bheja hai.&lt;br /&gt;..&lt;br /&gt;Tu apna kam kar..&lt;br /&gt;&lt;br /&gt;Yeh jo hasinao ke baal hote hai, ladko ko fasane ke jaal hote hai, pee jati hai sara khoon ladko ka tabhi to gaal itne laal hote hain…&lt;br /&gt;&lt;br /&gt;Yu to hain hum ‘’BHRAMCHARI'’, magar jahan dekhi ‘’NAARI'’ vahan ‘’AANKH-MAARI'’, pat gayi to hamari,  varna phir se ‘’BHRAMCHARI’&lt;br /&gt;&lt;br /&gt;Harbhajan to his wife: Darling ! kya main tera pehla pyar hoo? Wife: Kardina sardar wali baat. Spinner ko kabhi opening milti hai kya?&lt;br /&gt;&lt;br /&gt;Girlfriend Ko I LUV U Bolna Hai? Balance Khatam? Ab Kya Karoge? Kabutar K Gale Mein Bandh Ke CHITTHI Bhejoge? Nahi Na………. Main Batata Hoon... Kya Karna Hai…. Girlfriend Ka Number Mujhe De Doge Main I LUV U Bol deta Hoon!&lt;br /&gt;&lt;br /&gt;kabhi hosla bhi azmana chahiye, bure waqt me muskurana bhi chahiye, chahe kitni bhi thand pade hafte meek baar to nahana chahiye&lt;br /&gt;&lt;br /&gt;Wo ped kya jise me dali na ho, wo bag kya jise me mali na ho, wo ghar kya jise me ghar wali na ho, aur wo mard kya jis ki bahar wali na ho...&lt;br /&gt;&lt;br /&gt;Haath mein takat hai to Tajmahal ko hila kar dekh…Warna..Aa baith ke do peg whiskey maar aur Tajmahal ko hilta hua dekh…&lt;br /&gt;&lt;br /&gt;Na wo inkar karti hai na wo ikrar karti hai, kambakt mere hi sapno me aake mere dost se pyqr karti hai&lt;br /&gt;&lt;br /&gt;Ek Aadmi ne apni wife ko khat likha Is mahine salary ki bajaye 100 kiss bhej raha hu, Wife ne Jawab diya apke salary ki bheje 100 kiss mile: Hisab bhej rahi hu, Doodh wala 2 kiss me maan gaya, Teacher ko 7 deni padi, Sabjiwala 7 me nahi mana isliye 9 deni padi, Makan malik to roj 6-7 le jata hai. Aap chinta mat karna mere pass abhi bhi 30 - 40 bachi hai, mahina aaram se kat jayega.&lt;br /&gt;&lt;br /&gt;College ki galiyo mein ajeeb khel hota hai, Class ke bahane dilo ka male hota hai, Padne ki jagah luvmail hota hai, Isliye to Pappu har saal fail hota hai…..&lt;br /&gt;&lt;br /&gt;Andheri sadak, sunsan kabristan, sooni haveli, kala asmaan, rat hogai soja shaitan..&lt;br /&gt;&lt;br /&gt;Tum door sahi majboor sahi, par yaad tumhari aati hai, Jab saans wahan par leti ho toh badboo yahaan par aati hai.&lt;br /&gt;&lt;br /&gt;teri julf hai ya raat ka andhera, teri julf hai ya raat ka andhera, ho ja GANJI kar de sawera&lt;br /&gt;&lt;br /&gt;Ladkiyon ke college me strike thi, Ladke bhi unke saath the.. Ladkiyon ne naara lagaya...HUMARI MAANGE... Pichhe se awaaz aayi SINDHUR SE BHARO….&lt;br /&gt;&lt;br /&gt;Durakht ke paymane pe chilman.. E husn ka furkat se sharmana... Durakht ke paymane pe chilman... E husn ka furkat se sharmana…Ye line samajh me aaye to mujhe zaroor batana&lt;br /&gt;&lt;br /&gt;Gunghat Mein Tujhe Dekha To Deewanna Hua, Sangeet Ka Taraana Hua, Shamaa Ka Parwana Hua, Masti Ka mastaana Hua, Jaise Hi Gunghat Uthaya Is Duniya Se Ravana Hua&lt;br /&gt;&lt;br /&gt;Dil k dard ko zuba par laate nahi, hum apni aankhon se ansu bahate nahi, Zakhm chahe kitne hi gahre kyo na ho, ?? hum DETTOL k siva kuch laagate nahi.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-4110459768810904587?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/4110459768810904587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=4110459768810904587' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/4110459768810904587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/4110459768810904587'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/01/funny-shayari.html' title='Funny Shayari'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-2286167891906099218</id><published>2008-01-23T01:16:00.000-08:00</published><updated>2008-09-11T03:11:34.412-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><category scheme='http://www.blogger.com/atom/ns#' term='story'/><category scheme='http://www.blogger.com/atom/ns#' term='funny'/><category scheme='http://www.blogger.com/atom/ns#' term='love'/><category scheme='http://www.blogger.com/atom/ns#' term='love story'/><title type='text'>A true love story</title><content type='html'>A real story happens to a girl in chennai recently.. must read.&lt;br /&gt;&lt;br /&gt;Her name was Priya. She was hit by a lorry. She is working in a call centre. She has a boy friend named Shankar. Both of them are true lovers. They always hang on the phone. You can never see her without her handphone. In fact she also changed her phone from Airtel to Hutch, so both of them can be on the same network, and save on the cost. She spends half of the day talking with shankar. Priya’s family knows about their relationship. Shankar is very close with Priya’s family. (just imagine their love) . Before she passed away she always told her friends “If I pass away please burn me with my handphone” she also said the same thing to her parents. After her death, people cant carry her body, I was there. A lot of them tried to do so but still cant , everybody including me, had tried to carry the body, the result is still the same. Eventually, they called a person who know to one of their neighbours, who can speak with the soul of dead person , who is afriend of her father. He took a stick and started speaking to himself slowly.After a few minutes, he said “this girl misses something here”. then her friends told that person about her intentions to burn her with her phone. He then opened the grave box and place her phone and SIM card inside the casket. after that they tried to carry the body. It could be moved and they carried it into the van easily. All of us were shocked. Priya’s parents did not inform Shankar that Priya had passed away. After 2 weeks Shankar called Priya’s mom. Shankar :….”Atte, I’m coming home today. Cook something nice for me.Dont tell Priya that I’m coming home today, i wanna surprise her.” Her mother replied….. “You come home first, I wanna tell you something very important.” after he came, they told him the truth about Priya.Shankar thinks that they were playing a fool. He was laughing and said “dont try to fool me - tell Priya to come out, i have a gift for her Please stop this nonsense”. then they show him the original death certificate to him. They gave him proof to make him believe. (Shankar started to sweat) He said… “Its not true. we spoke yesterday. She still calls me. Shankar was shaking. Suddenly, Shankar’s phone rang. “see this is from Priya, see this…” he showed the phone to priya’s family. all of them told him to answer.he talked using the loudspeaker mode. all of them heard his conversation. Loud and clear, no cross lines, no humming. It is the actual voice of Priya &amp;amp; there is no way others could use her SIM card since it is nailed inside the grave box they were so shocked and asked for the same person’s (who can speak with the soul of deal perosns) help again. He brought his master to solve this matter. He &amp;amp; his master worked for 5 hours. Then they discovered one thing which really shocked them…&lt;br /&gt;&lt;br /&gt;Hutch has the best coverage. Whereever you go, our network will follows!!! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-2286167891906099218?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/2286167891906099218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=2286167891906099218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/2286167891906099218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/2286167891906099218'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/01/true-love-story.html' title='A true love story'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5444166251104515842.post-5750919520476987320</id><published>2008-01-22T23:42:00.000-08:00</published><updated>2008-09-11T03:12:34.574-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='one liners'/><category scheme='http://www.blogger.com/atom/ns#' term='fun'/><category scheme='http://www.blogger.com/atom/ns#' term='quotes'/><category scheme='http://www.blogger.com/atom/ns#' term='funny'/><title type='text'>Funny One Liners &amp; Quotes</title><content type='html'>1. My husband and I divorced over religious differences. He thought he was God and I didn’t.&lt;br /&gt;2. I don’t suffer from insanity; I enjoy every minute of it.&lt;br /&gt;3. Some people are alive only because it’s illegal to kill them.&lt;br /&gt;4. I used to have a handle on life, but it broke.&lt;br /&gt;5. Don’t take life too seriously; No one gets out alive.&lt;br /&gt;6. You’re just jealous because the voices only talk to me.&lt;br /&gt;7. Beauty is in the eye of the beer holder.&lt;br /&gt;8. Earth is the insane asylum for the universe.&lt;br /&gt;9. I’m not a complete idiot — Some parts are just missing.&lt;br /&gt;10. Out of my mind. Back in five minutes.&lt;br /&gt;&lt;a id="more-101"&gt;&lt;/a&gt;11. NyQuil, the stuffy, sneezy, why-the-heck-is-the-room-spinning medicine.&lt;br /&gt;12. God must love stupid people; He made so many.&lt;br /&gt;13. The gene pool could use a little chlorine.&lt;br /&gt;14. Consciousness: That annoying time between naps.&lt;br /&gt;15. Ever stop to think, and forget to start again?&lt;br /&gt;16. Being “over the hill” is much better than being under it!&lt;br /&gt;17. Wrinkled Was Not One of the Things I Wanted to Be When I Grew up.&lt;br /&gt;18. Procrastinate Now!&lt;br /&gt;19. I Have a Degree in Liberal Arts; Do You Want Fries With That?&lt;br /&gt;20. A hangover is the wrath of grapes.&lt;br /&gt;21. A journey of a thousand miles begins with a cash advance.&lt;br /&gt;22. Stupidity is not a handicap. Park elsewhere!&lt;br /&gt;23. They call it PMS because Mad Cow Disease was already taken.&lt;br /&gt;24. He who dies with the most toys is nonetheless DEAD.&lt;br /&gt;25. A picture is worth a thousand words, but it uses up three thousand times the memory.&lt;br /&gt;26. Ham and eggs. A day’s work for a chicken, a lifetime commitment for a pig.&lt;br /&gt;27. The trouble with life is there’s no background music.&lt;br /&gt;28. The original point and click inter face was a Smith &amp;amp; Wesson.&lt;br /&gt;29. I smile because I don’t know what the hell is going on.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5444166251104515842-5750919520476987320?l=deepaksakpal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://deepaksakpal.blogspot.com/feeds/5750919520476987320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5444166251104515842&amp;postID=5750919520476987320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5750919520476987320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5444166251104515842/posts/default/5750919520476987320'/><link rel='alternate' type='text/html' href='http://deepaksakpal.blogspot.com/2008/01/funny-one-liners-quotes.html' title='Funny One Liners &amp; Quotes'/><author><name>Deepak Sakpal</name><uri>http://www.blogger.com/profile/08020360330092062530</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://2.bp.blogspot.com/_8WURWnoJXEk/SYGDNs4IMXI/AAAAAAAAAEI/3MrJ48PioGQ/S220/deepak10.jpg'/></author><thr:total>0</thr:total></entry></feed>
