Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Temp files


Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2003, 07:42 PM
VbItry
Guest
 
Posts: n/a
Default Temp files


Hello,All

First great site now could someone
please help me i am new to Vb
i would like to know how do you
scan for Index.dat & Temp files

from a Vb6 fourm that has a Button
named Scan i would like to click on this
Button & have all my Index.dat files
& Temp files show in a Text box or list box

can this be done please i have tried
to find this info but like
i said i am new at this so any help at all

I thank you have a good weekend
Reply With Quote
  #2  
Old 02-22-2003, 06:49 AM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

Maybe you should try the FileListBox control and set the pattern to *.dat... then it will show only DAT files.
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 02-22-2003, 07:51 AM
VbItry
Guest
 
Posts: n/a
Red face

Hello,Iceplug

First thanks for the reply but
i have no idea of what you
just said to me i am as new as
you will see need more info & help

Thank you
Reply With Quote
  #4  
Old 02-22-2003, 01:30 PM
Iceplug's Avatar
Iceplug Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: California, USA
Posts: 16,583
Default

OK.[list=1][*]Start VB & New Project[*]Identify the FileListBox control in the ToolBar... it should be to the left... The FileListBox looks like a piece of paper that is folded at the corner[*]Double-click the icon and it will add a file listbox to your form.[*]Make sure that the filelistbox is selected... then locate the properties window... it should be to the right, and it says Properties[*]Scroll the scrollbar until you find the Pattern property. Click it and then type *.dat[*]That should create a list of .dat files when you start VB.[*]You may have to change the Path property of the FileListBox to the directory that you want to view.[/list=1]
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->