Click here to Skip to main content
15,914,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: StreamReader constructor fails in FileWatcher event handler Pin
Dallas Matthews2-Mar-05 9:28
Dallas Matthews2-Mar-05 9:28 
GeneralTrigger to send an email Pin
Un-Connected2-Mar-05 4:18
Un-Connected2-Mar-05 4:18 
GeneralRe: Trigger to send an email Pin
Mitch F.2-Mar-05 5:55
Mitch F.2-Mar-05 5:55 
GeneralSystem.NullReferenceException: Object reference not set to an instance of an object. Pin
ug39kxt@cs.bham.ac.uk2-Mar-05 3:58
ug39kxt@cs.bham.ac.uk2-Mar-05 3:58 
GeneralRe: System.NullReferenceException: Object reference not set to an instance of an object. Pin
Colin Angus Mackay2-Mar-05 4:25
Colin Angus Mackay2-Mar-05 4:25 
GeneralRe: System.NullReferenceException: Object reference not set to an instance of an object. Pin
ug39kxt@cs.bham.ac.uk2-Mar-05 4:50
ug39kxt@cs.bham.ac.uk2-Mar-05 4:50 
GeneralRe: System.NullReferenceException: Object reference not set to an instance of an object. Pin
ug39kxt@cs.bham.ac.uk2-Mar-05 4:56
ug39kxt@cs.bham.ac.uk2-Mar-05 4:56 
GeneralRe: System.NullReferenceException: Object reference not set to an instance of an object. Pin
Dave Kreskowiak2-Mar-05 7:06
mveDave Kreskowiak2-Mar-05 7:06 
It's entirely possible that Tables("dbo_Private_Questions") doesn't return a DataTable object. This would mean that there is no table in the DataSet called "dbo_Private_Questions". The same could be true for the Columns collection of that table. Meaning there is no column called "QuestionID" in the Table object. The same could also be true for the DataSet not having a table in it called "dbo_Choices"...

Get the picture yet? Your code is assuming that these table and columns exist in the dataset. You need to write some code in there to check if they actually do exist before you use them.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalconverting to VB.NET Pin
Lisana2-Mar-05 3:20
Lisana2-Mar-05 3:20 
GeneralRe: converting to VB.NET Pin
Dave Kreskowiak2-Mar-05 3:36
mveDave Kreskowiak2-Mar-05 3:36 
GeneralLatching a Snap-in to components in a windows service. Pin
CSharpBala2-Mar-05 2:54
CSharpBala2-Mar-05 2:54 
GeneralRecordSet and ResultSet Pin
Sumesh V.K2-Mar-05 0:47
Sumesh V.K2-Mar-05 0:47 
GeneralRe: RecordSet and ResultSet Pin
J4amieC2-Mar-05 3:17
J4amieC2-Mar-05 3:17 
GeneralShell the Recycle Bin Pin
AndrewVos1-Mar-05 22:37
AndrewVos1-Mar-05 22:37 
GeneralRe: Shell the Recycle Bin Pin
AndrewVos1-Mar-05 22:49
AndrewVos1-Mar-05 22:49 
GeneralRe: Shell the Recycle Bin Pin
AndrewVos1-Mar-05 23:22
AndrewVos1-Mar-05 23:22 
Questionhow to use a video codec to compress avi file Pin
Mohsen Saad1-Mar-05 22:20
Mohsen Saad1-Mar-05 22:20 
Questionhow to make a stealth application Pin
Mohsen Saad1-Mar-05 22:16
Mohsen Saad1-Mar-05 22:16 
AnswerRe: how to make a stealth application Pin
Dave Kreskowiak2-Mar-05 3:32
mveDave Kreskowiak2-Mar-05 3:32 
Generalvery urgent Pin
syed saba1-Mar-05 21:21
syed saba1-Mar-05 21:21 
GeneralSyncronizing folders over the net Pin
mecracked1-Mar-05 21:18
sussmecracked1-Mar-05 21:18 
Generalset arabic language as a default language in my project Pin
soma_alex1-Mar-05 20:57
soma_alex1-Mar-05 20:57 
GeneralReview of SourceSafe Access Tools Pin
bettervssremoting1-Mar-05 20:19
bettervssremoting1-Mar-05 20:19 
GeneralWARNING: THIS IS AN AD! Pin
Dave Kreskowiak2-Mar-05 1:31
mveDave Kreskowiak2-Mar-05 1:31 
GeneralDatabase connection Pin
Mahesh16791-Mar-05 19:28
Mahesh16791-Mar-05 19:28 

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.