Click here to Skip to main content
12,632,326 members (27,157 online)
Click here to Skip to main content

Tagged as


1 bookmarked

object reference not set to an instance of an object VB.NET

, 11 Oct 2012 CPOL
First thing you need to check is that all the data tables passed in your method should not be initialized rather than Nothing.For example, the start of method will be something like this:Public Sub Plot_TotalPerItem(ByRef NewTable As DataTable, ByVal Items As DataTable, ByVal...



Compare Revision Minor Date Status Editor
4 - publicly available No 10-Oct-12 21:41 Available Shahan Ayyub
Typo in code
3 No 10-Oct-12 20:50 Available Shahan Ayyub
Added one more tip
2 No 10-Oct-12 20:33 Available Shahan Ayyub
comment was missing
1 No 10-Oct-12 20:20 Available Shahan Ayyub


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Shahan Ayyub
Software Developer eHealthWorks LLC
Pakistan Pakistan
I satisfy my daily 'urge to code' by participating in forums:

On Experts-Exchange:
Screen Name : Shahan_Developer

Screen Name : EngrShahan

On C-Sharp Corner:
Screen Name : ShahanDev

On DaniWeb IT Community:
Screen Name : ShahanDev

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.161208.2 | Last Updated 11 Oct 2012
Article Copyright 2012 by Shahan Ayyub
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid