Click here to Skip to main content
15,897,518 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionVB 6 question, Pin
nitin314-May-08 20:57
nitin314-May-08 20:57 
AnswerRe: VB 6 question, Pin
helelark12315-May-08 3:34
helelark12315-May-08 3:34 
QuestionSelect Multiple File in Single Open File Dialog Box Pin
TeiUKei14-May-08 20:52
TeiUKei14-May-08 20:52 
AnswerRe: Select Multiple File in Single Open File Dialog Box Pin
Ajay.k_Singh14-May-08 21:06
Ajay.k_Singh14-May-08 21:06 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
TeiUKei14-May-08 21:24
TeiUKei14-May-08 21:24 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
Ajay.k_Singh14-May-08 21:39
Ajay.k_Singh14-May-08 21:39 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
TeiUKei14-May-08 22:25
TeiUKei14-May-08 22:25 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
Ajay.k_Singh14-May-08 22:31
Ajay.k_Singh14-May-08 22:31 
Make it -

For LoopCtrl = 0 To ImgName.Length-1

objImage(LoopCtrl) = Image.FromFile(ImgName(LoopCtrl))

Next LoopCtrl
-----------

If you are selecting two files, ImgName.Length will be 2, however index for two elements would be 0 and 1.

Therefore we need to run loop from 0 to ImgName.Length-1.

-Ajay.

-------------------------
www.componentone.com
-------------------------

GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
TeiUKei14-May-08 22:38
TeiUKei14-May-08 22:38 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
Ajay.k_Singh14-May-08 22:50
Ajay.k_Singh14-May-08 22:50 
GeneralRe: Select Multiple File in Single Open File Dialog Box Pin
TeiUKei14-May-08 22:59
TeiUKei14-May-08 22:59 
QuestionCna we have Nested Try and Catch IN VB 2005 Pin
nishkarsh_k14-May-08 20:22
nishkarsh_k14-May-08 20:22 
AnswerRe: Cna we have Nested Try and Catch IN VB 2005 Pin
Mycroft Holmes14-May-08 20:44
professionalMycroft Holmes14-May-08 20:44 
QuestionCompare text files using VB 2008 Pin
mahan14-May-08 16:44
mahan14-May-08 16:44 
AnswerRe: Compare text files using VB 2008 Pin
Christian Graus14-May-08 17:03
protectorChristian Graus14-May-08 17:03 
AnswerRe: Compare text files using VB 2008 Pin
Rajesh Anuhya14-May-08 18:50
professionalRajesh Anuhya14-May-08 18:50 
GeneralRe: Compare text files using VB 2008 Pin
Christian Graus14-May-08 19:58
protectorChristian Graus14-May-08 19:58 
Questionsend data to selected ip address problem Pin
shee_dee8614-May-08 15:30
shee_dee8614-May-08 15:30 
AnswerRe: send data to selected ip address problem Pin
Christian Graus14-May-08 15:37
protectorChristian Graus14-May-08 15:37 
QuestionGuide to multiple client Pin
shee_dee8614-May-08 14:51
shee_dee8614-May-08 14:51 
AnswerRe: Guide to multiple client Pin
Christian Graus14-May-08 15:00
protectorChristian Graus14-May-08 15:00 
GeneralRe: Guide to multiple client Pin
shee_dee8614-May-08 15:23
shee_dee8614-May-08 15:23 
GeneralRe: Guide to multiple client Pin
Christian Graus14-May-08 15:36
protectorChristian Graus14-May-08 15:36 
QuestionWant to do a pagesetup for the Excel file in VB Pin
sant_leo14-May-08 8:08
sant_leo14-May-08 8:08 
QuestionHow to use a int128 in VB.net? Pin
kristofvanderhaeghen14-May-08 7:44
kristofvanderhaeghen14-May-08 7:44 

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.