Click here to Skip to main content
15,887,676 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Interop C++ dll from vb.net Pin
ggoutam717-Nov-09 0:04
ggoutam717-Nov-09 0:04 
GeneralRe: Interop C++ dll from vb.net Pin
Luc Pattyn17-Nov-09 1:07
sitebuilderLuc Pattyn17-Nov-09 1:07 
QuestionDelete Empty fields from array ! Pin
jeshra27912-Nov-09 11:46
jeshra27912-Nov-09 11:46 
AnswerRe: Delete Empty fields from array ! Pin
Christian Graus12-Nov-09 13:17
protectorChristian Graus12-Nov-09 13:17 
GeneralRe: Delete Empty fields from array ! Pin
Oakman12-Nov-09 15:31
Oakman12-Nov-09 15:31 
GeneralRe: Delete Empty fields from array ! Pin
EliottA12-Nov-09 15:37
EliottA12-Nov-09 15:37 
GeneralRe: Delete Empty fields from array ! Pin
EliottA12-Nov-09 15:38
EliottA12-Nov-09 15:38 
AnswerRe: Delete Empty fields from array ! [modified] Pin
MikeMarq12-Nov-09 16:47
MikeMarq12-Nov-09 16:47 
Assuming you have a variable that holds how many items are in the array you can use the redim preserve commands.

redim preserve yourarray(number_of_items)

One warning though. Don't overuse this command because internally it creates a new array and copies all of the contents to the new array so if you call this too many times with large arrays it can make your program slow. Also if you resize arrays like this make sure you pass them byref not byval or else the changes won't be reflected in the calling function/sub.

modified on Thursday, November 12, 2009 10:57 PM

QuestionJunior Sql Query Pin
beker_usa12-Nov-09 11:20
beker_usa12-Nov-09 11:20 
AnswerRe: Junior Sql Query Pin
beker_usa12-Nov-09 11:29
beker_usa12-Nov-09 11:29 
GeneralRe: Junior Sql Query Pin
Christian Graus12-Nov-09 13:17
protectorChristian Graus12-Nov-09 13:17 
AnswerRe: Junior Sql Query Pin
Luc Pattyn12-Nov-09 11:59
sitebuilderLuc Pattyn12-Nov-09 11:59 
QuestionSplit string Pin
ivo7512-Nov-09 7:38
ivo7512-Nov-09 7:38 
AnswerRe: Split string Pin
Luc Pattyn12-Nov-09 7:42
sitebuilderLuc Pattyn12-Nov-09 7:42 
GeneralRe: Split string Pin
Christian Graus12-Nov-09 9:33
protectorChristian Graus12-Nov-09 9:33 
GeneralRe: Split string Pin
Luc Pattyn12-Nov-09 10:20
sitebuilderLuc Pattyn12-Nov-09 10:20 
AnswerRe: Split string Pin
Kschuler12-Nov-09 7:43
Kschuler12-Nov-09 7:43 
GeneralRe: Split string Pin
ivo7512-Nov-09 7:52
ivo7512-Nov-09 7:52 
AnswerRe: Split string Pin
Shameel12-Nov-09 23:16
professionalShameel12-Nov-09 23:16 
QuestionDelete Database entries!!! Pin
jeshra27912-Nov-09 7:36
jeshra27912-Nov-09 7:36 
AnswerRe: Delete Database entries!!! Pin
Kschuler12-Nov-09 7:46
Kschuler12-Nov-09 7:46 
GeneralRe: Delete Database entries!!! Pin
jeshra27912-Nov-09 10:00
jeshra27912-Nov-09 10:00 
GeneralRe: Delete Database entries!!! Pin
Kschuler12-Nov-09 10:03
Kschuler12-Nov-09 10:03 
GeneralRe: Delete Database entries!!! Pin
jeshra27912-Nov-09 10:27
jeshra27912-Nov-09 10:27 
GeneralRe: Delete Database entries!!! Pin
Luc Pattyn12-Nov-09 10:17
sitebuilderLuc Pattyn12-Nov-09 10:17 

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.