Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > .NET > VB.NET

VB.NET

Arrays
Classes
Com Or Dcom Or Com+
Controls
Document Management
Math Processing
String Manipulation
Windows Forms
1-20 of 1709     Previous     Next
Java Tip: Optimization Technique for Lists
by Deepak Tyagi
An ArrayList that is not initialized with the proper size can slow your Java application's performance.
A Simple Password-Checking Routine
by Brian Abernathy
Here's a simple password-checking routine that ensures that the user-entered password matches specific password criteria.
Use Enumeration Instead of SAFEARRAY to Get an Array's Elements
by Shao Voon
C++'s SAFEARRAY is difficult to use. A better option is to enumerate an array's elements by repeatedly calling your own custom enumeration function and incrementing the element index.
Quickly Determine Whether a Column Is Fully Visible in a DataGridView
by Srinath MS
Find out whether a DataGridView column is partially hidden.
Use Array Predicates to Simplify Searches
by Srinath MS
Predicates can often eliminate the need to write loops and iterations over arrays.
Disable the Standard Windows Close, Minimize, and Maximize Buttons
by Ted Atogwe
In .NET Windows Forms, disabling the standard Windows close, minimize, and maximize buttons is as simple as setting the Window Style or adding one line of code.
Portable Functions to Check for NaN and Infinity
by Alexander Ocher
These versions of isNaN() and isInf are portable across C++ compilers.
Convert a Delimited String to a Generic List<string>
by Srinath MS
Split the string at the delimiter and then add each item to a new string list.
Create an Interface from a Class in Visual Studio
by Srinath MS
Use Visual Studio's refactoring features to extract class methods into an interface.
Using String.split(String) vs. Using a StringTokenizer
by Hrudananda Pattanaik
It's not always safe to use String.split(String). Consider using the String Tokenizer API instead.
A Quick Way to Generate Properties in Visual Studio C# Projects
by Srinath MS
Don't write property setters and getters by hand--generate them!
Comparing Constant Strings with String Variables
by Ritesh Patel
Avoid NullPointerExceptions by comparing string constants with string variables—not the other way around.
An OCX-less Progress Bar
by Brian Abernathy
Here's a simple way to add a functional progress bar without including the Common Controls library.
Prevent Users from Launching Multiple Instances of Your Application
by Greggory Payne
Here's how you can make sure that only one instance of your application is running on any given machine.
Method to Release COM Object References
by Srinath MS
Use this method to release references to COM objects immediately.
Understanding Java's Integer Pool Can Avoid Problems
by Shreyas Pai
When apparently-equal integer values fail an equality test, remember the integer pool.
Returning Zero-Length Arrays in Java
by Nagaraj Ramesh
Define a static final zero-length array and return that rather than null from methods that return array types.
Convert Hashtable Keys or Values into an ArrayList
by Deepak Choudhari
The key is to use the ArrayList constructor that takes an ICollection.
Displaying Embedded Newline Characters from ASP.NET Resource Files
by Deepankar Sinha
Embedded newline (\n) characters don't display properly in the browser, but a simple character-replace operation does the trick.
Create an XML File or XmlDocument Directly from a StringBuilder
by Julio Henriquez
Creating an XML file (or XmlDocument object) using a StringBuilder is easier than working directly with the System.Xml.XmlDocument Class.
1-20 of 1709     Previous     Next
Sitemap