B70340 před 3 roky
revize
f93ed78917
36 změnil soubory, kde provedl 973 přidání a 0 odebrání
  1. binární
      .vs/SYS-UPDATE/v16/.suo
  2. 25
    0
      SYS-UPDATE.sln
  3. 6
    0
      SYS-UPDATE/App.config
  4. 38
    0
      SYS-UPDATE/My Project/Application.Designer.vb
  5. 10
    0
      SYS-UPDATE/My Project/Application.myapp
  6. 35
    0
      SYS-UPDATE/My Project/AssemblyInfo.vb
  7. 62
    0
      SYS-UPDATE/My Project/Resources.Designer.vb
  8. 117
    0
      SYS-UPDATE/My Project/Resources.resx
  9. 73
    0
      SYS-UPDATE/My Project/Settings.Designer.vb
  10. 7
    0
      SYS-UPDATE/My Project/Settings.settings
  11. 24
    0
      SYS-UPDATE/SQL_Module.vb
  12. 98
    0
      SYS-UPDATE/SYS-UPDATE.Designer.vb
  13. 200
    0
      SYS-UPDATE/SYS-UPDATE.resx
  14. 48
    0
      SYS-UPDATE/SYS-UPDATE.vb
  15. 131
    0
      SYS-UPDATE/SYS-UPDATE.vbproj
  16. binární
      SYS-UPDATE/bin/Debug/Auto.exe
  17. binární
      SYS-UPDATE/bin/Debug/GA-ERP-SYS.exe
  18. binární
      SYS-UPDATE/bin/Debug/SYS-UPDATE.exe
  19. 6
    0
      SYS-UPDATE/bin/Debug/SYS-UPDATE.exe.config
  20. binární
      SYS-UPDATE/bin/Debug/SYS-UPDATE.pdb
  21. 26
    0
      SYS-UPDATE/bin/Debug/SYS-UPDATE.xml
  22. binární
      SYS-UPDATE/bin/Debug/loginVerify.exe
  23. binární
      SYS-UPDATE/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  24. binární
      SYS-UPDATE/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  25. binární
      SYS-UPDATE/obj/Debug/SYS-UPDATE.exe
  26. binární
      SYS-UPDATE/obj/Debug/SYS-UPDATE.pdb
  27. 1
    0
      SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.CoreCompileInputs.cache
  28. 24
    0
      SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.FileListAbsolute.txt
  29. binární
      SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.GenerateResource.cache
  30. binární
      SYS-UPDATE/obj/Debug/SYS-UPDATE.vbprojAssemblyReference.cache
  31. 26
    0
      SYS-UPDATE/obj/Debug/SYS-UPDATE.xml
  32. binární
      SYS-UPDATE/obj/Debug/SYS_UPDATE.Resources.resources
  33. binární
      SYS-UPDATE/obj/Debug/SYS_UPDATE.SYS_UPDATE.resources
  34. binární
      SYS-UPDATE/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
  35. binární
      SYS-UPDATE/wrench1.ico
  36. 16
    0
      SYS-UPDATE/全域變數.vb

binární
.vs/SYS-UPDATE/v16/.suo Zobrazit soubor


+ 25
- 0
SYS-UPDATE.sln Zobrazit soubor

