|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Test an Array to see if its been "ReDim"I have created an array as follows:
Public pPrintList() as String How can I test it to see if it has been initialized with an element (ReDim pPrintList(12) ) with out causing "NullReferenceException" error if no elements exist >How can I test it to see if it has If Not pPrintList Is Nothing Then ...>been initialized with an element (ReDim pPrintList(12) ) Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
Q: Message Box graphics
Vanishing Declarations .NET PDF toolkit that can compress images in PDF files..? Problem with Structures using FieldOffset -- BUG? Changing default printer..... VS2005 Standard vs. VS2003.Net Academic Windows Explorer Integration Listview with background picture Framework question Any way to get Windows to refresh the notify area? |
|||||||||||||||||||||||