VB转到文件夹并选中该文件

Dim Path As String

Path="c:\linhaibo\index.html"

Shell "explorer.exe /select," & list1.Text, vbNormalFocus

...

VB 遍历指定目录下的指定扩展名文件

Public Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long
Public Declare Function FindNextFile Lib "kernel32" Alias "FindNextFileA" (ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long
...

分页:«12»

Copyright © 2009-2011 linhaibo.com. All Rights Reserved .