Click here to Skip to main content
15,913,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: MyBase Keyword Pin
Fernando Soto30-Apr-05 13:12
Fernando Soto30-Apr-05 13:12 
GeneralRe: MyBase Keyword Pin
Ray Cassick1-May-05 9:40
Ray Cassick1-May-05 9:40 
GeneralUrgent !!! Pin
vishalmishra30-Apr-05 11:06
vishalmishra30-Apr-05 11:06 
Generaltextbox flat not fixed3d Pin
Computer_Guy30-Apr-05 9:24
Computer_Guy30-Apr-05 9:24 
Generaladvanced datagrid Pin
Anonymous30-Apr-05 8:34
Anonymous30-Apr-05 8:34 
GeneralRe: advanced datagrid Pin
Madni Abbasi30-Apr-05 23:24
Madni Abbasi30-Apr-05 23:24 
GeneralPassing 1-d String Array to 3-d String Array Pin
Mtognetti30-Apr-05 8:20
Mtognetti30-Apr-05 8:20 
GeneralRe: Passing 1-d String Array to 3-d String Array Pin
Fernando Soto30-Apr-05 14:51
Fernando Soto30-Apr-05 14:51 
Arrays in VB.Net can be created dynamically. The way to do this is when you need to make the array bigger use the ReDim statement. If you want to keep all of the current data in the array and just want to add some more elements you must also add the keyword Preserve. Care must be taken because if you have an array of “Dim myStr(9, 10) As String” you want to add 5 more elements you would execute the statement “ReDim Preserve myStr(9, 15)”. Make sure that the new array is bigger then the old array because if it is smaller the old data will be truncated in the new size. Also on multidimensional arrays the only dimension that can be resized is the right most dimension.

Dim myString( 2, 5 ) As String


Some Processing


‘ Need to make array bigger by 25 elements
ReDim Preserve myString(2, myString.GetUpperBound(1) + 25)




GeneralRe: Passing 1-d String Array to 3-d String Array Pin
Mtognetti2-May-05 3:13
Mtognetti2-May-05 3:13 
GeneralVB.Net - Menu process Pin
directred30-Apr-05 7:42
directred30-Apr-05 7:42 
GeneralRe: VB.Net - Menu process Pin
Dave Kreskowiak1-May-05 3:47
mveDave Kreskowiak1-May-05 3:47 
Generalcontrol Dev Pin
DanChin30-Apr-05 4:16
DanChin30-Apr-05 4:16 
GeneralRe: control Dev Pin
Mekong River30-Apr-05 6:33
Mekong River30-Apr-05 6:33 
GeneralVB.NET Solution Statistics - Tips Pin
GuruPandian30-Apr-05 2:59
GuruPandian30-Apr-05 2:59 
GeneralRe: VB.NET Solution Statistics - Tips Pin
Dave Kreskowiak30-Apr-05 3:31
mveDave Kreskowiak30-Apr-05 3:31 
QuestionHow to clear picturebox in vb.net Pin
meghadwivedi30-Apr-05 0:32
meghadwivedi30-Apr-05 0:32 
AnswerRe: How to clear picturebox in vb.net Pin
GuruPandian30-Apr-05 3:18
GuruPandian30-Apr-05 3:18 
AnswerRe: How to clear picturebox in vb.net Pin
Dave Kreskowiak30-Apr-05 3:26
mveDave Kreskowiak30-Apr-05 3:26 
GeneralRe: How to clear picturebox in vb.net Pin
GuruPandian30-Apr-05 3:31
GuruPandian30-Apr-05 3:31 
GeneralRe: How to clear picturebox in vb.net Pin
Dave Kreskowiak30-Apr-05 4:14
mveDave Kreskowiak30-Apr-05 4:14 
QuestionHow can we customize the crystal report design at run time? Pin
Madni Abbasi29-Apr-05 23:35
Madni Abbasi29-Apr-05 23:35 
Generalif Pin
Yulianto.29-Apr-05 17:46
Yulianto.29-Apr-05 17:46 
GeneralRe: if Pin
Fernando Soto29-Apr-05 19:06
Fernando Soto29-Apr-05 19:06 
GeneralGetSchemeTable problem - IsKeyColumn Pin
Len Miller29-Apr-05 16:06
Len Miller29-Apr-05 16:06 
GeneralRe: GetSchemeTable problem - IsKeyColumn Pin
Len Miller29-Apr-05 16:36
Len Miller29-Apr-05 16: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.