I am having trouble loading a variable with correct values.
If my checkbox is unchecked it will load with the correct values but if
it is checked then it will not load the correct values. CheckedListBox1
contains the names of filenames.
Dim AffectedDirectory As System.IO.DirectoryInfo
Dim FileList() As System.IO.FileInfo
If CB_Verify.Checked = False Then
FileList =
AffectedDirectory.GetFiles(Me.TB_FileFilter.Text)
Else
FileList = (CheckedListBox1.SelectedItems)
<<<<<<<<<<<This line is not working
End If
What should I be looking for?
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/