当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 有同学问我这个问题,我就把代码贴在这里吧。
 

 

 ·新书推荐《aspectj cookbook 》    »显示摘要«
    摘要: aspectj cookbook 1st edition december 2004 (est.)series: cookbooks isbn: 0-596-00654-3500 pages, $44.95 us, $65.95 ca, £31.95 uk --> this hands-on book ......
    摘要: eclipse 1st edition april 2004 isbn: 0-596-00641-1334 pages, $44.95 us, $65.95 ca, £31.95 uk --> o´reilly&a......


VB中枚举指定目录下所有文件的方法

有同学问我这个问题,我就把代码贴在这里吧.

【程序编程相关:从袁隆平获国际大奖想到的(转)

【推荐阅读:[音乐天堂]Canon(弦乐版)

module1.bas文件: 【扩展信息:颜色调配用的参考,有兴趣可以看看

public const max_path = 260

public const file_attribute_archive = &h20

public const file_attribute_hidden = &h2

public const invalid_handle_value = -1

public type filetime

        dwlowdatetime as long

        dwhighdatetime as long

end type

public type win32_find_data

        dwfileattributes as long

        ftcreationtime as filetime

        ftlastaccesstime as filetime

        ftlastwritetime as filetime

        nfilesizehigh as long

        nfilesizelow as long

        dwreserved0 as long

        dwreserved1 as long

        cfilename as string * max_path

        calternate as string * 14

end type

public declare function findfirstfile lib "kernel32" alias "findfirstfilea" (byval lpfilename as string, lpfindfiledata as win32_find_data) as long


...   下一页
    摘要:/******雪龙原创*******///版权所有,末经作者同意不得转载 前段忙了好长一段时间,终于有点时间学点新东西了。记得前段看过几篇安全方面的文章,提到sql注入的问题,于是就想做些防注入方面的探索。要防范注入,最重要是对输入的信息,尤其是放到sql语句中执行的信息,进行验证,保证其中不包含恶意的sql元素,而这种验证,正好属于正则表达式的范围,于是对c#的正则表达式进行了实验,以......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE