Click here to Skip to main content
13,298,551 members (39,013 online)
Click here to Skip to main content

Tagged as


1 bookmarked
Posted 11 Oct 2012

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

, 11 Oct 2012
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 11-Oct-12 2:41 Available Shahan Ayyub
Typo in code
3 No 11-Oct-12 1:50 Available Shahan Ayyub
Added one more tip
2 No 11-Oct-12 1:33 Available Shahan Ayyub
comment was missing
1 No 11-Oct-12 1: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...

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