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

Visual Basic

 
GeneralRe: picturebox Pin
maytel27-Mar-06 14:38
maytel27-Mar-06 14:38 
QuestionHow to can the owner of a NTFS file? Pin
cylix200026-Mar-06 19:25
cylix200026-Mar-06 19:25 
AnswerRe: How to can the owner of a NTFS file? Pin
Colin Angus Mackay26-Mar-06 21:17
Colin Angus Mackay26-Mar-06 21:17 
GeneralRe: How to can the owner of a NTFS file? Pin
cylix200026-Mar-06 22:16
cylix200026-Mar-06 22:16 
Generalfile Owner Pin
cylix200026-Mar-06 22:17
cylix200026-Mar-06 22:17 
GeneralRe: file Owner Pin
Dave Kreskowiak27-Mar-06 5:24
mveDave Kreskowiak27-Mar-06 5:24 
Questionscan folder in vb 6.0 Pin
bony_baba26-Mar-06 19:15
bony_baba26-Mar-06 19:15 
AnswerRe: scan folder in vb 6.0 Pin
Dave Kreskowiak27-Mar-06 5:11
mveDave Kreskowiak27-Mar-06 5:11 
What do you mean by "scan"???

The basic framework is a recursive function (one that calls itself) with a path to "scan". You'll get the list of files in that path (directory, folder, what have you) and do whatever you need to on those files. You'll then get the list of subfolders in that path, build a new path with each of those subfolder names, and the function will call itself with each new path. A little pseudo-code:
Private Sub ScanFolder(ByVal path As String)
    ' Get list of files in "path" and process them.
    ' Get list of folders in "path"
    For Each subFolderName In SubFolders
        newPath = path + "\" + subFolderName
        ScanFolder subFolderName
    Next
End Sub



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: scan folder in vb 6.0 Pin
bony_baba27-Mar-06 16:46
bony_baba27-Mar-06 16:46 
QuestionRefreshing Crystal Reports at runtime Pin
Vikrant Badhai26-Mar-06 19:09
Vikrant Badhai26-Mar-06 19:09 
AnswerRe: Refreshing Crystal Reports at runtime Pin
Dave Kreskowiak27-Mar-06 5:07
mveDave Kreskowiak27-Mar-06 5:07 
GeneralRe: Refreshing Crystal Reports at runtime Pin
Vikrant Badhai27-Mar-06 20:26
Vikrant Badhai27-Mar-06 20:26 
GeneralRe: Refreshing Crystal Reports at runtime Pin
Dave Kreskowiak28-Mar-06 2:44
mveDave Kreskowiak28-Mar-06 2:44 
GeneralRe: Refreshing Crystal Reports at runtime Pin
Vikrant Badhai2-Apr-06 23:47
Vikrant Badhai2-Apr-06 23:47 
GeneralRe: Refreshing Crystal Reports at runtime Pin
Vikrant Badhai2-Apr-06 23:51
Vikrant Badhai2-Apr-06 23:51 
Questionis this achievable? Pin
uglyeyes26-Mar-06 16:44
uglyeyes26-Mar-06 16:44 
AnswerRe: is this achievable? Pin
Dave Kreskowiak27-Mar-06 5:03
mveDave Kreskowiak27-Mar-06 5:03 
GeneralRe: is this achievable? Pin
uglyeyes27-Mar-06 12:32
uglyeyes27-Mar-06 12:32 
GeneralRe: is this achievable? Pin
Dave Kreskowiak27-Mar-06 17:18
mveDave Kreskowiak27-Mar-06 17:18 
QuestionUrgent~ how to read next line from text? Pin
campbells26-Mar-06 15:02
campbells26-Mar-06 15:02 
AnswerRe: Urgent~ how to read next line from text? Pin
Christian Graus26-Mar-06 15:15
protectorChristian Graus26-Mar-06 15:15 
GeneralRe: Urgent~ how to read next line from text? Pin
campbells26-Mar-06 15:33
campbells26-Mar-06 15:33 
GeneralRe: Urgent~ how to read next line from text? Pin
Christian Graus26-Mar-06 16:12
protectorChristian Graus26-Mar-06 16:12 
GeneralRe: Urgent~ how to read next line from text? Pin
campbells26-Mar-06 16:45
campbells26-Mar-06 16:45 
GeneralRe: Urgent~ how to read next line from text? Pin
Christian Graus26-Mar-06 16:49
protectorChristian Graus26-Mar-06 16:49 

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.