Click here to Skip to main content
15,904,288 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Add user Pin
Dave Kreskowiak9-Jul-07 4:28
mveDave Kreskowiak9-Jul-07 4:28 
QuestionSimple transactional updating in .Net Pin
MatthysDT8-Jul-07 23:24
MatthysDT8-Jul-07 23:24 
AnswerRe: Simple transactional updating in .Net Pin
Dave Kreskowiak9-Jul-07 4:23
mveDave Kreskowiak9-Jul-07 4:23 
GeneralRe: Simple transactional updating in .Net Pin
MatthysDT9-Jul-07 5:17
MatthysDT9-Jul-07 5:17 
Questionerror when commiting the row to the original data store(urgent) Pin
cutequencher8-Jul-07 23:14
cutequencher8-Jul-07 23:14 
AnswerRe: error when commiting the row to the original data store(urgent) Pin
Tom Deketelaere8-Jul-07 23:48
professionalTom Deketelaere8-Jul-07 23:48 
GeneralRe: error when commiting the row to the original data store(urgent) Pin
cutequencher8-Jul-07 23:57
cutequencher8-Jul-07 23:57 
GeneralRe: error when commiting the row to the original data store(urgent) Pin
Dave Kreskowiak9-Jul-07 4:19
mveDave Kreskowiak9-Jul-07 4:19 
OK. You're calling a method or setting/reading a property on what you think is a valid object that isn't actually pointing to an instance of an object. In other words, you're trying to do something like Nothing.Method(params). Obviously, Nothing, or null in C# doesn't have any methods or properties, so this will throw the message you're talking about.

There is nothing wrong with the DataGrid that will cause this problem. It's being thrown by code you wrote. Perhaps you're calling a method on an object your code is assuming exists, probably as a return value from a method, or as an object in a collection where the collection doesn't have any objects in it, when it should be checking for the existance of an object before it tries to use it.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: error when commiting the row to the original data store(urgent) Pin
cutequencher9-Jul-07 14:28
cutequencher9-Jul-07 14:28 
GeneralRe: error when commiting the row to the original data store(urgent) Pin
Dave Kreskowiak10-Jul-07 12:24
mveDave Kreskowiak10-Jul-07 12:24 
Questionhow to create ocx (activex) control in vb.net Pin
Tom Deketelaere8-Jul-07 23:07
professionalTom Deketelaere8-Jul-07 23:07 
AnswerRe: how to create ocx (activex) control in vb.net Pin
Vasudevan Deepak Kumar9-Jul-07 2:07
Vasudevan Deepak Kumar9-Jul-07 2:07 
GeneralRe: how to create ocx (activex) control in vb.net Pin
Tom Deketelaere9-Jul-07 3:11
professionalTom Deketelaere9-Jul-07 3:11 
GeneralRe: how to create ocx (activex) control in vb.net Pin
Dave Kreskowiak9-Jul-07 4:13
mveDave Kreskowiak9-Jul-07 4:13 
GeneralRe: how to create ocx (activex) control in vb.net Pin
Tom Deketelaere9-Jul-07 4:30
professionalTom Deketelaere9-Jul-07 4:30 
GeneralRe: how to create ocx (activex) control in vb.net Pin
Tom Deketelaere9-Jul-07 4:49
professionalTom Deketelaere9-Jul-07 4:49 
QuestionNull value Pin
magedhv8-Jul-07 23:07
magedhv8-Jul-07 23:07 
AnswerRe: Null value Pin
Nilesh Hapse8-Jul-07 23:20
Nilesh Hapse8-Jul-07 23:20 
AnswerRe: Null value Pin
Vimalsoft(Pty) Ltd8-Jul-07 23:26
professionalVimalsoft(Pty) Ltd8-Jul-07 23:26 
AnswerRe: Null value Pin
Tom Deketelaere8-Jul-07 23:37
professionalTom Deketelaere8-Jul-07 23:37 
Questionvb6 code doesn't work in VBA(ms access). Pin
Asif Rehman8-Jul-07 22:15
Asif Rehman8-Jul-07 22:15 
AnswerRe: vb6 to VBA(I found solution). But Pin
Asif Rehman8-Jul-07 22:57
Asif Rehman8-Jul-07 22:57 
QuestionVB.net user controls in Access 2007 Pin
Tom Deketelaere8-Jul-07 21:39
professionalTom Deketelaere8-Jul-07 21:39 
AnswerRe: VB.net user controls in Access 2007 Pin
Paul Conrad29-Jul-07 6:07
professionalPaul Conrad29-Jul-07 6:07 
GeneralRe: VB.net user controls in Access 2007 Pin
Tom Deketelaere29-Jul-07 20:46
professionalTom Deketelaere29-Jul-07 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.