@@ -0,0 +1,25 @@
1
+
2
+Microsoft Visual Studio Solution File, Format Version 12.00
3
+# Visual Studio Version 16
4
+VisualStudioVersion = 16.0.30011.22
5
+MinimumVisualStudioVersion = 10.0.40219.1
6
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SYS-UPDATE", "SYS-UPDATE\SYS-UPDATE.vbproj", "{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}"
7
+EndProject
8
+Global
9
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+		Debug|Any CPU = Debug|Any CPU
11
+		Release|Any CPU = Release|Any CPU
12
+	EndGlobalSection
13
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+		{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+		{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+		{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+		{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}.Release|Any CPU.Build.0 = Release|Any CPU
18
+	EndGlobalSection
19
+	GlobalSection(SolutionProperties) = preSolution
20
+		HideSolutionNode = FALSE
21
+	EndGlobalSection
22
+	GlobalSection(ExtensibilityGlobals) = postSolution
23
+		SolutionGuid = {CF75CBEC-98BD-49B2-84F0-6E1FE4699EB1}
24
+	EndGlobalSection
25
+EndGlobal

+ 6
- 0
SYS-UPDATE/App.config Zobrazit soubor

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup>
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
5
+    </startup>
6
+</configuration>

+ 38
- 0
SYS-UPDATE/My Project/Application.Designer.vb Zobrazit soubor

@@ -0,0 +1,38 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     這段程式碼是由工具產生的。
4
+'     執行階段版本:4.0.30319.42000
5
+'
6
+'     對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
7
+'     變更將會遺失。
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+    
17
+    '注意:這是自動產生的檔案,請勿直接修改它。若要進行變更,
18
+    ' 或者您在這個檔案發生建置錯誤,請到專案設計工具
19
+    ' (移至專案屬性或者在 [方案總管] 中按兩下 [My Project] 節點),
20
+    ' 然後在 [應用程式] 索引標籤上進行變更。
21
+    '
22
+    Partial Friend Class MyApplication
23
+        
24
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
25
+        Public Sub New()
26
+            MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
27
+            Me.IsSingleInstance = false
28
+            Me.EnableVisualStyles = true
29
+            Me.SaveMySettingsOnExit = true
30
+            Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
31
+        End Sub
32
+        
33
+        <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
34
+        Protected Overrides Sub OnCreateMainForm()
35
+            Me.MainForm = Global.SYS_UPDATE.SYS_UPDATE
36
+        End Sub
37
+    End Class
38
+End Namespace

+ 10
- 0
SYS-UPDATE/My Project/Application.myapp Zobrazit soubor

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+  <MySubMain>true</MySubMain>
4
+  <MainForm>SYS_UPDATE</MainForm>
5
+  <SingleInstance>false</SingleInstance>
6
+  <ShutdownMode>0</ShutdownMode>
7
+  <EnableVisualStyles>true</EnableVisualStyles>
8
+  <AuthenticationMode>0</AuthenticationMode>
9
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
10
+</MyApplicationData>

+ 35
- 0
SYS-UPDATE/My Project/AssemblyInfo.vb Zobrazit soubor

@@ -0,0 +1,35 @@
1
+Imports System
2
+Imports System.Reflection
3
+Imports System.Runtime.InteropServices
4
+
5
+' 組件的一般資訊是由下列的屬性集控制。
6
+' 變更這些屬性的值即可修改組件的相關
7
+' 資訊。
8
+
9
+' 檢閱組件屬性的值
10
+
11
+<Assembly: AssemblyTitle("SYS-UPDATE")>
12
+<Assembly: AssemblyDescription("")>
13
+<Assembly: AssemblyCompany("")>
14
+<Assembly: AssemblyProduct("SYS-UPDATE")>
15
+<Assembly: AssemblyCopyright("Copyright ©  2021")>
16
+<Assembly: AssemblyTrademark("")>
17
+
18
+<Assembly: ComVisible(False)>
19
+
20
+'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
21
+<Assembly: Guid("7ff731ba-cfe5-43d2-bf02-6f9471993006")>
22
+
23
+' 組件的版本資訊由下列四個值所組成: 
24
+'
25
+'      主要版本
26
+'      次要版本
27
+'      組建編號
28
+'      修訂編號
29
+'
30
+' 您可以指定所有的值,也可以使用 '*' 將組建和修訂編號
31
+' 設為預設,如下所示:
32
+' <Assembly: AssemblyVersion("1.0.*")>
33
+
34
+<Assembly: AssemblyVersion("1.0.0.0")>
35
+<Assembly: AssemblyFileVersion("1.0.0.0")>

+ 62
- 0
SYS-UPDATE/My Project/Resources.Designer.vb Zobrazit soubor

@@ -0,0 +1,62 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My.Resources
16
+
17
+    'This class was auto-generated by the StronglyTypedResourceBuilder
18
+    'class via a tool like ResGen or Visual Studio.
19
+    'To add or remove a member, edit your .ResX file then rerun ResGen
20
+    'with the /str option, or rebuild your VS project.
21
+    '''<summary>
22
+    '''  A strongly-typed resource class, for looking up localized strings, etc.
23
+    '''</summary>
24
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
25
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
26
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
27
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
28
+    Friend Module Resources
29
+
30
+        Private resourceMan As Global.System.Resources.ResourceManager
31
+
32
+        Private resourceCulture As Global.System.Globalization.CultureInfo
33
+
34
+        '''<summary>
35
+        '''  Returns the cached ResourceManager instance used by this class.
36
+        '''</summary>
37
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
38
+        Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
39
+            Get
40
+                If Object.ReferenceEquals(resourceMan, Nothing) Then
41
+                    Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("SYS_UPDATE.Resources", GetType(Resources).Assembly)
42
+                    resourceMan = temp
43
+                End If
44
+                Return resourceMan
45
+            End Get
46
+        End Property
47
+
48
+        '''<summary>
49
+        '''  Overrides the current thread's CurrentUICulture property for all
50
+        '''  resource lookups using this strongly typed resource class.
51
+        '''</summary>
52
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
53
+        Friend Property Culture() As Global.System.Globalization.CultureInfo
54
+            Get
55
+                Return resourceCulture
56
+            End Get
57
+            Set(ByVal value As Global.System.Globalization.CultureInfo)
58
+                resourceCulture = value
59
+            End Set
60
+        End Property
61
+    End Module
62
+End Namespace

+ 117
- 0
SYS-UPDATE/My Project/Resources.resx Zobrazit soubor

@@ -0,0 +1,117 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:element name="root" msdata:IsDataSet="true">
64
+      <xsd:complexType>
65
+        <xsd:choice maxOccurs="unbounded">
66
+          <xsd:element name="metadata">
67
+            <xsd:complexType>
68
+              <xsd:sequence>
69
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
70
+              </xsd:sequence>
71
+              <xsd:attribute name="name" type="xsd:string" />
72
+              <xsd:attribute name="type" type="xsd:string" />
73
+              <xsd:attribute name="mimetype" type="xsd:string" />
74
+            </xsd:complexType>
75
+          </xsd:element>
76
+          <xsd:element name="assembly">
77
+            <xsd:complexType>
78
+              <xsd:attribute name="alias" type="xsd:string" />
79
+              <xsd:attribute name="name" type="xsd:string" />
80
+            </xsd:complexType>
81
+          </xsd:element>
82
+          <xsd:element name="data">
83
+            <xsd:complexType>
84
+              <xsd:sequence>
85
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87
+              </xsd:sequence>
88
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91
+            </xsd:complexType>
92
+          </xsd:element>
93
+          <xsd:element name="resheader">
94
+            <xsd:complexType>
95
+              <xsd:sequence>
96
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97
+              </xsd:sequence>
98
+              <xsd:attribute name="name" type="xsd:string" use="required" />
99
+            </xsd:complexType>
100
+          </xsd:element>
101
+        </xsd:choice>
102
+      </xsd:complexType>
103
+    </xsd:element>
104
+  </xsd:schema>
105
+  <resheader name="resmimetype">
106
+    <value>text/microsoft-resx</value>
107
+  </resheader>
108
+  <resheader name="version">
109
+    <value>2.0</value>
110
+  </resheader>
111
+  <resheader name="reader">
112
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113
+  </resheader>
114
+  <resheader name="writer">
115
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+</root>

+ 73
- 0
SYS-UPDATE/My Project/Settings.Designer.vb Zobrazit soubor

@@ -0,0 +1,73 @@
1
+'------------------------------------------------------------------------------
2
+' <auto-generated>
3
+'     This code was generated by a tool.
4
+'     Runtime Version:4.0.30319.42000
5
+'
6
+'     Changes to this file may cause incorrect behavior and will be lost if
7
+'     the code is regenerated.
8
+' </auto-generated>
9
+'------------------------------------------------------------------------------
10
+
11
+Option Strict On
12
+Option Explicit On
13
+
14
+
15
+Namespace My
16
+
17
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
19
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
20
+    Partial Friend NotInheritable Class MySettings
21
+        Inherits Global.System.Configuration.ApplicationSettingsBase
22
+
23
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
24
+
25
+#Region "My.Settings Auto-Save Functionality"
26
+#If _MyType = "WindowsForms" Then
27
+        Private Shared addedHandler As Boolean
28
+
29
+        Private Shared addedHandlerLockObject As New Object
30
+
31
+        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
+        Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33
+            If My.Application.SaveMySettingsOnExit Then
34
+                My.Settings.Save()
35
+            End If
36
+        End Sub
37
+#End If
38
+#End Region
39
+
40
+        Public Shared ReadOnly Property [Default]() As MySettings
41
+            Get
42
+
43
+#If _MyType = "WindowsForms" Then
44
+                   If Not addedHandler Then
45
+                        SyncLock addedHandlerLockObject
46
+                            If Not addedHandler Then
47
+                                AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
+                                addedHandler = True
49
+                            End If
50
+                        End SyncLock
51
+                    End If
52
+#End If
53
+                Return defaultInstance
54
+            End Get
55
+        End Property
56
+    End Class
57
+End Namespace
58
+
59
+Namespace My
60
+
61
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
62
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
64
+    Friend Module MySettingsProperty
65
+
66
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
67
+        Friend ReadOnly Property Settings() As Global.SYS_UPDATE.My.MySettings
68
+            Get
69
+                Return Global.SYS_UPDATE.My.MySettings.Default
70
+            End Get
71
+        End Property
72
+    End Module
73
+End Namespace

+ 7
- 0
SYS-UPDATE/My Project/Settings.settings Zobrazit soubor

@@ -0,0 +1,7 @@
1
+<?xml version='1.0' encoding='utf-8'?>
2
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
3
+  <Profiles>
4
+    <Profile Name="(Default)" />
5
+  </Profiles>
6
+  <Settings />
7
+</SettingsFile>

+ 24
- 0
SYS-UPDATE/SQL_Module.vb Zobrazit soubor

@@ -0,0 +1,24 @@
1
+Imports System.Data.SqlClient
2
+Module SQL_Module
3
+    Public ConString As String : Public AccessConString As String : Public SQL1 As String : Public SQL2 As String : Public conn As New SqlConnection : Public cmd As New SqlCommand
4
+    Public dr As SqlDataReader : Public da As New SqlDataAdapter
5
+    Friend Sub ConnOpen()
6
+        conn.Close() : If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
7
+    End Sub
8
+    Friend Sub CmdSet_For_DGV()
9
+        cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd
10
+    End Sub
11
+    Friend Sub CmdSet_For_dr()
12
+        cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
13
+    End Sub
14
+
15
+    Friend Sub SQL_版本號()
16
+        ConnOpen() : SQL1 = "SELECT 系統認證版本號 FROM 版本號管理 " : CmdSet_For_dr()
17
+    End Sub
18
+    Friend Sub SQL_FTP資料夾路徑分配()
19
+        ConnOpen() : SQL1 = "SELECT 資料夾名稱, 指定 FROM FTP資料夾管理" : CmdSet_For_DGV()
20
+    End Sub
21
+    Friend Sub SQL_FTP伺服器登入位置()
22
+        ConnOpen() : SQL1 = "SELECT  FTP地址, FTP帳號, FTP密碼 FROM FTP資料庫管理 WHERE 地區 LIKE N'" & SYS_UPDATE.伺服器區域_cb.Text & "'" : CmdSet_For_dr()
23
+    End Sub
24
+End Module

+ 98
- 0
SYS-UPDATE/SYS-UPDATE.Designer.vb Zobrazit soubor

@@ -0,0 +1,98 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class SYS_UPDATE
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Me.components = New System.ComponentModel.Container()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(SYS_UPDATE))
28
+        Me.伺服器區域_cb = New System.Windows.Forms.ComboBox()
29
+        Me.FDT_dgv = New System.Windows.Forms.DataGridView()
30
+        Me.ProgressBar1 = New System.Windows.Forms.ProgressBar()
31
+        Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
32
+        CType(Me.FDT_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
33
+        Me.SuspendLayout()
34
+        '
35
+        '伺服器區域_cb
36
+        '
37
+        Me.伺服器區域_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
38
+        Me.伺服器區域_cb.ForeColor = System.Drawing.Color.Blue
39
+        Me.伺服器區域_cb.FormattingEnabled = True
40
+        Me.伺服器區域_cb.Items.AddRange(New Object() {"雲端"})
41
+        Me.伺服器區域_cb.Location = New System.Drawing.Point(460, 12)
42
+        Me.伺服器區域_cb.Name = "伺服器區域_cb"
43
+        Me.伺服器區域_cb.Size = New System.Drawing.Size(102, 24)
44
+        Me.伺服器區域_cb.TabIndex = 633
45
+        '
46
+        'FDT_dgv
47
+        '
48
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
49
+        Me.FDT_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
50
+        Me.FDT_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
51
+        Me.FDT_dgv.Location = New System.Drawing.Point(12, 43)
52
+        Me.FDT_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
53
+        Me.FDT_dgv.Name = "FDT_dgv"
54
+        Me.FDT_dgv.RowHeadersWidth = 5
55
+        Me.FDT_dgv.RowTemplate.Height = 24
56
+        Me.FDT_dgv.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
57
+        Me.FDT_dgv.Size = New System.Drawing.Size(550, 417)
58
+        Me.FDT_dgv.TabIndex = 634
59
+        '
60
+        'ProgressBar1
61
+        '
62
+        Me.ProgressBar1.Location = New System.Drawing.Point(0, 0)
63
+        Me.ProgressBar1.Maximum = 10000
64
+        Me.ProgressBar1.Name = "ProgressBar1"
65
+        Me.ProgressBar1.Size = New System.Drawing.Size(296, 23)
66
+        Me.ProgressBar1.TabIndex = 635
67
+        '
68
+        'Timer1
69
+        '
70
+        Me.Timer1.Interval = 1000
71
+        '
72
+        'SYS_UPDATE
73
+        '
74
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
75
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
76
+        Me.ClientSize = New System.Drawing.Size(296, 23)
77
+        Me.ControlBox = False
78
+        Me.Controls.Add(Me.ProgressBar1)
79
+        Me.Controls.Add(Me.FDT_dgv)
80
+        Me.Controls.Add(Me.伺服器區域_cb)
81
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
82
+        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
83
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
84
+        Me.MaximizeBox = False
85
+        Me.MinimizeBox = False
86
+        Me.Name = "SYS_UPDATE"
87
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
88
+        Me.Text = "SYS-UPDATE........"
89
+        CType(Me.FDT_dgv, System.ComponentModel.ISupportInitialize).EndInit()
90
+        Me.ResumeLayout(False)
91
+
92
+    End Sub
93
+
94
+    Friend WithEvents 伺服器區域_cb As ComboBox
95
+    Friend WithEvents FDT_dgv As DataGridView
96
+    Friend WithEvents ProgressBar1 As ProgressBar
97
+    Friend WithEvents Timer1 As Timer
98
+End Class

+ 200
- 0
SYS-UPDATE/SYS-UPDATE.resx Zobrazit soubor

@@ -0,0 +1,200 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
+    <xsd:element name="root" msdata:IsDataSet="true">
65
+      <xsd:complexType>
66
+        <xsd:choice maxOccurs="unbounded">
67
+          <xsd:element name="metadata">
68
+            <xsd:complexType>
69
+              <xsd:sequence>
70
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
+              </xsd:sequence>
72
+              <xsd:attribute name="name" use="required" type="xsd:string" />
73
+              <xsd:attribute name="type" type="xsd:string" />
74
+              <xsd:attribute name="mimetype" type="xsd:string" />
75
+              <xsd:attribute ref="xml:space" />
76
+            </xsd:complexType>
77
+          </xsd:element>
78
+          <xsd:element name="assembly">
79
+            <xsd:complexType>
80
+              <xsd:attribute name="alias" type="xsd:string" />
81
+              <xsd:attribute name="name" type="xsd:string" />
82
+            </xsd:complexType>
83
+          </xsd:element>
84
+          <xsd:element name="data">
85
+            <xsd:complexType>
86
+              <xsd:sequence>
87
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
+              </xsd:sequence>
90
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+              <xsd:attribute ref="xml:space" />
94
+            </xsd:complexType>
95
+          </xsd:element>
96
+          <xsd:element name="resheader">
97
+            <xsd:complexType>
98
+              <xsd:sequence>
99
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
+              </xsd:sequence>
101
+              <xsd:attribute name="name" type="xsd:string" use="required" />
102
+            </xsd:complexType>
103
+          </xsd:element>
104
+        </xsd:choice>
105
+      </xsd:complexType>
106
+    </xsd:element>
107
+  </xsd:schema>
108
+  <resheader name="resmimetype">
109
+    <value>text/microsoft-resx</value>
110
+  </resheader>
111
+  <resheader name="version">
112
+    <value>2.0</value>
113
+  </resheader>
114
+  <resheader name="reader">
115
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+  <resheader name="writer">
118
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
+  </resheader>
120
+  <metadata name="Timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121
+    <value>17, 17</value>
122
+  </metadata>
123
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
124
+  <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
125
+    <value>
126
+        AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAAAAAAAAAAAAAAAAAAAA
127
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
128
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
129
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAABQAAAAuAAAAPQAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAA
130
+        AEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAPQAA
131
+        AC4AAAAUAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAUGxsbmSMjI+0oKCj/KCgo/ygoKP8oKCj/KCgo/ygo
132
+        KP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygo
133
+        KP8oKCj/IyMj7RsbG5kAAAAUAAAAAAAAAAAAAAAAAAAAACAgIIE7P0r/X3Kj/0pmrv9FYqz/RWKs/0Vi
134
+        rP9FYqz/RWKs/0VirP9FYqz/RWKs/0VirP9FYq3/RWKt/0Virf9FYqz/RWKs/0VirP9FYqz/RWKs/0Vi
135
+        rP9FYqz/RWKs/0pmrv9fcqP/Oz9K/yAgIIQAAAAAAAAAAAAAAAAAAAAAJiYm2mJ0o/8fQ5z/CzGT/wgv
136
+        kv8IL5L/CC+S/wgvkv8IL5P/CDCT/wgwk/8IMJT/CDCU/wgwlP8IMJT/CDCU/wgwlP8IMJP/CDCT/wgw
137
+        k/8IMJP/CC+S/wgvkv8IL5L/CzGT/x9DnP9gc6T/JiYm3QAAAAAAAAAAAAAAAAAAAAAoKCj/VXK2/xI6
138
+        mf8JMJT/CTCU/wkxlf8JMpX/CTKW/wkylv8KMpb/CjOW/wo0lv8KNJb/CjSX/wo0l/8KNJf/CjSX/woz
139
+        lv8KM5b/CjOW/wkylv8JMpb/CTKV/wkylf8JMZT/DDOV/0xosf8oKCj/AAAAAAAAAAAAAAAAAAAAACgo
140
+        KP9Qbrb/Fz+f/xA7m/8KNJj/CjSY/wo1mP8KNpn/CzeZ/ws3mf8LOJn/Czma/ws5m/8LOZv/Czmb/ws5
141
+        m/8LOZr/Czia/ws4mv8LOJr/CzeZ/ws2mP8KNpj/CjSY/wo0mP8JNJj/R2ex/ygoKP8AAAAAAAAAAAAA
142
+        AAAAAAAAKCgo/1BxuP8ZQ6L/GESi/xI+n/8MOZv/DDqc/ww7nP8YRaL/DTyf/w48n/8OPKD/Dj2g/w49
143
+        oP8OPaD/Dj2g/w49oP8OPaD/ED6h/ydQqf8kTqb/DTud/ww6nP8MOZv/Czib/ws3mv9IaLP/KCgo/wAA
144
+        AAAAAAAAAAAAAAAAAAAoKCj/UnO6/xtGpP8bSKX/HEqm/xVEo/8PPqH/Gkim/yRAev8mUqz/EEGk/xBC
145
+        pP8QQ6T/EEOl/xBDpf8QQ6T/EEOk/xJEpf8qVKX/ER44/xQjQ/8jT6r/Dz6i/w8+of8NPp//DDye/0ls
146
+        tv8oKCj/AAAAAAAAAAAAAAAAAAAAACgoKP9Ud7z/HUuo/x1Nqf8eTar/H0+q/xlKqP8NMHP/AwMD/xco
147
+        R/8kVa7/Ekeo/xJIqP8TSKj/E0io/xNIqP8VSan/LVmp/w0WJf8DAwP/BAQE/xMoTv8RRKb/EUOl/w9C
148
+        pP8PQaP/SnC5/ygoKP8AAAAAAAAAAAAAAAAAAAAAKCgo/1d6v/8gUKz/IFCs/yFTrf8hVLD/IlWw/xxQ
149
+        rf8JHkH/BAQE/yA4YP8jV7L/Fk2t/xZOrf8WTq3/GE+u/zBfrf8QGSn/BwcH/xMfM/8GBgb/Ch1C/xNJ
150
+        qv8SSKn/EUao/xFFp/9Mcrz/KCgo/wAAAAAAAAAAAAAAAAAAAAAoKCj/WX7C/yNWsf8jWLL/I1my/yVa
151
+        s/8nXLT/J1y1/yBZs/8OK1r/BgYG/ylJfP8lXbf/GFWz/xpWtP8yZLL/FB4t/wsLC/8LCwv/CQkJ/wcS
152
+        JP8VTKX/FU+u/xRNrf8UTKz/E0qr/012v/8oKCj/AAAAAAAAAAAAAAAAAAAAACgoKP9agsb/J1u1/yhc
153
+        tf8pXrb/KmC4/ypguf8qY7r/KmW7/yRfuP8TOnP/BwcH/yxOf/8rZrz/Nmm2/xchMP8ODg7/Dg4O/wwM
154
+        DP8JFCb/GVOr/xlWtf8ZVLT/GFOz/xhSsf8WT6//UHrC/ygoKP8AAAAAAAAAAAAAAAAAAAAAKCgo/1yF
155
+        yf8qYbj/LGO6/yxju/8tZr3/LWi9/y5pvv8va7//MGzA/ylovv8WP3f/CgoK/y1NeP8bJTT/EhIS/xIS
156
+        Ev8PDw//ChYn/x1asP8eXrr/HV25/xxbuP8aWbf/Gli2/xlWtf9Rf8b/KCgo/wAAAAAAAAAAAAAAAAAA
157
+        AAAoKCj/X4rM/y1nvP8uab7/L2u//zBuwf8ybsL/M3DD/zRzxP82dMX/NnXG/zBxw/8sTnn/FRUV/xUV
158
+        Ff8VFRX/EhIS/wwZKf8gYbX/ImfA/yJmv/8hZL7/IGK9/x5gvP8dX7r/G1y5/1SDyv8oKCj/AAAAAAAA
159
+        AAAAAAAAAAAAACgoKP9hjs7/MGzB/zJvwv8zccT/NXTF/zZ2x/84eMj/TIfN/1eP0P9TjdD/S4PF/yQv
160
+        PP8ZGRn/GRkZ/xkZGf8hLTr/K2+9/ydwxf8mbsT/JW3D/yRrwv8jasL/ImjA/yFlv/8fY73/VojM/ygo
161
+        KP8AAAAAAAAAAAAAAAAAAAAAKCgo/2SS0f81c8T/N3XH/zl3yP86esr/O3zL/06K0P80SmL/HBwc/ygz
162
+        P/81S2P/HBwc/xwcHP8YGBj/Gxsb/x8jJ/9CdrD/QIPQ/y12yv8qc8n/KXLH/ydwxv8mbcT/JWvE/yRo
163
+        wv9ZjND/KCgo/wAAAAAAAAAAAAAAAAAAAAAoKCj/aJbU/zp4yP89e8n/PnzK/z6Ay/9Ags3/OE1l/yAg
164
+        IP8gICD/ICAg/yAgIP8gICD/FxcX/xQhL/8PExj/Hh4e/yMnK/8zS2T/RoXH/zF7y/8ueMr/LXbJ/yx0
165
+        yP8qcMb/J27F/1yS0v8oKCj/AAAAAAAAAAAAAAAAAAAAACgoKP9rmtb/Pn7K/0B/zP9Bgs7/RIXQ/0eI
166
+        0v8gICD/GRkZ/wkJCf8ZGRn/IyMj/yMjI/85UGb/T43M/zx1r/8cISX/IyMj/yMjI/8sOEX/S4jL/zWA
167
+        zv8yfs3/MXrM/y54yv8tdcj/YJXU/ygoKP8AAAAAAAAAAAAAAAAAAAAAKCgo/26e2P9Cg8z/RIXO/0eI
168
+        0f9Ii9L/S47T/xIbJP8kPlf/UpXX/yU+WP8lJSX/Jycn/zU/Sv9amtv/Wprb/yU/WP8hISH/Jycn/ycn
169
+        J/8wPUn/TY7M/zeD0P81gc7/NH7N/zJ6zP9km9f/KCgo/wAAAAAAAAAAAAAAAAAAAAAoKCj/caLa/0aH
170
+        0f9IitL/So3T/02Q1v9PlNf/VJbY/1WY2f9Ymtr/aqXd/y8yNf8qKir/Hh4e/1+g2/9iodz/XZjP/xon
171
+        M/8kJCT/Kioq/yoqKv8zP0v/PYnT/zuH0v85hND/N4HP/2ee2v8oKCj/AAAAAAAAAAAAAAAAAAAAACgo
172
+        KP9zpdz/SYvS/0qP0/9Pk9f/UZXZ/1SY2f9Ymtv/W53c/1+g3P9HXHD/Li4u/yEhIf8uRVv/Z6Xe/2ek
173
+        3f9ppt7/Y5zS/x0pNf8oKCj/Li4u/xgYGP9Djtb/QIzU/z2K0/87htH/a6Pc/ygoKP8AAAAAAAAAAAAA
174
+        AAAAAAAAKCgo/3en3v9Mj9T/T5LW/1OW2P9Wmdn/Wp3a/12g2/9hodz/ZKTe/xcfJv8MDAz/MEZc/2yo
175
+        4P9tqeH/bqng/26q4P9vquH/aaHU/xwoM/8ODg7/NGKL/0qT1/9HkNf/Q47W/z+L1P9upt7/KCgo/wAA
176
+        AAAAAAAAAAAAAAAAAAAoKCj/eKrf/1GT1/9Tl9n/WJrb/1ud2/9goNz/ZKPd/2el3v9qqN7/bKng/3Cs
177
+        4f9wreL/c67i/3Ov4v9zsOL/dLDi/3Sv4/92r+L/dK7h/2Ke0v9XnNv/UZja/06W2f9Kk9j/RZDW/3Gp
178
+        3/8oKCj/AAAAAAAAAAAAAAAAAAAAACgoKP96reD/VJbY/1ia2v9dndz/YKHd/2Wk3v9op9//bang/3Cr
179
+        4f9yruL/dLDi/3ex4/94suP/erPj/3q04/96s+P/e7Pk/3qz5P96suP/ebHj/2qp4P9Zntz/Upna/0+X
180
+        2f9LlNj/da3h/ygoKP8AAAAAAAAAAAAAAAAAAAAAKCgo/3yw4/9Wmtr/W53c/2Ch3P9kpN3/aaff/2yq
181
+        4f9xreL/dLDj/3ax4/96s+P/e7Xk/3625v9/t+b/gLfm/4C35f+At+X/f7Xl/3215f99teT/fLPk/22q
182
+        4P9bn9z/VJva/1CX2v94sOP/KCgo/wAAAAAAAAAAAAAAAAAAAAAoKCj/fbLj/1qc2/9eoN3/Y6Te/2mn
183
+        3/9tquD/cq3h/3Ww5P94suT/e7Tl/3635f9/uOb/g7rm/4S75/+Fu+f/hLvn/4S75/+Euub/g7nm/4K3
184
+        5f+AtuX/f7Xl/2+s4P9boN3/VJzb/3uy4/8oKCj/AAAAAAAAAAAAAAAAAAAAACgoKP2DtOL/ZaTd/2Oj
185
+        3v9npt//a6nh/3Gt4f90sOP/ebLk/3u25P9/ueb/g7vn/4S76P+HvOj/ib7p/4q+6f+Kvun/ib7p/4m8
186
+        6P+HvOj/hrvm/4O55v+CuOX/gLbl/3Kt4f9mpt7/grbl/ygoKP8AAAAAAAAAAAAAAAAAAAAAJycn1pGv
187
+        yv+Rv+j/bKrg/2io4P9urOH/dK/j/3iz5P97teX/gLjm/4O65v+HvOj/ib/p/4vA6v+Nwer/jcLq/43B
188
+        6v+NwOr/jL/p/4u+6P+KvOf/h7rm/4W55v+Dt+b/ibzm/5/H6/+UsMr/Jycn1gAAAAAAAAAAAAAAAAAA
189
+        AAAnJydrS09T/73K1v/a6vf/2ur4/9vr+P/c7Pj/3uz4/9/t+f/g7vn/4O75/+Hv+v/i8Pr/4vD6/+Pw
190
+        +v/j8Pr/4/D6/+Pw+v/i8Pr/4u/6/+Hv+f/h7vn/4O75/+Dt+f/g7fj/v8rT/0tQU/8nJydrAAAAAAAA
191
+        AAAAAAAAAAAAAAAAAAAoKChsKCgo1SgoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygo
192
+        KP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCj/KCgo/ygoKP8oKCjSKCgoaQAA
193
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
194
+        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
195
+        AAAAAAAAAAAAAAAAAAAAAAAA/////8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
196
+        AAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
197
+        AAPAAAADwAAAA8AAAAPAAAAD4AAAB/////8=
198
+</value>
199
+  </data>
200
+</root>

+ 48
- 0
SYS-UPDATE/SYS-UPDATE.vb Zobrazit soubor

@@ -0,0 +1,48 @@
1
+Imports System.IO
2
+Public Class SYS_UPDATE
3
+    ReadOnly ds2 As New DataSet
4
+    Private Sub Set_清單1()
5
+        FDT_dgv.DataSource = Nothing : ds2.Clear()
6
+        FDT_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
7
+        FDT_dgv.ColumnHeadersHeight = 25
8
+        FDT_dgv.AllowUserToAddRows = False
9
+        SQL_FTP資料夾路徑分配()
10
+        da.Fill(ds2) : FDT_dgv.DataSource = ds2.Tables(0) : conn.Close()
11
+    End Sub
12
+    Private Sub SYS_UPDATE_Load(sender As Object, e As EventArgs) Handles MyBase.Load
13
+        資料數 = 17
14
+        '-----------------------寫入連線字串-----------------------------------------------------------------------------------------------------------------------------------------------
15
+        MyModule1.進度條() : 登入人IP = "103.231.201.230,2433"
16
+        MyModule1.進度條() : SQL_連線字串_ERP()
17
+        MyModule1.進度條() : 伺服器區域_cb.Text = "雲端" : g_conn_type = "雲端"
18
+        '-----------------------FTP資料夾登入位置宣告--------------------------------------------------------------------------------------------------------------------------------------
19
+        MyModule1.進度條() : SQL_FTP伺服器登入位置()
20
+        MyModule1.進度條() : If dr.Read() Then : Target = dr("FTP地址") : FTP帳號 = dr("FTP帳號") : FTP密碼 = dr("FTP密碼") : End If : conn.Close()
21
+        MyModule1.進度條() : Set_清單1()
22
+        MyModule1.進度條() : Dim HH As String = ""
23
+        For i As Integer = 0 To FDT_dgv.Rows.Count - 1
24
+            If i < 10 Then : HH = "0" & i : ElseIf i >= 10 Then : HH = i : End If
25
+            If FDT_dgv("指定", i).Value.ToString = "AA" & HH Then : AA(i) = FDT_dgv("資料夾名稱", i).Value.ToString : End If
26
+        Next
27
+        MyModule1.進度條() : Target1 = Target & AA(0) & "/"
28
+    End Sub
29
+    Private Sub SYS_UPDATE_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
30
+        MyModule1.進度條() : Delay(30000)
31
+        MyModule1.進度條() : Dim Str As String = Application.StartupPath
32
+        MyModule1.進度條() : If File.Exists(Str + "\GA-ERP-SYS.exe") Then : File.Delete(Str + "\GA-ERP-SYS.exe") : End If
33
+        MyModule1.進度條() : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "GA-ERP-SYS.exe", Str + "\GA-ERP-SYS.exe")
34
+        MyModule1.進度條() : If File.Exists(Str + "\loginVerify.exe") Then : File.Delete(Str + "\loginVerify.exe") : End If
35
+        MyModule1.進度條() : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "loginVerify.exe", Str + "\loginVerify.exe")
36
+        MyModule1.進度條() : If File.Exists(Str + "\Auto.exe") Then : File.Delete(Str + "\Auto.exe") : End If
37
+        MyModule1.進度條() : My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "Auto.exe", Str + "\Auto.exe")
38
+        MyModule1.進度條() : Shell(Str + "\GA-ERP-SYS.exe", vbNormalFocus)
39
+        Me.Close()
40
+    End Sub
41
+    Public Sub Delay(ByRef Interval As Double)  'Interval单位为毫秒
42
+        Dim time As DateTime = DateTime.Now
43
+        Dim Span As Double = Interval * 1234
44
+        While ((DateTime.Now.Ticks - time.Ticks) < Span)
45
+            Application.DoEvents()
46
+        End While
47
+    End Sub
48
+End Class

