Click here to Skip to main content
16,004,927 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn3-Jan-09 1:40
sitebuilderLuc Pattyn3-Jan-09 1:40 
GeneralRe: how to display files that are not in directory? Pin
zaimah3-Jan-09 20:43
zaimah3-Jan-09 20:43 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn4-Jan-09 0:39
sitebuilderLuc Pattyn4-Jan-09 0:39 
GeneralRe: how to display files that are not in directory? Pin
zaimah4-Jan-09 2:39
zaimah4-Jan-09 2:39 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn4-Jan-09 6:03
sitebuilderLuc Pattyn4-Jan-09 6:03 
QuestionRe: how to display files that are not in directory? Pin
zaimah8-Jan-09 20:31
zaimah8-Jan-09 20:31 
AnswerRe: how to display files that are not in directory? Pin
Luc Pattyn9-Jan-09 1:21
sitebuilderLuc Pattyn9-Jan-09 1:21 
GeneralRe: how to display files that are not in directory? Pin
zaimah11-Jan-09 14:35
zaimah11-Jan-09 14:35 
Thanks for the explaination.. It really helps me understand the problems. iv got a few helps from friends and this are the new coding that i did. but still it keeps on repeating the name of the files..


Dim folderALocation As String = txtdir1.Text
Dim folderBLocation As String = txtdir2.Text

   
'Get all files in Folder A including those found in sub directories
  Dim folderAFiles() As String = System.IO.Directory.GetFiles  
  (folderALocation, "*.*", IO.SearchOption.AllDirectories)

'Enumerate through the string array and determine if each file exists within Folder B
        
   For Each fileName As String In folderAFiles

      If System.IO.File.Exists(fileName.Replace(folderALocation,  
      folderBLocation)) = False Then
            ListBox1.Items.Add(fileName)
      End If

      Next

GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn11-Jan-09 15:22
sitebuilderLuc Pattyn11-Jan-09 15:22 
GeneralRe: how to display files that are not in directory? Pin
zaimah11-Jan-09 16:14
zaimah11-Jan-09 16:14 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn11-Jan-09 16:45
sitebuilderLuc Pattyn11-Jan-09 16:45 
GeneralRe: how to display files that are not in directory? Pin
zaimah11-Jan-09 17:26
zaimah11-Jan-09 17:26 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn11-Jan-09 18:32
sitebuilderLuc Pattyn11-Jan-09 18:32 
GeneralRe: how to display files that are not in directory? Pin
zaimah11-Jan-09 21:14
zaimah11-Jan-09 21:14 
GeneralRe: how to display files that are not in directory? Pin
Luc Pattyn12-Jan-09 2:24
sitebuilderLuc Pattyn12-Jan-09 2:24 
QuestionRetrieve last ID from SQl server Pin
Jodd2-Jan-09 13:15
Jodd2-Jan-09 13:15 
AnswerRe: Retrieve last ID from SQl server Pin
Mycroft Holmes2-Jan-09 15:35
professionalMycroft Holmes2-Jan-09 15:35 
AnswerRe: Retrieve last ID from SQl server Pin
N a v a n e e t h2-Jan-09 15:51
N a v a n e e t h2-Jan-09 15:51 
AnswerRe: Retrieve last ID from SQl server Pin
TheComputerMan3-Jan-09 4:44
TheComputerMan3-Jan-09 4:44 
AnswerRe: Retrieve last ID from SQl server Pin
TheComputerMan3-Jan-09 4:49
TheComputerMan3-Jan-09 4:49 
QuestionLost Feature in VB Pin
udatl2-Jan-09 10:57
udatl2-Jan-09 10:57 
AnswerRe: Lost Feature in VB Pin
Fabio V Silva2-Jan-09 12:04
Fabio V Silva2-Jan-09 12:04 
GeneralRe: Lost Feature in VB Pin
udatl2-Jan-09 16:25
udatl2-Jan-09 16:25 
GeneralRe: Lost Feature in VB Pin
TheComputerMan3-Jan-09 4:28
TheComputerMan3-Jan-09 4:28 
QuestionWant to add a comboboxcolumn runtime and pass value to the comboboxcolumn runtime Pin
Nattumakkan2-Jan-09 5:37
Nattumakkan2-Jan-09 5:37 

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.