主要是通过http://www.time.ac.cn/timeflash.asp?user=flash这个网站获得时间,获取到的源码是XML格式的,按理来说用Microsoft.XMLDOM来分析比较方便,不过俺对这个组件不太熟悉,还是直接用正则好了。呵呵~
以下代码通过获取源码然后用正则提取出时、分、秒……等。...
主要是通过http://www.time.ac.cn/timeflash.asp?user=flash这个网站获得时间,获取到的源码是XML格式的,按理来说用Microsoft.XMLDOM来分析比较方便,不过俺对这个组件不太熟悉,还是直接用正则好了。呵呵~
以下代码通过获取源码然后用正则提取出时、分、秒……等。...
Declare Function SHGetPathFromIDList Lib "shell32.dll" _
Alias "SHGetPathFromIDListA" (ByVal pidl As Long, _
ByVal pszPath As String) As Long
Declare Function SHBrowseForFolder Lib "shell32.dll" _
...
Dim Path As String
Path="c:\linhaibo\index.html"
Shell "explorer.exe /select," & list1.Text, vbNormalFocus
...