+ 131
- 0
SYS-UPDATE/SYS-UPDATE.vbproj Zobrazit soubor

@@ -0,0 +1,131 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
+  <PropertyGroup>
5
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7
+    <ProjectGuid>{D0806AA5-B858-4178-B1A2-8CCDA1F4EE00}</ProjectGuid>
8
+    <OutputType>WinExe</OutputType>
9
+    <StartupObject>SYS_UPDATE.My.MyApplication</StartupObject>
10
+    <RootNamespace>SYS_UPDATE</RootNamespace>
11
+    <AssemblyName>SYS-UPDATE</AssemblyName>
12
+    <FileAlignment>512</FileAlignment>
13
+    <MyType>WindowsForms</MyType>
14
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
15
+    <Deterministic>true</Deterministic>
16
+  </PropertyGroup>
17
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18
+    <PlatformTarget>AnyCPU</PlatformTarget>
19
+    <DebugSymbols>true</DebugSymbols>
20
+    <DebugType>full</DebugType>
21
+    <DefineDebug>true</DefineDebug>
22
+    <DefineTrace>true</DefineTrace>
23
+    <OutputPath>bin\Debug\</OutputPath>
24
+    <DocumentationFile>SYS-UPDATE.xml</DocumentationFile>
25
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
26
+  </PropertyGroup>
27
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28
+    <PlatformTarget>AnyCPU</PlatformTarget>
29
+    <DebugType>pdbonly</DebugType>
30
+    <DefineDebug>false</DefineDebug>
31
+    <DefineTrace>true</DefineTrace>
32
+    <Optimize>true</Optimize>
33
+    <OutputPath>bin\Release\</OutputPath>
34
+    <DocumentationFile>SYS-UPDATE.xml</DocumentationFile>
35
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
36
+  </PropertyGroup>
37
+  <PropertyGroup>
38
+    <OptionExplicit>On</OptionExplicit>
39
+  </PropertyGroup>
40
+  <PropertyGroup>
41
+    <OptionCompare>Binary</OptionCompare>
42
+  </PropertyGroup>
43
+  <PropertyGroup>
44
+    <OptionStrict>Off</OptionStrict>
45
+  </PropertyGroup>
46
+  <PropertyGroup>
47
+    <OptionInfer>On</OptionInfer>
48
+  </PropertyGroup>
49
+  <PropertyGroup>
50
+    <ApplicationIcon>wrench1.ico</ApplicationIcon>
51
+  </PropertyGroup>
52
+  <ItemGroup>
53
+    <Reference Include="System" />
54
+    <Reference Include="System.Data" />
55
+    <Reference Include="System.Deployment" />
56
+    <Reference Include="System.Drawing" />
57
+    <Reference Include="System.Windows.Forms" />
58
+    <Reference Include="System.Xml" />
59
+    <Reference Include="System.Core" />
60
+    <Reference Include="System.Xml.Linq" />
61
+    <Reference Include="System.Data.DataSetExtensions" />
62
+    <Reference Include="System.Net.Http" />
63
+  </ItemGroup>
64
+  <ItemGroup>
65
+    <Import Include="Microsoft.VisualBasic" />
66
+    <Import Include="System" />
67
+    <Import Include="System.Collections" />
68
+    <Import Include="System.Collections.Generic" />
69
+    <Import Include="System.Data" />
70
+    <Import Include="System.Drawing" />
71
+    <Import Include="System.Diagnostics" />
72
+    <Import Include="System.Windows.Forms" />
73
+    <Import Include="System.Linq" />
74
+    <Import Include="System.Xml.Linq" />
75
+    <Import Include="System.Threading.Tasks" />
76
+  </ItemGroup>
77
+  <ItemGroup>
78
+    <Compile Include="SYS-UPDATE.vb">
79
+      <SubType>Form</SubType>
80
+    </Compile>
81
+    <Compile Include="SYS-UPDATE.Designer.vb">
82
+      <DependentUpon>SYS-UPDATE.vb</DependentUpon>
83
+      <SubType>Form</SubType>
84
+    </Compile>
85
+    <Compile Include="My Project\AssemblyInfo.vb" />
86
+    <Compile Include="My Project\Application.Designer.vb">
87
+      <AutoGen>True</AutoGen>
88
+      <DependentUpon>Application.myapp</DependentUpon>
89
+      <DesignTime>True</DesignTime>
90
+    </Compile>
91
+    <Compile Include="My Project\Resources.Designer.vb">
92
+      <AutoGen>True</AutoGen>
93
+      <DesignTime>True</DesignTime>
94
+      <DependentUpon>Resources.resx</DependentUpon>
95
+    </Compile>
96
+    <Compile Include="My Project\Settings.Designer.vb">
97
+      <AutoGen>True</AutoGen>
98
+      <DependentUpon>Settings.settings</DependentUpon>
99
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
100
+    </Compile>
101
+    <Compile Include="SQL_Module.vb" />
102
+    <Compile Include="全域變數.vb" />
103
+  </ItemGroup>
104
+  <ItemGroup>
105
+    <EmbeddedResource Include="SYS-UPDATE.resx">
106
+      <DependentUpon>SYS-UPDATE.vb</DependentUpon>
107
+    </EmbeddedResource>
108
+    <EmbeddedResource Include="My Project\Resources.resx">
109
+      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
110
+      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
111
+      <CustomToolNamespace>My.Resources</CustomToolNamespace>
112
+      <SubType>Designer</SubType>
113
+    </EmbeddedResource>
114
+  </ItemGroup>
115
+  <ItemGroup>
116
+    <None Include="My Project\Application.myapp">
117
+      <Generator>MyApplicationCodeGenerator</Generator>
118
+      <LastGenOutput>Application.Designer.vb</LastGenOutput>
119
+    </None>
120
+    <None Include="My Project\Settings.settings">
121
+      <Generator>SettingsSingleFileGenerator</Generator>
122
+      <CustomToolNamespace>My</CustomToolNamespace>
123
+      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
124
+    </None>
125
+    <None Include="App.config" />
126
+  </ItemGroup>
127
+  <ItemGroup>
128
+    <Content Include="wrench1.ico" />
129
+  </ItemGroup>
130
+  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
131
+</Project>

