ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] §PÂ_Àɮצs¦b§_? µ²ªG¬°"False¤£¦s¦b" ªºÀɮ׿é¥X¤å¦rÀÉ®×

¥»©«³Ì«á¥Ñ webbliu ©ó 2011-8-29 11:30 ½s¿è

¦^´_ 10# elinbit


    Dear ¤j¤j  
§Ú¤w¸g¸Ñ¨M¡A·PÁ§Aªº«ü¾É&«Øij
«D±`ÁÂÁÂ
§Úªº¸Ñªk¦p¤U~
  1. Dim sizefile As System.IO.FileInfo
  2. Dim apath As Sting
  3. Dim N As Integer
  4. Dim size =system.IO.Fileinfo

  5. For i =1 to N

  6. sizefile = My.Computer.FileSystem.GetFileInfo(apath)
  7.             On Error Resume Next
  8.             If sizefile.Length < 0 Then
  9.                 file.WriteLine("miss"+ ": " + apath)
  10.                 End If
  11.                 'Else

  12. ProgressBar1.Value = Int(i / n * 100)
  13. ProgressBar1.Refresh()

  14. Next
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD