|
-
Jun 11th, 2007, 08:09 AM
#1
Thread Starter
Fanatic Member
file system search program
I am trying to create a program that does a file system search.
I have a form that has three textboxes and a data grid and a search button.
One text box has the date and another has the month and the thrid contains the year. Upon clicking the search button a data grid gets populated on the form via the search that shows the file information which is in a pdf format shoudla user enter in a year that matches it pulls up all the files under that files and shows them in the grid..if they enter a month it shows all information under that month. Bu that's about all..can anyone help me figure out what I might need to do next exactly ? Or perhaps someone has an example handy that gives me an idea of what needs to be done ?
Now I remembered from last week that I would need the following in a subroutine:
Dim objStream As New FileStream(" file path", FileMode.Open)
Dim objReader As New StreamReader(objStream)
Dim strBuffer As String
strBuffer = objReader.ReadToEnd
objReader.Close()
objStream.Close()
MsgBox(strBuffer)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|