binární
SYS-UPDATE/bin/Debug/Auto.exe Zobrazit soubor


binární
SYS-UPDATE/bin/Debug/GA-ERP-SYS.exe Zobrazit soubor


binární
SYS-UPDATE/bin/Debug/SYS-UPDATE.exe Zobrazit soubor


+ 6
- 0
SYS-UPDATE/bin/Debug/SYS-UPDATE.exe.config Zobrazit soubor

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="utf-8" ?>
2
+<configuration>
3
+    <startup>
4
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
5
+    </startup>
6
+</configuration>

binární
SYS-UPDATE/bin/Debug/SYS-UPDATE.pdb Zobrazit soubor


+ 26
- 0
SYS-UPDATE/bin/Debug/SYS-UPDATE.xml Zobrazit soubor

@@ -0,0 +1,26 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+SYS-UPDATE
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:SYS_UPDATE.My.Resources.Resources">
10
+<summary>
11
+  A strongly-typed resource class, for looking up localized strings, etc.
12
+</summary>
13
+</member>
14
+<member name="P:SYS_UPDATE.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  Returns the cached ResourceManager instance used by this class.
17
+</summary>
18
+</member>
19
+<member name="P:SYS_UPDATE.My.Resources.Resources.Culture">
20
+<summary>
21
+  Overrides the current thread's CurrentUICulture property for all
22
+  resource lookups using this strongly typed resource class.
23
+</summary>
24
+</member>
25
+</members>
26
+</doc>

