打印本文 打印本文 关闭窗口 关闭窗口
自动安装SQL Server数据库
作者:武汉SEO闵涛  文章来源:敏韬网  点击数25105  更新时间:2007/11/14 13:00:23  文章录入:mintao  责任编辑:mintao
Function DeleteDIR(ByVal path As String) As Boolean

删除指定的文件夹

        Dim dir As System.IO.Directory

        If dir.Exists(path) = True Then dir.Delete(path, True)

End Function

 

Private Function CreatDIR(ByVal path As String) As Boolean

创建指定的文件夹

        Dim Files As System.IO.File

        Dim Dirs As System.IO.Directory

        Try

If Dirs.Exists(c:\TempDB) = False Then Dirs.CreateDirectory(c:\TempDB)

copy Creat DB files

CopyFile(path + \TempDB

 << 上一页  [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]  下一页

打印本文 打印本文 关闭窗口 关闭窗口