Click here to Skip to main content
15,900,461 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionword document [modified] Pin
hsuresh4-Jul-07 2:34
hsuresh4-Jul-07 2:34 
AnswerRe: word document Pin
koolprasad20034-Jul-07 2:43
professionalkoolprasad20034-Jul-07 2:43 
GeneralRe: word document Pin
hsuresh4-Jul-07 2:55
hsuresh4-Jul-07 2:55 
GeneralRe: word document Pin
koolprasad20034-Jul-07 3:01
professionalkoolprasad20034-Jul-07 3:01 
GeneralRe: word document Pin
hsuresh4-Jul-07 3:08
hsuresh4-Jul-07 3:08 
GeneralRe: word document Pin
koolprasad20034-Jul-07 3:15
professionalkoolprasad20034-Jul-07 3:15 
GeneralRe: word document Pin
hsuresh4-Jul-07 23:19
hsuresh4-Jul-07 23:19 
QuestionConvert array to arraylist problem Pin
ESTAN4-Jul-07 2:26
ESTAN4-Jul-07 2:26 
hello guys

I have the following code:

Dim lineArray As String() = ProcessBuffer.ToString.Split(ControlChars.Cr)
Dim lineArrayList As ArrayList = ArrayList.Adapter(lineArray)

I use the Adapter method to convert my array to an arraylist, what is far more easy to work in my program.

Now when i want to remove a index I get this exception.

Unhandled Exception: System.NotSupportedException: Collection was of a fixed size.
at System.Array.System.Collections.IList.RemoveAt(Int32 index)
at System.Collections.IListWrapper.RemoveAt(Int32 index)


Anyone an idea how to avoid this problem without using a manual copy of all the elements into the arraylist. Because it seems that the arraylist gets a fixed size. :-/
AnswerRe: Convert array to arraylist problem Pin
Luc Pattyn4-Jul-07 4:55
sitebuilderLuc Pattyn4-Jul-07 4:55 
GeneralRe: Convert array to arraylist problem Pin
ESTAN4-Jul-07 6:52
ESTAN4-Jul-07 6:52 
GeneralRe: Convert array to arraylist problem Pin
Luc Pattyn4-Jul-07 7:12
sitebuilderLuc Pattyn4-Jul-07 7:12 
GeneralRe: Convert array to arraylist problem Pin
ESTAN6-Jul-07 0:04
ESTAN6-Jul-07 0:04 
QuestionRevolving around the forms Pin
ozzyrocsdbn4-Jul-07 1:58
ozzyrocsdbn4-Jul-07 1:58 
AnswerRe: Revolving around the forms Pin
Christian Graus4-Jul-07 2:04
protectorChristian Graus4-Jul-07 2:04 
GeneralRe: Revolving around the forms Pin
The ANZAC4-Jul-07 2:11
The ANZAC4-Jul-07 2:11 
GeneralRe: Revolving around the forms Pin
Christian Graus4-Jul-07 5:18
protectorChristian Graus4-Jul-07 5:18 
AnswerRe: Revolving around the forms Pin
The ANZAC4-Jul-07 2:12
The ANZAC4-Jul-07 2:12 
QuestionDrag Table to Form from Server Explorer Pin
Khan.Bangash4-Jul-07 1:21
Khan.Bangash4-Jul-07 1:21 
AnswerRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak4-Jul-07 5:25
mveDave Kreskowiak4-Jul-07 5:25 
GeneralRe: Drag Table to Form from Server Explorer Pin
Khan.Bangash5-Jul-07 2:22
Khan.Bangash5-Jul-07 2:22 
GeneralRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak5-Jul-07 4:50
mveDave Kreskowiak5-Jul-07 4:50 
GeneralRe: Drag Table to Form from Server Explorer Pin
Dave Kreskowiak8-Jul-07 6:52
mveDave Kreskowiak8-Jul-07 6:52 
QuestionHow to Get a file from network machine through installed service ? Pin
Rizwan Bashir4-Jul-07 0:44
Rizwan Bashir4-Jul-07 0:44 
AnswerRe: How to Get a file from network machine through installed service ? Pin
Dave Kreskowiak4-Jul-07 5:29
mveDave Kreskowiak4-Jul-07 5:29 
QuestionInformations that i need Pin
gazga3-Jul-07 23:56
gazga3-Jul-07 23:56 

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.