In VB.NET, Nothing refers to something which has not been initialized. In C# it would be null. Occasionally used in the Scala type system.
Questions tagged [nothing]
140 questions
0
votes
0 answers
How to set individual element of an array to Empty
Background: As a Java programmer, in order to familiarize myself with VBA, I am creating a VBA implementation of the Java ArrayList. The class is almost complete, but I am having trouble implementing the remove(int index) method.
Question: How do I…

Austin
- 8,018
- 2
- 31
- 37
0
votes
2 answers
Custom Structure that can be assigned Nothing and/or DBNull?
Please can any one advise me if it is possible to decalre a custom structure that can be assigned Nothing and / or DbNull.Values, and also can be instanciated as Nothing?
What I am looking to do is ceate a custom DateTime object that can recieve a…

Dib
- 2,001
- 2
- 29
- 45
0
votes
2 answers
C# NullReferenceException with multiple methods
I'm dynamicly creating listboxes in my program and i want to do something with them in another method but it gives me the NullReferenceException exception. What should i do? (i shortned the code a lot, so some things may be missing)
EDIT: i added…

Ziggster
- 11
- 2
0
votes
0 answers
Dictionary comes back from cache as Null/Nothing
I'm writing some vb.net code to retrieve some data from middleware, do some stuff with it, and then save a dictionary of name/value pairs to cache for quick retrieval when needed.
It all seems to go well until I retrieve the object from cache and…

MattB
- 11
- 4
0
votes
1 answer
Android Annotations Blank Screen
I'm using Android Annotations and I wanted to implement a simple Fragment to test it out, so I'm using it mainly to bind views to their IDs via @ViewById. When I start the fragment, I do the binding via annotation and then use @AfterViews to perform…

Brandon
- 1,886
- 2
- 17
- 28
0
votes
2 answers
Is Nothing type mismatch VB6
I tried everything, but everything gives me type mismatch:
Type UserType
...
End Type
Dim SomeArray() As UserType
...
If SomeArray() Is Nothing Then
If SomeArray() Is Empty Then
If SomeArray Is Nothing Then
If…
user5884829
0
votes
0 answers
php error inserting data
I try to change my code because all the function that i use normaly are deprecated. So i try to use mysqli and ->query to insert some data and it's impossible to insert something. I have no error, but nothing appears in my db.
Here is my code…

Thomas Clermont
- 65
- 6
0
votes
2 answers
how to construct Scala API with error sentinel token (like Option.None) that can be chained through flatmap?
I recently tried a variation on some of the concurrency exercises in
Functional Programming in Scala (great book, btw.. and early access edition is downloadable free!). Chapter 7 involves creating a monadic type constructor Par[X], which enables…

Chris Bedford
- 2,560
- 3
- 28
- 60
0
votes
1 answer
VBA openRecordSet
All I want to do is use VBA to get the results of some query into an Excel workbook instead. The main issue is that the openRecordSet method appears to not be working. Every time when I try debugging it I see that the recordset (rcset) is Nothing.…

andruemily
- 1
- 1
- 8
0
votes
0 answers
VBA - Out Of Memory Caused by Workbook.Save?
I have the following Sub. The script causes some information to be written to a table of fixed length every 15 seconds. The results are then graphed to create a real-time moving graph feeling.
The problem is that when I uncomment the line where it…

user3685285
- 6,066
- 13
- 54
- 95
0
votes
0 answers
Debugger Variable Windows show nothing in Visual Studio 2013
I am using Visual Studio 2013 Ultimate. When I debug my program I want to see a list of the variables I am using and their value.
The Debugger Variable Windows named Autos, Locals or Watch show nothing.
Do you have an idea why?

flienky
- 23
- 1
- 6
0
votes
0 answers
Module object is nothing when calling a third function
I have this simple Address class, that only have:
Public street as String
Public number as Integer
Then, i'm creating a instance inside a module calle "mdl1", and using it on the same module function:
Public objectAddress as Address
Public…

Caio César S. Leonardi
- 506
- 7
- 13
0
votes
1 answer
VB 2010 - Youtube Comment AuthSub | Invalid Token
Okay, so I'm having an issue with my application...
Now I'm getting the following:
The remote server returned an error: (400) Bad Request.
Fixed the uri, now I'm getting an invalid Token error, am I getting my token incorrectly?
Also I would like…

SWB
- 24
- 3
0
votes
0 answers
Check DGV row for missing value with an sql bound back end
I am currently working in vb.net windows express 2013 with an sql back end. I am trying to create an if statement that will look at a specific cell and make a decision based on if the cell has nothing in it or not. I think the return for an sql…

Cheddar
- 530
- 4
- 30
0
votes
2 answers
why does getElementByID return Nothing instead of NULL
In VBA, if I use getElementByID("id_name") and the id does not exist the function returns nothing rather than null. This leaves me not knowing if the DOM has yet to render the element or if the element truly does not exists. It seems like the spec…

tauneutrino
- 11
- 1
- 5