ªð¦^¦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 : ¤H¥Í¤£¤@©w²y²y¬O¦n²y¡A¦ý¬O¦³¾ú½mªº±j¥´ªÌ¡AÀH®É³£¥i¥H´§´Î¡C
ªð¦^¦Cªí ¤W¤@¥DÃD