binární
SYS-UPDATE/bin/Debug/loginVerify.exe Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/DesignTimeResolveAssemblyReferences.cache Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/SYS-UPDATE.exe Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/SYS-UPDATE.pdb Zobrazit soubor


+ 1
- 0
SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.CoreCompileInputs.cache Zobrazit soubor

@@ -0,0 +1 @@
1
+04af96f1783334a1d4800be8ce0d19988d8815ee

+ 24
- 0
SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.FileListAbsolute.txt Zobrazit soubor

@@ -0,0 +1,24 @@
1
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.exe.config
2
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.exe
3
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.pdb
4
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.xml
5
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS_UPDATE.SYS_UPDATE.resources
6
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS_UPDATE.Resources.resources
7
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbproj.GenerateResource.cache
8
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbproj.CoreCompileInputs.cache
9
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.exe
10
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.xml
11
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.pdb
12
+D:\工巧明\GCM\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbprojAssemblyReference.cache
13
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.exe.config
14
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.exe
15
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.pdb
16
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\bin\Debug\SYS-UPDATE.xml
17
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS_UPDATE.SYS_UPDATE.resources
18
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS_UPDATE.Resources.resources
19
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbproj.GenerateResource.cache
20
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbproj.CoreCompileInputs.cache
21
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.exe
22
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.xml
23
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.pdb
24
+D:\工巧明\GA\SYS-UPDATE\SYS-UPDATE\obj\Debug\SYS-UPDATE.vbprojAssemblyReference.cache

