Click here to Skip to main content
15,916,398 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: I wanted to learn VB.NET Pin
K Baruah16-Oct-05 20:37
K Baruah16-Oct-05 20:37 
QuestionTree Structure Pin
dave@ennead11-Oct-05 20:21
dave@ennead11-Oct-05 20:21 
AnswerRe: Tree Structure Pin
Briga11-Oct-05 22:57
Briga11-Oct-05 22:57 
QuestionUncompress Tar.Z Pin
shivakumar_m11-Oct-05 19:52
shivakumar_m11-Oct-05 19:52 
AnswerRe: Uncompress Tar.Z Pin
Dave Kreskowiak12-Oct-05 1:19
mveDave Kreskowiak12-Oct-05 1:19 
QuestionHow to specify the amount of files i need to grab through Directory.GetFiles() Pin
merlynml11-Oct-05 16:40
merlynml11-Oct-05 16:40 
AnswerRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
maxiachun11-Oct-05 18:01
maxiachun11-Oct-05 18:01 
AnswerRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
maxiachun11-Oct-05 18:05
maxiachun11-Oct-05 18:05 
i wrote a simple code as below:

Imports System.IO

Public Class Form1
Inherits System.Windows.Forms.Form

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
' Only get files that begin with the letter "c."
Dim dirs As String() = Directory.GetFiles("C:\Documents and Settings\Max\Desktop\software engineer", "*.ppt")
'MsgBox("The number of files starting with c is {0}." & dirs.Length)
Dim dir As String
Dim i As Integer = 0
For i = 0 To 4
dir += dirs(i)
Label1.Text = dir
Next
Catch ex As Exception
MsgBox("The process failed: {0}", e.ToString())
End Try
End Sub
End Class

I am Entry level person
GeneralRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
merlynml11-Oct-05 18:15
merlynml11-Oct-05 18:15 
GeneralRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
Dave Kreskowiak11-Oct-05 18:18
mveDave Kreskowiak11-Oct-05 18:18 
GeneralRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
merlynml11-Oct-05 18:31
merlynml11-Oct-05 18:31 
GeneralRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
Dave Kreskowiak12-Oct-05 1:17
mveDave Kreskowiak12-Oct-05 1:17 
GeneralRe: How to specify the amount of files i need to grab through Directory.GetFiles() Pin
merlynml12-Oct-05 1:26
merlynml12-Oct-05 1:26 
Questionhttp Response Pin
ybasha11-Oct-05 16:34
ybasha11-Oct-05 16:34 
Questionrequiredfield validator and rangevalidators don't work on remote server?? Pin
vicky45711-Oct-05 13:20
vicky45711-Oct-05 13:20 
AnswerRe: requiredfield validator and rangevalidators don't work on remote server?? Pin
Dave Kreskowiak11-Oct-05 13:48
mveDave Kreskowiak11-Oct-05 13:48 
GeneralRe: requiredfield validator and rangevalidators don't work on remote server?? Pin
vicky45711-Oct-05 14:01
vicky45711-Oct-05 14:01 
GeneralRe: requiredfield validator and rangevalidators don't work on remote server?? Pin
vicky45711-Oct-05 14:33
vicky45711-Oct-05 14:33 
QuestionPackeging And Deployment Problem Pin
shoaibnawaz11-Oct-05 12:23
shoaibnawaz11-Oct-05 12:23 
AnswerRe: Packeging And Deployment Problem Pin
Dave Kreskowiak11-Oct-05 13:47
mveDave Kreskowiak11-Oct-05 13:47 
QuestionErr Message Pin
No-e11-Oct-05 9:10
No-e11-Oct-05 9:10 
AnswerRe: Err Message Pin
Dave Kreskowiak11-Oct-05 9:18
mveDave Kreskowiak11-Oct-05 9:18 
QuestionExport Crystal into pdf Pin
Laasyalaasya11-Oct-05 8:23
Laasyalaasya11-Oct-05 8:23 
QuestionConverting Text file to Sql Table Pin
u_rocky11-Oct-05 8:03
u_rocky11-Oct-05 8:03 
AnswerRe: Converting Text file to Sql Table Pin
Dave Kreskowiak11-Oct-05 9:15
mveDave Kreskowiak11-Oct-05 9:15 

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.