Click here to Skip to main content
16,020,345 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to take images path into an array Pin
helelark1235-Jul-09 21:08
helelark1235-Jul-09 21:08 
GeneralRe: how to take images path into an array Pin
AjitMourya5-Jul-09 21:42
AjitMourya5-Jul-09 21:42 
GeneralRe: how to take images path into an array Pin
Pasan1486-Jul-09 0:55
Pasan1486-Jul-09 0:55 
GeneralRe: how to take images path into an array Pin
helelark1236-Jul-09 19:18
helelark1236-Jul-09 19:18 
GeneralRe: how to take images path into an array Pin
KIDYA7-Jul-09 0:08
KIDYA7-Jul-09 0:08 
GeneralRe: how to take images path into an array Pin
helelark1237-Jul-09 1:44
helelark1237-Jul-09 1:44 
GeneralRe: how to take images path into an array Pin
KIDYA7-Jul-09 2:34
KIDYA7-Jul-09 2:34 
GeneralRe: how to take images path into an array Pin
helelark1237-Jul-09 10:05
helelark1237-Jul-09 10:05 
Option Explicit On
Imports System.IO

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim fld As New DirectoryInfo("C:\MyPictures\")
Dim arrImages() As String, ind As Integer = 0

For Each fil As FileInfo In fld.GetFiles("*.jpg")
ReDim Preserve arrImages(ind)

arrImages(ind) = fil.FullName
ind += 1
Next
End Sub
End Class

hope it helps you

Shay Noy

GeneralRe: how to take images path into an array Pin
KIDYA7-Jul-09 22:54
KIDYA7-Jul-09 22:54 
QuestionDEVELOPING A HOTEL RESERVATION SYSTEM Pin
kimbowa sande5-Jul-09 20:38
kimbowa sande5-Jul-09 20:38 
AnswerRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Mycroft Holmes5-Jul-09 21:19
professionalMycroft Holmes5-Jul-09 21:19 
AnswerRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Tom Deketelaere5-Jul-09 22:27
professionalTom Deketelaere5-Jul-09 22:27 
GeneralRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Colin Angus Mackay6-Jul-09 2:02
Colin Angus Mackay6-Jul-09 2:02 
GeneralRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Eddy Vluggen6-Jul-09 3:13
professionalEddy Vluggen6-Jul-09 3:13 
AnswerRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Colin Angus Mackay6-Jul-09 2:05
Colin Angus Mackay6-Jul-09 2:05 
GeneralRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
kimbowa sande30-Jul-09 4:39
kimbowa sande30-Jul-09 4:39 
GeneralRe: DEVELOPING A HOTEL RESERVATION SYSTEM Pin
Colin Angus Mackay30-Jul-09 10:02
Colin Angus Mackay30-Jul-09 10:02 
Questionhow to add sql statement in databinding?, vb 2005 Pin
wongth75-Jul-09 20:23
wongth75-Jul-09 20:23 
Questionproblem with delete button ..vb 2005 Pin
wongth75-Jul-09 20:17
wongth75-Jul-09 20:17 
QuestionPrint Out Problem in Billing system??? Pin
JC.KaNNaN5-Jul-09 19:32
JC.KaNNaN5-Jul-09 19:32 
AnswerRe: Print Out Problem in Billing system??? Pin
EliottA6-Jul-09 2:53
EliottA6-Jul-09 2:53 
QuestionWrite to a word doc which is already open. Pin
Musa Biralo5-Jul-09 16:47
Musa Biralo5-Jul-09 16:47 
AnswerRe: Write to a word doc which is already open. Pin
Christian Graus5-Jul-09 17:03
protectorChristian Graus5-Jul-09 17:03 
QuestionSorting a structure array Pin
Jacob Dixon5-Jul-09 11:53
Jacob Dixon5-Jul-09 11:53 
AnswerRe: Sorting a structure array Pin
Luc Pattyn5-Jul-09 12:40
sitebuilderLuc Pattyn5-Jul-09 12:40 

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.