binární
SYS-UPDATE/obj/Debug/SYS-UPDATE.vbproj.GenerateResource.cache Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/SYS-UPDATE.vbprojAssemblyReference.cache Zobrazit soubor


+ 26
- 0
SYS-UPDATE/obj/Debug/SYS-UPDATE.xml Zobrazit soubor

@@ -0,0 +1,26 @@
1
+<?xml version="1.0"?>
2
+<doc>
3
+<assembly>
4
+<name>
5
+SYS-UPDATE
6
+</name>
7
+</assembly>
8
+<members>
9
+<member name="T:SYS_UPDATE.My.Resources.Resources">
10
+<summary>
11
+  A strongly-typed resource class, for looking up localized strings, etc.
12
+</summary>
13
+</member>
14
+<member name="P:SYS_UPDATE.My.Resources.Resources.ResourceManager">
15
+<summary>
16
+  Returns the cached ResourceManager instance used by this class.
17
+</summary>
18
+</member>
19
+<member name="P:SYS_UPDATE.My.Resources.Resources.Culture">
20
+<summary>
21
+  Overrides the current thread's CurrentUICulture property for all
22
+  resource lookups using this strongly typed resource class.
23
+</summary>
24
+</member>
25
+</members>
26
+</doc>

binární
SYS-UPDATE/obj/Debug/SYS_UPDATE.Resources.resources Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/SYS_UPDATE.SYS_UPDATE.resources Zobrazit soubor


binární
SYS-UPDATE/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll Zobrazit soubor


binární
SYS-UPDATE/wrench1.ico Zobrazit soubor


+ 16
- 0
SYS-UPDATE/全域變數.vb Zobrazit soubor

@@ -0,0 +1,16 @@
1
+Module 全域變數
2
+    Public g_conn_type As String : Public gUserName As String : Public 版本號 As String :: Public 登入人IP As String : Public AA(99) As String
3
+    Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public FTP物理位置 As String
4
+    Friend Sub SQL_連線字串_ERP()
5
+        ConString = "Data Source=" & 登入人IP & ";Initial Catalog=GA-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
6
+    End Sub
7
+    Public 平均數 As Integer : Public 最終數 As Integer = 0 : Public 資料數 As Integer = 0
8
+    Public Class MyModule1
9
+        Friend Shared Sub 進度條()
10
+            平均數 = 10000 / 資料數
11
+            最終數 += 平均數
12
+            If 最終數 > 10000 Then : 最終數 = 10000 : End If
13
+            SYS_UPDATE.ProgressBar1.Value = 最終數
14
+        End Sub
15
+    End Class
16
+End Module

Loading…
Zrušit
Uložit