Skip to main content

Posts

Showing posts from March, 2010

C# Keywords

Keyword Description Virtual The virtual keyword is used to modify a method, property, indexer or event declaration, and allow it to be overridden in a derived class. The implementation of a virtual member can be changed by an overriding member in a derived class. When a virtual method is invoked, the run-time type of the object is checked for an overriding member. The overriding member in the most derived class is called, which might be the original member, if no derived class has overridden the member. By default, methods are non-virtual. You cannot override a non-virtual method. You cannot use the virtual modifier with the static, abstract and override modifiers. Virtual properties behave like abstract methods, except for the differences in declaration and invocation syntax. It is an error to use the virtual modifier on a static property. A virtual inherited property can be overridden in a derived class by including a property declaration that uses the override modifier. Fo

Enable 'Sa' account in SQL Server 2005

Yesterday night was almost ruined when I tried to connect my special c# project with Microsoft SQL Server 2005 in Vista operating system. Even after spending several hours in examining and understanding the error message I didn't find any perfect solution for my problem. But today again I put myself to solve the problem and this time I was bit lucky when I discovered that my 'Sa' account in SQL server 2005 is in disable mode. A small red color downwards arrow icon can be seen just in the left side of the 'Sa' account icon. Later I learned that the so called 'Sa' account is by default in disable mode in Microsoft SQL server 2005 standard and express edition. Only after enabling my 'Sa' account I was able to connect my dot net project to SQL server database using SQL server login authentication. Command for Enabling and Disabling SQL server 2005 is - ALTER .For example : - Enable 'sa' account - ALTER LOGIN sa ENABLE Disable 'sa' account

How to change the listening port for Remote Desktop?

You can use the Remote Desktop feature in Microsoft Windows XP Professional to connect to your computer from another remote computer. Warning The Remote Assistance feature in Microsoft Windows XP may not work correctly if you change the listening port. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 307711 (http://support.microsoft.com/kb/307711/ ) Remote Assistance invitation file does not contain correct port number To change the port that Remote Desktop listens on, follow these steps. Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the

Disable balloon tips in the notification area in Windows XP or Vista?

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows. To disable balloon tips in the notification area, follow these steps: Click Start , click Run , type regedit , and then press ENTER. Locate the following subkey: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced Right-click the right side pane, create a new DWORD value, and then name it EnableBalloonTips . Double-click EnableBalloonTips , and then give

Tabla - An Indian classical instrument for Rythm

Tabla Indian music has fascinated the West for many years. The tabla in particular has attracted the attention of a number of American and European percussionists. It has been used in popular music as early as the 60's and is heard in the popular media even today. However, many percussionists shy away from this instrument. The reasons for not "getting into it" are varied. Sometimes it is the lack of instruments; sometimes lack of teachers; sometimes it is the belief that tabla is just too difficult. These are legitimate concerns but they are not insurmountable obstacles. This article will address the concerns of a musician just wishing to get started in tabla. We will discuss the theory of Indian music, how to purchase tabla, the basic technique, and compositional theory. All of this information should make the job of getting started much easier. We should first familiarize ourselves with the extensive theory of Indian music. Indian music is one of the oldest musical trad