Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2

Thread: null

  1. #1
    Randy5 is offline Master Member
    Join Date
    May 2010
    Posts
    571

    Default null

    In Visual Basic, what does a NullReferenceException refer to?

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,082

    Default

    A NullReferenceException occurs when you try to reference an object in your code that does not exist. For example, you may have tried to use an object without using the New keyword first, or tried to use an object whose value is set to null (Nothing in Visual Basic).
    Troubleshooting Exceptions: System.NullReferenceException


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts