Top "Nothing" questions

In VB.

VBA: Conditional - Is Nothing

There is an If condition in a VBA application as seen below: If Not My_Object Is Nothing Then My_…

vba if-statement excel excel-2007 nothing
IsNothing versus Is Nothing

Does anyone here use VB.NET and have a strong preference for or against using IsNothing as opposed to Is …

vb.net nothing
Error checking for NULL in VBScript

I have the following VBScript in a Classic ASP page: function getMagicLink(fromWhere, provider) dim url url = "magic.asp?fromwhere=" &…

asp-classic vbscript null nullreferenceexception nothing
Why can't I check if a 'DateTime' is 'Nothing'?

In VB.NET, is there a way to set a DateTime variable to "not set"? And why is it possible …

vb.net datetime null nullable nothing
"Not ... Is Nothing" versus "... IsNot Nothing"

Does anyone here use VB.NET and have a strong preference for or against using Not foo Is Nothing as …

vb.net nothing
find if `find` method returns `nothing` in excel vba

I'm trying to find an id in a list and get it's address, but also deal with a situation if …

excel vba find nothing
How to tell whether a variable has been initialized in C#?

I know this is a dumb question and I guess it must have been asked before. However I am unable …

c# class isset nothing
Nothing = String.Empty (Why are these equal?)

Why does the first if statement evaluate to true? I know if I use "is" instead of "=" then it won't …

vb.net string nothing
How do I make an integer to null in Excel VBA?

I am trying to detect whether an integer was set, and if not, skip most of the code in the …

excel vba null nothing
vb.net Boolean and Nothing

Let's define this function : Public Function Test(ByVal value As Boolean) Return "blabla" + If(value = Nothing, "", If(value, "1", "0")) End Function …

.net vb.net boolean nothing