文件名称:vbSearchfiles
介绍说明--下载内容均来自于网络,请自行研究使用
VB.Net查找文件的实例 Public Class Form1
查找文件
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
Dim MyDir As String = Me.textBox1.Text
Dim MyFiles = GetFiles(MyDir)
Dim MyStartDate As DateTime = Me.dateTimePicker1.Value
Dim MyEndDate As DateTime = Me.dateTimePicker2.Value
Dim MyQuery = From MyFile In MyFiles _-Search files
查找文件
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
Dim MyDir As String = Me.textBox1.Text
Dim MyFiles = GetFiles(MyDir)
Dim MyStartDate As DateTime = Me.dateTimePicker1.Value
Dim MyEndDate As DateTime = Me.dateTimePicker2.Value
Dim MyQuery = From MyFile In MyFiles _-Search files
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vbSearchfiles.txt