Click here to Skip to main content
15,896,501 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDefault application for certain files. Pin
divyesh143231-Jan-08 18:42
divyesh143231-Jan-08 18:42 
Generalselecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 16:03
uglyeyes31-Jan-08 16:03 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
Mycroft Holmes31-Jan-08 16:18
professionalMycroft Holmes31-Jan-08 16:18 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 18:00
uglyeyes31-Jan-08 18:00 
GeneralRe: selecting a child node in a treeview after navigating to another page. Pin
uglyeyes31-Jan-08 18:42
uglyeyes31-Jan-08 18:42 
GeneralRetrieving a column from a data Row Pin
AAGTHosting31-Jan-08 12:09
AAGTHosting31-Jan-08 12:09 
GeneralRe: Retrieving a column from a data Row Pin
Mycroft Holmes31-Jan-08 16:35
professionalMycroft Holmes31-Jan-08 16:35 
GeneralRowNotInTableException - VB.NET 2.0 Pin
Marcus J. Smith31-Jan-08 6:45
professionalMarcus J. Smith31-Jan-08 6:45 
I am having an issue that seems to be specific to a single input source. I select a group of rows from a table and based on some matching determine that they are duplicates for my purpose. I fill an arraylist with the actual datarows and then after I am finished with all of the logic of determining the duplicates, I remove them like this.

For Each duplicateRowToRemove As DataRow In rowsToRemove<br />
                            duplicateTable.Rows.Remove(duplicateRowToRemove)<br />
                        End If<br />
                    Next


I receive the RowNotInTableException or some version of an IndexOutOfRange exception everytime. I have tried adding a primary key by just incrementing a counter and inserting it in the "ID" column, I have tried to check whether a row exists in the arraylist before adding it, I have tried to check to see if the row exists before removing it and nothing works. What am I missing here? This code has been in place for 4 months with no issues until today's input source (file) came in.

FYI - I can still run previous files but this one keeps causing the process to exception out.


CleaKO

"Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

GeneralRe: RowNotInTableException - VB.NET 2.0 Pin
pmarfleet31-Jan-08 9:20
pmarfleet31-Jan-08 9:20 
Question[Message Deleted] Pin
Jeminwins31-Jan-08 3:16
professionalJeminwins31-Jan-08 3:16 
GeneralRe: Combobox in Datagrid (windows) Pin
Justin Perez31-Jan-08 3:57
Justin Perez31-Jan-08 3:57 
GeneralRe: Combobox in Datagrid (windows) Pin
Jeminwins31-Jan-08 18:01
professionalJeminwins31-Jan-08 18:01 
GeneralRe: Combobox in Datagrid (windows) PinPopular
Justin Perez1-Feb-08 3:50
Justin Perez1-Feb-08 3:50 
GeneralRe: Combobox in Datagrid (windows) Pin
Mycroft Holmes1-Feb-08 17:18
professionalMycroft Holmes1-Feb-08 17:18 
QuestionVB.Net 2005 And Databinding Pin
ejaz_pk31-Jan-08 1:48
ejaz_pk31-Jan-08 1:48 
GeneralRe: VB.Net 2005 And Databinding Pin
pmarfleet31-Jan-08 8:51
pmarfleet31-Jan-08 8:51 
GeneralRe: VB.Net 2005 And Databinding Pin
Steven J Jowett31-Jan-08 8:52
Steven J Jowett31-Jan-08 8:52 
QuestionStack Overflow when adding controls across threads. Pin
Chinners30-Jan-08 23:25
Chinners30-Jan-08 23:25 
GeneralRe: Stack Overflow when adding controls across threads. Pin
m@u30-Jan-08 23:48
m@u30-Jan-08 23:48 
GeneralRe: Stack Overflow when adding controls across threads. Pin
Chinners31-Jan-08 0:16
Chinners31-Jan-08 0:16 
GeneralRe: Stack Overflow when adding controls across threads. Pin
m@u31-Jan-08 0:22
m@u31-Jan-08 0:22 
AnswerRe: Stack Overflow when adding controls across threads. Pin
Chinners31-Jan-08 0:31
Chinners31-Jan-08 0:31 
GeneralProblem with Excel Sheet name when importing using oledb Pin
RichardBerry30-Jan-08 21:28
RichardBerry30-Jan-08 21:28 
GeneralRe: Problem with Excel Sheet name when importing using oledb Pin
Johan Hakkesteegt31-Jan-08 0:47
Johan Hakkesteegt31-Jan-08 0:47 
GeneralRe: Problem with Excel Sheet name when importing using oledb Pin
RichardBerry31-Jan-08 3:58
RichardBerry31-Jan-08 3:58 

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.