<p>I have been getting an error in <strong>VB .Net</strong> </p>

<blockquote>
  <p>object reference not set to an instance of object.</p>
</blockquote>

<p>Can you tell me what are the causes of this error ?</p>

The object has not been initialized before use.
At the top of your code file type:
```
```
Option Strict On
Option Explicit On
```
```