|
|
Browse by Tags
All Tags » C# » VB.NET (RSS)
-
You may have to written code that checks if an object is null before you use it. For example:
Rexx.Lexer.RexxCodeStatementList list = null;string name;if (list != null){ if (list.Count > 1) name =list[1].Name;}else{ name = ''-NA-'';}
This can be abbreviated into the following code using the && ...
-
If you are logging information to the EventLog and getting an access error, make sure you have the following registry setting:
Launch RegEdit and navigate to: \\MyComputer\HKLM\SYSTEM\CurrentControlSet\Services\
Right Click on EventLog and click permissions.
Add the service account (application pool ID or BizTalk host ...
-
Despite its flaws and bugs, Visual Source Safe continues to be the most popular source control program in the Microsoft realm. Many poeple I talk to are not aware some of its more useful functions such as ''Pinning''. Understanding the use of pinning can be very useful in a multi-developer environment.
Use of Pinning:
Assume there are 10 ...
-
When declaring complex types in XML schema definition, I have grown accustomed to suffix the type name with ''_Type''. This allows me to easily distinguish a complex type from a global type when viewing the definition in a graphical design tool such as XML Spy. However, it has unintended consequences when incorporating such schema into a web ...
|
|
|