How can i check if a string collection is empty? I tried VB.NET Code: My.Settings.IPBank.Count = 0 But it said Object reference not set to an instance of an object.
My.Settings.IPBank.Count = 0
Remember to rate posts with the button on the left() - - - - - - - - - - - - - Useful Links:.NET Framework Class Library | Auto Clicker | 30 Minute Regex Tutorial | Visual Basic CodeBank(ALL):Simulate Mouse Click | EaseInstaller | Signs + Description | Read/Write .INI Files | Movable Form Without Titlebar | Check ifFirstRun | Create App Thread | Volume Control Class | Custom Wait Function | Emcranks Auto Updater | System-Wide Hotkeys [Virtual Key Codes] | Get Filename From Download URL | Zipping/Unzipping Using Shell32.dll | Import My.Settings From Previous Build | WebBrowser Control: Delete History | Simple Sound Recorder [mciSendString Commands] | App Trial Code | WebBrowser Control: Get Favicon.ico | Generate Random String | Manipulate Files Using Wildcards |
Forum Rules