Click here to Skip to main content
15,888,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: free component Pin
aspnet_225-Sep-06 21:03
aspnet_225-Sep-06 21:03 
GeneralRe: free component Pin
Dave Kreskowiak6-Sep-06 1:54
mveDave Kreskowiak6-Sep-06 1:54 
Questionllofree component Pin
aspnet_222-Sep-06 11:27
aspnet_222-Sep-06 11:27 
QuestionINSERT, DELETE, UPDATE Staments for 2 tables [modified] Pin
R. A. Abbasi2-Sep-06 9:09
R. A. Abbasi2-Sep-06 9:09 
QuestionPassword Protection in vb.net 1.1 Pin
amaneet2-Sep-06 3:37
amaneet2-Sep-06 3:37 
AnswerRe: Password Protection in vb.net 1.1 Pin
Dave Kreskowiak2-Sep-06 7:01
mveDave Kreskowiak2-Sep-06 7:01 
Questionmigrating from crystal report 8.5 to 10.0 giving error Pin
prashanttcs2-Sep-06 2:53
prashanttcs2-Sep-06 2:53 
QuestionBasic Question: String declaration with "child values" Pin
re infecta2-Sep-06 0:28
re infecta2-Sep-06 0:28 
I wonder if it is possible to have a string variable that has many "child values". I mean, is it possible to declare

Dim saved(i) as String

and then save different string values to saved(1), saved(2),..., saved(n)?

I have tried this, but without success.

I have declared string and an integer
Dim i as Integer
Dim saved(i) as String

Then I have a wrote a loop that adds 1 to i and then saves a value to the string variable:

Do
i = i + 1
save(i) = StringVariableX.SubString (0,i)
Loop

The error I keep getting is: "Exception System.NullReferenceException was thrown in debuggee:
Object reference not set to an instance of an object."
AnswerRe: Basic Question: String declaration with "child values" Pin
Guffa2-Sep-06 13:06
Guffa2-Sep-06 13:06 
GeneralRe: Basic Question: String declaration with "child values" Pin
re infecta2-Sep-06 13:37
re infecta2-Sep-06 13:37 
AnswerRe: Basic Question: String declaration with "child values" Pin
Guffa2-Sep-06 15:58
Guffa2-Sep-06 15:58 
GeneralRe: Basic Question: String declaration with "child values" Pin
re infecta2-Sep-06 21:39
re infecta2-Sep-06 21:39 
Questiondynamic setup preparation Pin
Pradip Kishore2-Sep-06 0:24
Pradip Kishore2-Sep-06 0:24 
QuestionBubble up User Control event Pin
FreQi1-Sep-06 15:57
FreQi1-Sep-06 15:57 
AnswerRe: Bubble up User Control event Pin
Dave Kreskowiak2-Sep-06 7:39
mveDave Kreskowiak2-Sep-06 7:39 
AnswerRe: Bubble up User Control event Pin
Davelister3-Sep-06 6:45
Davelister3-Sep-06 6:45 
QuestionRe: Bubble up User Control event Pin
FreQi3-Sep-06 8:14
FreQi3-Sep-06 8:14 
QuestionRemoving items from CheckedListBox Pin
The ANZAC1-Sep-06 14:11
The ANZAC1-Sep-06 14:11 
AnswerRe: Removing items from CheckedListBox Pin
Davelister3-Sep-06 7:00
Davelister3-Sep-06 7:00 
GeneralRe: Removing items from CheckedListBox Pin
The ANZAC3-Sep-06 11:14
The ANZAC3-Sep-06 11:14 
GeneralRe: Removing items from CheckedListBox Pin
Davelister4-Sep-06 10:37
Davelister4-Sep-06 10:37 
QuestionDisable maximize on a transparent form Pin
re infecta1-Sep-06 12:25
re infecta1-Sep-06 12:25 
AnswerRe: Disable maximize on a transparent form Pin
Marek Grzenkowicz1-Sep-06 23:31
Marek Grzenkowicz1-Sep-06 23:31 
GeneralRe: Disable maximize on a transparent form Pin
re infecta2-Sep-06 0:07
re infecta2-Sep-06 0:07 
GeneralRe: Disable maximize on a transparent form Pin
re infecta3-Sep-06 0:36
re infecta3-Sep-06 0:36 

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.