Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. Imports System.IO
  2. Imports System.Net
  3. Imports System.Text
  4. Imports System.Net.NetworkInformation
  5. Public Class HX_PGS_UPDATE
  6. ReadOnly ds2 As New DataSet
  7. ReadOnly computerProperties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
  8. ReadOnly IPEndPoint() As EndPoint = computerProperties.GetActiveTcpListeners()
  9. Dim myIPEndPoint As IPEndPoint
  10. Dim 內網線路, 開發線路, 刪除完成, OK1, OK2, OK3, OK4, OK5, OK6, OK7, OK8, OK9, OK10 As Boolean
  11. Dim Str As String = Application.StartupPath
  12. Dim TF As String
  13. Private Sub Set_清單1()
  14. ftp清單_dgv.DataSource = Nothing : ds2.Clear()
  15. ftp清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
  16. ftp清單_dgv.ColumnHeadersHeight = 25
  17. ftp清單_dgv.AllowUserToAddRows = False
  18. SQL_FTP資料夾路徑分配()
  19. da.Fill(ds2) : ftp清單_dgv.DataSource = ds2.Tables(0) : conn.Close()
  20. End Sub
  21. Private Sub IP比對()
  22. '-----------------------確認登入伺服器位置-----------------------------------------------------------------------------------------------------------------------------------------
  23. If SQL_連線狀態模組2.ConnectTest2("192.168.0.187,1433") = True Then
  24. 登入人IP = "192.168.0.187,1433"
  25. Else
  26. If SQL_連線狀態模組1.ConnectTest1("106.1.49.218,2433") = True Then
  27. 登入人IP = "106.1.49.218,2433"
  28. Else
  29. 線路選擇.ShowDialog()
  30. End If
  31. End If
  32. End Sub
  33. Private Sub HX_PGS_UPDATE_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  34. Dim strDirName As String : Dim Strs As String = Application.StartupPath
  35. 'If File.Exists(Strs & "\OPUPDATE.txt") Then : File.Delete(Strs & "\OPUPDATE.txt") : End If
  36. 'strDirName = Strs & "\OPUPDATE.txt"
  37. 'Try
  38. ' Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
  39. ' Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
  40. ' Dim str1 As String = "..."
  41. ' sw.WriteLine(str1) '插入一整行
  42. ' sw.Flush()
  43. ' End Using
  44. ' End Using
  45. 'Catch ex As Exception
  46. 'End Try
  47. IP比對()
  48. If 登入人IP = "192.168.0.187,1433" Then : Target = "ftp://106.1.48.106:2121/WS-ERP/" : FTP物理位置 = "D:\FTP\WS-ERP\" : TF = "192-SQL-"
  49. ElseIf 登入人IP = "106.1.49.218,2433" Then : Target = "ftp://106.1.48.106:2121/WS-ERP/" : FTP物理位置 = "D:\FTP\WS-ERP\" : TF = "106-SQL-"
  50. End If : FTP帳號 = "" : FTP密碼 = "" : SQL_連線字串_正式()
  51. '----------判斷是否有更新指定檔案-------------------------------------------------------------------------------------
  52. If File.Exists(Strs & "\WSUPDATE.txt") Then : Else
  53. strDirName = Strs & "\WSUPDATE.txt"
  54. Try
  55. Using fs As IO.FileStream = New IO.FileStream(strDirName, FileMode.Append)
  56. Using sw As StreamWriter = New StreamWriter(fs, Encoding.Default)
  57. Dim strk As String = "3"
  58. sw.WriteLine(strk) '插入一整行
  59. sw.Flush()
  60. End Using
  61. End Using
  62. Catch ex As Exception
  63. End Try
  64. End If
  65. Set_清單1()
  66. Dim HH As String = ""
  67. For i As Integer = 0 To ftp清單_dgv.Rows.Count - 1
  68. If i < 10 Then : HH = "0" & i : ElseIf i >= 10 Then : HH = i : End If
  69. If ftp清單_dgv("指定", i).Value.ToString = "AA" & HH Then : AA(i) = ftp清單_dgv("資料夾名稱", i).Value.ToString : End If
  70. Next
  71. Target1 = Target & AA(0) & "/"
  72. Me.Text = "UPDATE " & TF
  73. '----------讀取更新指定檔案-------------------------------------------------------------------------------------
  74. Dim Str As String = Application.StartupPath
  75. If File.Exists(Str + "\WSUPDATE.txt") Then
  76. Dim filereader = My.Computer.FileSystem.OpenTextFileReader(Str + "\WSUPDATE.txt", System.Text.Encoding.Default)
  77. Dim Text As String = "" : Dim line As String = filereader.ReadLine()
  78. While Not (line Is Nothing) : Text = Text & line & vbCrLf : line = filereader.ReadLine() : End While : filereader.Close()
  79. If Strings.Left(Text, 1) = "1" Then
  80. 小更新_ch.Checked = True : 中更新_ch.Checked = False : 大更新_ch.Checked = False : 資料數 = 2
  81. ElseIf Strings.Left(Text, 1) = "2" Then
  82. 小更新_ch.Checked = False : 中更新_ch.Checked = True : 大更新_ch.Checked = False : 資料數 = 70
  83. ElseIf Strings.Left(Text, 1) = "3" Then
  84. 小更新_ch.Checked = False : 中更新_ch.Checked = False : 大更新_ch.Checked = True : 資料數 = 226
  85. End If
  86. End If
  87. End Sub
  88. Private Sub HX_PGS_UPDATE_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
  89. If 小更新_ch.Checked = True Then
  90. 刪除完成 = True : 小更新.Enabled = True
  91. ElseIf 中更新_ch.Checked = True Then
  92. 刪除完成 = True : 中更新.Enabled = True
  93. ElseIf 大更新_ch.Checked = True Then
  94. 刪除所有檔案.Enabled = True : 大更新.Enabled = True
  95. End If
  96. '--- 開啟專案---------------------------------------------------------------------------------------------------------------------------
  97. OK.Enabled = True
  98. End Sub
  99. Private Sub 小更新_Tick(sender As Object, e As EventArgs) Handles 小更新.Tick
  100. If 刪除完成 = True Then
  101. 小更新.Enabled = False
  102. 主程式更新.Enabled = True : OK2 = True : OK3 = True : OK4 = True : OK5 = True : OK6 = True : OK7 = True : OK8 = True : OK9 = True : OK10 = True
  103. End If
  104. End Sub
  105. Private Sub 中更新_Tick(sender As Object, e As EventArgs) Handles 中更新.Tick
  106. If 刪除完成 = True Then
  107. 中更新.Enabled = False
  108. '--- 刪除在下載---------------------------------------------------------------------------------------------------------------------------
  109. 主程式更新.Enabled = True : 刪除在下載.Enabled = True
  110. '--- 比對下載---------------------------------------------------------------------------------------------------------------------------
  111. 驗證存在1.Enabled = True : 驗證存在2.Enabled = True : 驗證存在3.Enabled = True : 驗證存在4.Enabled = True : 驗證存在5.Enabled = True
  112. 驗證存在6.Enabled = True : 驗證存在7.Enabled = True : OK10 = True
  113. End If
  114. End Sub
  115. Private Sub 大更新_Tick(sender As Object, e As EventArgs) Handles 大更新.Tick
  116. If 刪除完成 = True Then
  117. 大更新.Enabled = False
  118. '--- 刪除在下載---------------------------------------------------------------------------------------------------------------------------
  119. 主程式更新.Enabled = True : 刪除在下載.Enabled = True
  120. '--- 比對下載---------------------------------------------------------------------------------------------------------------------------
  121. 驗證存在1.Enabled = True : 驗證存在2.Enabled = True : 驗證存在3.Enabled = True : 驗證存在4.Enabled = True : 驗證存在5.Enabled = True
  122. 驗證存在6.Enabled = True : 驗證存在7.Enabled = True
  123. End If
  124. End Sub
  125. Public Sub Delay(ByRef Interval As Double) 'Interval单位为毫秒
  126. Dim time As DateTime = DateTime.Now
  127. Dim Span As Double = Interval * 1234
  128. While ((DateTime.Now.Ticks - time.Ticks) < Span)
  129. Application.DoEvents()
  130. End While
  131. End Sub
  132. Private Sub OK_Tick(sender As Object, e As EventArgs) Handles OK.Tick
  133. If OK1 = True And OK2 = True And OK3 = True And OK4 = True And OK5 = True And OK6 = True And OK7 = True And OK8 = True And OK9 = True And OK10 = True Then
  134. OK.Enabled = False : CheckBox11.Checked = True : Dim FS1 As String
  135. FS1 = "WSUPDATE.txt" : If File.Exists(Str & "\" & FS1) Then : File.Delete(Str & "\" & FS1) : End If
  136. Shell(Str + "\WS-ERP-SYS.exe", vbNormalFocus) : Me.Close()
  137. End If
  138. End Sub
  139. Private Sub 主程式更新_Tick(sender As Object, e As EventArgs) Handles 主程式更新.Tick
  140. Dim 已開啟 As Boolean = False : Dim FS1 As String
  141. Dim Strs As String = Application.StartupPath
  142. 'FS1 = "HabitData.mdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS1) Then : File.Delete(Str & "\" & FS1) : End If
  143. 'FS1 = "HabitData.mdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS1) Then : Else
  144. ' Me.Text = "SYS-UPDATE........" & FS1 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS1, Str & "\" & FS1) : End If
  145. If Not Directory.Exists(Str & "\p") Then : Directory.CreateDirectory(Str & "\p") : End If
  146. FS1 = "15_half_trans.png" : MyModule1.進度條() : If File.Exists(Str & "\p\" & FS1) Then : File.Delete(Str & "\p\" & FS1) : End If
  147. FS1 = "15_half_trans.png" : MyModule1.進度條() : If File.Exists(Str & "\p\" & FS1) Then : Else
  148. Me.Text = "UPDATE " & TF & FS1 : My.Computer.Network.DownloadFile(Target & AA(0) & "/p/" & FS1, Str & "\p\" & FS1) : End If
  149. FS1 = "TW_10706.csv" : MyModule1.進度條() : If File.Exists(Str & "\p\" & FS1) Then : Else
  150. Me.Text = "UPDATE " & TF & FS1 : My.Computer.Network.DownloadFile(Target & AA(0) & "/p/" & FS1, Str & "\p\" & FS1) : End If
  151. FS1 = "WS-ERP-SYS.exe"
  152. If File.Exists(My.Computer.FileSystem.SpecialDirectories.Desktop & "\" & FS1) Then
  153. Dim pro() As Process = System.Diagnostics.Process.GetProcesses()
  154. ' 判斷是否有符合的Process
  155. For Each process As Process In pro
  156. If ("WS-ERP-SYS").Equals(process.ProcessName) Then
  157. 已開啟 = True
  158. End If
  159. Next
  160. If 已開啟 = False Then
  161. 主程式更新.Enabled = False
  162. MyModule1.進度條() : If File.Exists(Str & "\" & FS1) Then : File.Delete(Str & "\" & FS1) : End If
  163. My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS1, Str & "\" & FS1)
  164. OK1 = True : CheckBox1.Checked = True
  165. End If
  166. ElseIf File.Exists(Strs & "\" & FS1) Then
  167. Dim pro() As Process = System.Diagnostics.Process.GetProcesses()
  168. ' 判斷是否有符合的Process
  169. For Each process As Process In pro
  170. If ("WS-ERP-SYS").Equals(process.ProcessName) Then
  171. 已開啟 = True
  172. End If
  173. Next
  174. If 已開啟 = False Then
  175. 主程式更新.Enabled = False
  176. MyModule1.進度條() : If File.Exists(Str & "\" & FS1) Then : File.Delete(Str & "\" & FS1) : End If
  177. My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS1, Str & "\" & FS1)
  178. OK1 = True : CheckBox1.Checked = True
  179. End If
  180. End If
  181. End Sub
  182. Private Sub 刪除在下載_Tick(sender As Object, e As EventArgs) Handles 刪除在下載.Tick
  183. 刪除在下載.Enabled = False : Dim FS2 As String
  184. ' FS2 = "Interop.SHDocVw.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS2) Then : File.Delete(Str & "\" & FS2) : End If
  185. ' FS2 = "AxInterop.SHDocVw.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS2) Then : File.Delete(Str & "\" & FS2) : End If
  186. ' FS2 = "AxInterop.MSHTML.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS2) Then : File.Delete(Str & "\" & FS2) : End If
  187. ' FS2 = "AxInterop.MSHTML.dll" : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS2, Str & "\" & FS2) : Me.Text = "UPDATE " & TF & FS2
  188. ' FS2 = "AxInterop.SHDocVw.dll" : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS2, Str & "\" & FS2) : Me.Text = "UPDATE " & TF & FS2
  189. ' FS2 = "Interop.SHDocVw.dll" : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS2, Str & "\" & FS2) : Me.Text = "UPDATE " & TF & FS2
  190. OK2 = True : CheckBox2.Checked = True
  191. End Sub
  192. Private Sub Timer3_Tick(sender As Object, e As EventArgs) Handles 驗證存在1.Tick '10
  193. 驗證存在1.Enabled = False : Dim FS3 As String
  194. MyModule1.進度條() : If Dir(Str + "\Theme", vbDirectory) <> "" Then : Else : MkDir(Str + "\Theme") : End If
  195. ' FS3 = "excel_chinese.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS3) Then : Else
  196. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\Theme\" & FS3) : End If
  197. ' FS3 = "excel_english.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS3) Then : Else
  198. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\Theme\" & FS3) : End If
  199. ' FS3 = "TelerikMetro_Chinese.tssp" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS3) Then : Else
  200. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\Theme\" & FS3) : End If
  201. ' FS3 = "word_chinese.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS3) Then : Else
  202. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\Theme\" & FS3) : End If
  203. ' FS3 = "word_english.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS3) Then : Else
  204. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\Theme\" & FS3) : End If
  205. 'FS3 = "Telerik.WinControls.PdfViewer.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS3) Then : Else
  206. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\" & FS3) : End If
  207. 'FS3 = "Telerik.WinControls.PdfViewer.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS3) Then : Else
  208. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\" & FS3) : End If
  209. 'FS3 = "Telerik.Windows.Documents.Core.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS3) Then : Else
  210. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\" & FS3) : End If
  211. 'FS3 = "Telerik.Windows.Documents.Core.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS3) Then : Else
  212. ' Me.Text = "UPDATE " & TF & FS3 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS3, Str & "\" & FS3) : End If
  213. OK3 = True : CheckBox3.Checked = True
  214. End Sub
  215. Private Sub Timer4_Tick(sender As Object, e As EventArgs) Handles 驗證存在2.Tick '10
  216. 驗證存在2.Enabled = False : Dim FS4 As String
  217. 'FS4 = "HX-PGS-Message.exe" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  218. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  219. 'FS4 = "Tran.exe" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  220. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  221. 'FS4 = "GCM-CPV-ERP-SYS.pdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  222. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  223. 'FS4 = "GCM-CPV-ERP-SYS.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  224. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  225. 'FS4 = "GCM-CPV-ERP-SYS.exe.config" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  226. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  227. 'FS4 = "A.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  228. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  229. 'FS4 = "C.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  230. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  231. 'FS4 = "ch.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  232. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  233. 'FS4 = "py-tran-log.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  234. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  235. 'FS4 = "System.Buffers.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS4) Then : Else
  236. ' Me.Text = "UPDATE " & TF & FS4 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS4, Str & "\" & FS4) : End If
  237. OK4 = True : CheckBox4.Checked = True
  238. End Sub
  239. Private Sub Timer5_Tick(sender As Object, e As EventArgs) Handles 驗證存在3.Tick '10
  240. 驗證存在3.Enabled = False : Dim FS5 As String
  241. 'FS5 = "DotNetBarcode.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  242. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  243. 'FS5 = "en.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  244. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  245. 'FS5 = "IdentityModel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  246. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  247. 'FS5 = "IdentityModel.pdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  248. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  249. 'FS5 = "IdentityModel.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  250. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  251. 'FS5 = "in.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  252. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  253. 'FS5 = "Newtonsoft.Json.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  254. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  255. 'FS5 = "Newtonsoft.Json.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  256. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  257. 'FS5 = "PInvoke.Windows.Core.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  258. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  259. 'FS5 = "PInvoke.Windows.Core.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS5) Then : Else
  260. ' Me.Text = "UPDATE " & TF & FS5 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS5, Str & "\" & FS5) : End If
  261. OK5 = True : CheckBox5.Checked = True
  262. End Sub
  263. Private Sub Timer6_Tick(sender As Object, e As EventArgs) Handles 驗證存在4.Tick '10
  264. 驗證存在4.Enabled = False : Dim FS6 As String
  265. 'FS6 = "System.Buffers.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  266. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  267. 'FS6 = "System.Memory.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  268. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  269. 'FS6 = "System.Memory.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  270. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  271. 'FS6 = "System.Numerics.Vectors.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  272. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  273. 'FS6 = "System.Numerics.Vectors.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  274. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  275. 'FS6 = "System.Runtime.CompilerServices.Unsafe.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  276. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  277. 'FS6 = "System.Runtime.CompilerServices.Unsafe.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  278. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  279. 'FS6 = "System.Text.Encodings.Web.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  280. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  281. 'FS6 = "System.Text.Encodings.Web.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  282. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  283. 'FS6 = "Telerik.WinControls.SyntaxEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS6) Then : Else
  284. ' Me.Text = "UPDATE " & TF & FS6 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS6, Str & "\" & FS6) : End If
  285. OK6 = True : CheckBox6.Checked = True
  286. End Sub
  287. Private Sub Timer7_Tick(sender As Object, e As EventArgs) Handles 驗證存在5.Tick '10
  288. 驗證存在5.Enabled = False : Dim FS7 As String
  289. 'FS7 = "Telerik.WinControls.SyntaxEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  290. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  291. 'FS7 = "Telerik.WinControls.UI.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  292. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  293. 'FS7 = "Telerik.WinControls.UI.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  294. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  295. 'FS7 = "Telerik.WinControls.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  296. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  297. 'FS7 = "Telerik.Windows.Documents.Fixed.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  298. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  299. 'FS7 = "Telerik.Windows.Documents.Fixed.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  300. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  301. 'FS7 = "Telerik.Windows.Zip.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  302. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  303. 'FS7 = "Telerik.Windows.Zip.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  304. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  305. 'FS7 = "TelerikCommon.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  306. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  307. 'FS7 = "SuperDataGrid.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS7) Then : Else
  308. ' Me.Text = "UPDATE " & TF & FS7 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS7, Str & "\" & FS7) : End If
  309. OK7 = True : CheckBox7.Checked = True
  310. End Sub
  311. Private Sub Timer8_Tick(sender As Object, e As EventArgs) Handles 驗證存在6.Tick '10
  312. 驗證存在6.Enabled = False : Dim FS8 As String
  313. 'FS8 = "Telerik.WinControls.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  314. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  315. 'FS8 = "LIN HSING HAO.txt" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  316. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  317. 'FS8 = "HX01.docx" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  318. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  319. 'FS8 = "PGS01.docx" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  320. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  321. 'FS8 = "Microsoft.mshtml.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  322. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  323. 'FS8 = "Telerik.WinControls.RadDiagram.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  324. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  325. 'FS8 = "Telerik.WinControls.RadDiagram.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  326. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  327. 'FS8 = "Telerik.WinControls.RadDock.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  328. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  329. 'FS8 = "Telerik.WinControls.RadDock.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  330. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  331. 'FS8 = "Telerik.WinControls.RadMarkupEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS8) Then : Else
  332. ' Me.Text = "UPDATE " & TF & FS8 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS8, Str & "\" & FS8) : End If
  333. OK8 = True : CheckBox8.Checked = True
  334. End Sub
  335. Private Sub Timer9_Tick(sender As Object, e As EventArgs) Handles 驗證存在7.Tick '3
  336. 驗證存在7.Enabled = False : Dim FS9 As String
  337. 'FS9 = "Telerik.WinControls.RadMarkupEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS9) Then : Else
  338. ' Me.Text = "UPDATE " & TF & FS9 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS9, Str & "\" & FS9) : End If
  339. 'FS9 = "Telerik.WinControls.RichTextEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS9) Then : Else
  340. ' Me.Text = "UPDATE " & TF & FS9 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS9, Str & "\" & FS9) : End If
  341. 'FS9 = "Telerik.WinControls.RichTextEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS9) Then : Else
  342. ' Me.Text = "UPDATE " & TF & FS9 : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & FS9, Str & "\" & FS9) : End If
  343. OK9 = True : CheckBox9.Checked = True
  344. End Sub
  345. Private Sub 刪除所有檔案_Tick(sender As Object, e As EventArgs) Handles 刪除所有檔案.Tick
  346. 刪除所有檔案.Enabled = False : Dim FS10 As String
  347. 'FS10 = "excel_chinese.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS10) Then : File.Delete(Str & "\Theme\" & FS10) : End If
  348. 'FS10 = "excel_english.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS10) Then : File.Delete(Str & "\Theme\" & FS10) : End If
  349. 'FS10 = "TelerikMetro_Chinese.tssp" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS10) Then : File.Delete(Str & "\Theme\" & FS10) : End If
  350. 'FS10 = "word_chinese.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS10) Then : File.Delete(Str & "\Theme\" & FS10) : End If
  351. ''FS10 = "word_english.xml" : MyModule1.進度條() : If File.Exists(Str & "\Theme\" & FS10) Then : File.Delete(Str & "\Theme\" & FS10) : End If
  352. 'FS10 = "GCM-CPV-ERP-SYS.pdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  353. 'FS10 = "Telerik.WinControls.RadDiagram.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  354. 'FS10 = "Telerik.WinControls.RadDiagram.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  355. 'FS10 = "Telerik.WinControls.RadDock.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  356. 'FS10 = "Telerik.WinControls.RadDock.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  357. 'FS10 = "Telerik.WinControls.RadMarkupEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  358. 'FS10 = "Telerik.WinControls.RadMarkupEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  359. 'FS10 = "GCM-CPV-ERP-SYS.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  360. 'FS10 = "GCM-CPV-ERP-SYS.exe.config" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  361. 'FS10 = "DotNetBarcode.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  362. ''FS10 = "IdentityModel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  363. 'FS10 = "IdentityModel.pdb" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  364. 'FS10 = "IdentityModel.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  365. 'FS10 = "Newtonsoft.Json.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  366. 'FS10 = "Newtonsoft.Json.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  367. 'FS10 = "PInvoke.Windows.Core.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  368. 'FS10 = "PInvoke.Windows.Core.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  369. 'FS10 = "System.Buffers.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  370. 'FS10 = "System.Buffers.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  371. 'FS10 = "System.Memory.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  372. 'FS10 = "System.Memory.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  373. 'FS10 = "System.Numerics.Vectors.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  374. 'FS10 = "System.Numerics.Vectors.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  375. 'FS10 = "System.Runtime.CompilerServices.Unsafe.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  376. 'FS10 = "System.Runtime.CompilerServices.Unsafe.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  377. 'FS10 = "System.Text.Encodings.Web.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  378. 'FS10 = "System.Text.Encodings.Web.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  379. 'FS10 = "Telerik.WinControls.SyntaxEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  380. 'FS10 = "Telerik.WinControls.SyntaxEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  381. 'FS10 = "Telerik.WinControls.UI.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  382. 'FS10 = "Telerik.WinControls.UI.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  383. 'FS10 = "Telerik.WinControls.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  384. 'FS10 = "Telerik.Windows.Documents.Fixed.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  385. 'FS10 = "Telerik.Windows.Documents.Fixed.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  386. 'FS10 = "Telerik.Windows.Zip.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  387. 'FS10 = "Telerik.Windows.Zip.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  388. 'FS10 = "Telerik.WinControls.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  389. 'FS10 = "TelerikCommon.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  390. 'FS10 = "SuperDataGrid.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  391. 'FS10 = "Telerik.WinControls.PdfViewer.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  392. 'FS10 = "Telerik.WinControls.PdfViewer.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  393. 'FS10 = "Telerik.WinControls.RichTextEditor.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  394. 'FS10 = "Telerik.WinControls.RichTextEditor.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  395. 'FS10 = "Telerik.Windows.Documents.Core.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  396. 'FS10 = "Telerik.Windows.Documents.Core.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  397. 'FS10 = "MediaFoundation.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  398. 'FS10 = "Microsoft.Toolkit.Uwp.Notifications.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  399. 'FS10 = "Telerik.WinControls.ChartView.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  400. 'FS10 = "Telerik.WinControls.ChartView.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  401. 'FS10 = "Telerik.WinControls.GridView.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  402. 'FS10 = "Telerik.WinControls.GridView.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  403. 'FS10 = "Telerik.WinControls.RadMap.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  404. 'FS10 = "Telerik.WinControls.RadMap.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  405. 'FS10 = "Telerik.WinControls.RadToastNotification.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  406. 'FS10 = "Telerik.WinControls.RadToastNotification.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  407. 'FS10 = "Telerik.WinControls.RadWebCam.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  408. 'FS10 = "Telerik.WinControls.RadWebCam.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  409. 'FS10 = "Telerik.Windows.MediaFoundation.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  410. 'FS10 = "System.Linq.Queryable.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  411. 'FS10 = "System.Linq.Parallel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  412. 'FS10 = "System.Linq.Expressions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  413. 'FS10 = "System.Linq.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  414. 'FS10 = "System.IO.UnmanagedMemoryStream.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  415. 'FS10 = "System.IO.Pipes.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  416. 'FS10 = "System.IO.MemoryMappedFiles.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  417. 'FS10 = "System.IO.IsolatedStorage.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  418. 'FS10 = "System.IO.FileSystem.Watcher.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  419. 'FS10 = "System.IO.FileSystem.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  420. 'FS10 = "System.IO.FileSystem.DriveInfo.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  421. 'FS10 = "System.IO.FileSystem.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  422. 'FS10 = "System.IO.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  423. 'FS10 = "System.IO.Compression.ZipFile.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  424. 'FS10 = "System.IO.Compression.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  425. 'FS10 = "System.Globalization.Extensions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  426. 'FS10 = "System.Globalization.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  427. 'FS10 = "System.Globalization.Calendars.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  428. 'FS10 = "System.Dynamic.Runtime.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  429. 'FS10 = "System.Drawing.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  430. 'FS10 = "System.Diagnostics.Tracing.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  431. 'FS10 = "System.Diagnostics.TraceSource.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  432. 'FS10 = "System.Diagnostics.Tools.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  433. 'FS10 = "System.Diagnostics.TextWriterTraceListener.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  434. 'FS10 = "Microsoft.Win32.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  435. 'FS10 = "netstandard.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  436. 'FS10 = "System.AppContext.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  437. 'FS10 = "System.Collections.Concurrent.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  438. 'FS10 = "System.Collections.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  439. 'FS10 = "System.Collections.NonGeneric.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  440. 'FS10 = "System.Collections.Specialized.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  441. 'FS10 = "System.ComponentModel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  442. 'FS10 = "System.ComponentModel.EventBasedAsync.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  443. 'FS10 = "System.ComponentModel.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  444. 'FS10 = "System.ComponentModel.TypeConverter.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  445. 'FS10 = "System.Console.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  446. 'FS10 = "System.Data.Common.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  447. 'FS10 = "System.Diagnostics.Contracts.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  448. 'FS10 = "System.Diagnostics.Debug.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  449. 'FS10 = "System.Diagnostics.FileVersionInfo.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  450. 'FS10 = "System.Diagnostics.Process.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  451. 'FS10 = "System.Diagnostics.StackTrace.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  452. 'FS10 = "System.Net.Http.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  453. 'FS10 = "System.Net.NameResolution.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  454. 'FS10 = "System.Net.NetworkInformation.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  455. 'FS10 = "System.Net.Ping.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  456. 'FS10 = "System.Net.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  457. 'FS10 = "System.Net.Requests.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  458. 'FS10 = "System.Net.Security.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  459. 'FS10 = "System.Net.Sockets.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  460. 'FS10 = "System.Net.WebHeaderCollection.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  461. 'FS10 = "System.Net.WebSockets.Client.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  462. 'FS10 = "System.Net.WebSockets.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  463. 'FS10 = "System.ObjectModel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  464. 'FS10 = "System.Reflection.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  465. 'FS10 = "System.Reflection.Extensions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  466. 'FS10 = "System.Reflection.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  467. 'FS10 = "System.Resources.Reader.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  468. 'FS10 = "System.Resources.ResourceManager.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  469. 'FS10 = "System.Resources.Writer.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  470. 'FS10 = "System.Xml.XPath.XDocument.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  471. 'FS10 = "System.Xml.XPath.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  472. 'FS10 = "System.Xml.XmlSerializer.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  473. 'FS10 = "System.Xml.XmlDocument.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  474. 'FS10 = "System.Xml.XDocument.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  475. 'FS10 = "System.Xml.ReaderWriter.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  476. 'FS10 = "System.ValueTuple.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  477. 'FS10 = "System.Threading.Timer.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  478. 'FS10 = "System.Threading.ThreadPool.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  479. 'FS10 = "System.Threading.Thread.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  480. 'FS10 = "System.Threading.Tasks.Parallel.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  481. 'FS10 = "System.Threading.Tasks.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  482. 'FS10 = "System.Threading.Overlapped.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  483. 'FS10 = "System.Threading.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  484. 'FS10 = "System.Text.RegularExpressions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  485. 'FS10 = "System.Text.Encodings.Web.xml" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  486. 'FS10 = "System.Text.Encodings.Web.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  487. 'FS10 = "System.Text.Encoding.Extensions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  488. 'FS10 = "System.Text.Encoding.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  489. 'FS10 = "System.Security.SecureString.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  490. 'FS10 = "System.Security.Principal.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  491. 'FS10 = "System.Security.Cryptography.X509Certificates.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  492. 'FS10 = "System.Security.Cryptography.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  493. 'FS10 = "System.Security.Cryptography.Encoding.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  494. 'FS10 = "System.Security.Cryptography.Csp.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  495. 'FS10 = "System.Security.Cryptography.Algorithms.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  496. 'FS10 = "System.Security.Claims.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  497. 'FS10 = "System.Runtime.Serialization.Xml.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  498. 'FS10 = "System.Runtime.Serialization.Primitives.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  499. 'FS10 = "System.Runtime.Serialization.Json.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  500. 'FS10 = "System.Runtime.Serialization.Formatters.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  501. 'FS10 = "System.Runtime.Numerics.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  502. 'FS10 = "System.Runtime.InteropServices.RuntimeInformation.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  503. 'FS10 = "System.Runtime.InteropServices.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  504. 'FS10 = "ystem.Runtime.Handles.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  505. 'FS10 = "System.Runtime.Extensions.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  506. 'FS10 = "System.Runtime.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  507. 'FS10 = "System.Runtime.CompilerServices.VisualC.dll" : MyModule1.進度條() : If File.Exists(Str & "\" & FS10) Then : File.Delete(Str & "\" & FS10) : End If
  508. OK10 = True : CheckBox10.Checked = True : 刪除完成 = True
  509. End Sub
  510. End Class