feat: 최초 커밋
기존 프로그램 업로드
This commit is contained in:
commit
fe00c71228
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"CurrentProjectSetting": null
|
||||||
|
}
|
BIN
.vs/TDReportUploader/v17/.suo
Normal file
BIN
.vs/TDReportUploader/v17/.suo
Normal file
Binary file not shown.
12
.vs/TDReportUploader/v17/DocumentLayout.backup.json
Normal file
12
.vs/TDReportUploader/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\JOMT-NOTE-PC\\SECUDRIVE DG\\programs\\TD_Data_Server_Register\\",
|
||||||
|
"Documents": [],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
12
.vs/TDReportUploader/v17/DocumentLayout.json
Normal file
12
.vs/TDReportUploader/v17/DocumentLayout.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "C:\\Users\\JOMT-NOTE-PC\\SECUDRIVE DG\\programs\\TD_Data_Server_Register\\",
|
||||||
|
"Documents": [],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
BIN
.vs/TD_Data_Server_Register/v17/.wsuo
Normal file
BIN
.vs/TD_Data_Server_Register/v17/.wsuo
Normal file
Binary file not shown.
52
.vs/TD_Data_Server_Register/v17/DocumentLayout.backup.json
Normal file
52
.vs/TD_Data_Server_Register/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "frmMySqlTest.vb",
|
||||||
|
"DocumentMoniker": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb",
|
||||||
|
"RelativeDocumentMoniker": "frmMySqlTest.vb",
|
||||||
|
"ToolTip": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb",
|
||||||
|
"RelativeToolTip": "frmMySqlTest.vb",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
|
||||||
|
"WhenOpened": "2025-02-26T03:01:25.252Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "frmDBInput.vb",
|
||||||
|
"DocumentMoniker": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb",
|
||||||
|
"RelativeDocumentMoniker": "frmDBInput.vb",
|
||||||
|
"ToolTip": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb",
|
||||||
|
"RelativeToolTip": "frmDBInput.vb",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
|
||||||
|
"WhenOpened": "2025-02-26T03:01:15.748Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
52
.vs/TD_Data_Server_Register/v17/DocumentLayout.json
Normal file
52
.vs/TD_Data_Server_Register/v17/DocumentLayout.json
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "frmMySqlTest.vb",
|
||||||
|
"DocumentMoniker": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb",
|
||||||
|
"RelativeDocumentMoniker": "frmMySqlTest.vb",
|
||||||
|
"ToolTip": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmMySqlTest.vb",
|
||||||
|
"RelativeToolTip": "frmMySqlTest.vb",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
|
||||||
|
"WhenOpened": "2025-02-26T03:01:25.252Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "frmDBInput.vb",
|
||||||
|
"DocumentMoniker": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb",
|
||||||
|
"RelativeDocumentMoniker": "frmDBInput.vb",
|
||||||
|
"ToolTip": "\\\\192.168.1.251\\\uC5F0\uAD6C\uC18C\\\uC18C\uD504\uD2B8\uC6E8\uC5B4\\Work Software\\(\uC5F0\uAD6C\uC18C) Transducer \uC11C\uBC84 \uB4F1\uB85D \uD504\uB85C\uADF8\uB7A8\\TD_Data_Server_Register\\frmDBInput.vb",
|
||||||
|
"RelativeToolTip": "frmDBInput.vb",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
|
||||||
|
"WhenOpened": "2025-02-26T03:01:15.748Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
7
.vs/VSWorkspaceState.json
Normal file
7
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\frmDBInput.vb",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
6
App.config
Normal file
6
App.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
138
ExcelModule.vb
Normal file
138
ExcelModule.vb
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
Imports Excel = Microsoft.Office.Interop.Excel
|
||||||
|
|
||||||
|
Module ExcelModule
|
||||||
|
Private xlApp As New Excel.Application '엑셀 응용프로그램의 변수.
|
||||||
|
Private xlworkbook As Excel.Workbook
|
||||||
|
Private xlworksheet As Excel.Worksheet
|
||||||
|
Private xlRange As Excel.Range
|
||||||
|
Public xlReadData(,) As Object
|
||||||
|
|
||||||
|
Private Function OpenDBFile() As String
|
||||||
|
Dim filePath As String
|
||||||
|
|
||||||
|
With frmMySqlTest.OpenFileDB
|
||||||
|
.Title = "[JION MEDITECH] Select T/D DB File!"
|
||||||
|
.InitialDirectory = "d:\"
|
||||||
|
.Filter = "T/D DB Files | *.xlsx;*.xls;"
|
||||||
|
.Multiselect = False
|
||||||
|
If .ShowDialog() = 0 Then
|
||||||
|
.ShowDialog()
|
||||||
|
End If
|
||||||
|
End With
|
||||||
|
|
||||||
|
filePath = frmMySqlTest.OpenFileDB.FileName
|
||||||
|
Return filePath
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function loadExcelDB() As Boolean
|
||||||
|
Dim xlRowCnt, xlCollumnCnt As Integer
|
||||||
|
Dim xlEndPosition As String
|
||||||
|
Dim currRowCnt As Integer
|
||||||
|
Dim filePath As String
|
||||||
|
|
||||||
|
Try
|
||||||
|
filePath = OpenDBFile()
|
||||||
|
'filePath = "d:\Excel_Spl.xlsx"
|
||||||
|
|
||||||
|
'엑셀 창을 띄울것인지 여부 체크
|
||||||
|
xlApp = DirectCast(CreateObject("Excel.Application"), Excel.Application)
|
||||||
|
xlApp.Visible = False
|
||||||
|
xlworkbook = xlApp.Workbooks.Open(filePath)
|
||||||
|
xlworksheet = xlworkbook.Sheets(1)
|
||||||
|
|
||||||
|
'xlRange = xlworksheet.Range("A1", Type.Missing)
|
||||||
|
xlRowCnt = xlworksheet.Range("A1").CurrentRegion.Rows.Count
|
||||||
|
xlCollumnCnt = xlworksheet.Range("A1").CurrentRegion.Columns.Count
|
||||||
|
xlEndPosition = xlworksheet.Range("A1").CurrentRegion.Address
|
||||||
|
|
||||||
|
xlRange = xlworksheet.Range(xlEndPosition)
|
||||||
|
|
||||||
|
'Retrieve the data from the range.
|
||||||
|
ReDim xlReadData(xlRowCnt, xlCollumnCnt)
|
||||||
|
xlReadData = xlRange.Value
|
||||||
|
|
||||||
|
xlworkbook.Close()
|
||||||
|
xlApp.Quit()
|
||||||
|
|
||||||
|
currRowCnt = frmMySqlTest.DataGridView.Rows.Count
|
||||||
|
|
||||||
|
If currRowCnt > 1 Then
|
||||||
|
For cnt = 1 To currRowCnt - 1
|
||||||
|
frmMySqlTest.DataGridView.Rows.RemoveAt(0)
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
frmMySqlTest.txbPVdate.Text = xlReadData(2, 2)
|
||||||
|
|
||||||
|
For cnt = 4 To xlRowCnt
|
||||||
|
frmMySqlTest.DataGridView.Rows.Add(xlReadData(cnt, 1), xlReadData(cnt, 2), Val(xlReadData(cnt, 3)) * 1000, xlReadData(cnt, 4), xlReadData(cnt, 5), xlReadData(cnt, 6), xlReadData(cnt, 7))
|
||||||
|
Next
|
||||||
|
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
xlworkbook.Close()
|
||||||
|
xlApp.Quit()
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function loadIQCExcelDB() As Boolean
|
||||||
|
Dim xlRowCnt, xlCollumnCnt As Integer
|
||||||
|
Dim xlEndPosition As String
|
||||||
|
Dim currRowCnt As Integer
|
||||||
|
Dim filePath As String
|
||||||
|
|
||||||
|
Try
|
||||||
|
filePath = OpenDBFile()
|
||||||
|
'filePath = "d:\Excel_Spl.xlsx"
|
||||||
|
|
||||||
|
'엑셀 창을 띄울것인지 여부 체크
|
||||||
|
xlApp = DirectCast(CreateObject("Excel.Application"), Excel.Application)
|
||||||
|
xlApp.Visible = False
|
||||||
|
xlworkbook = xlApp.Workbooks.Open(filePath)
|
||||||
|
xlworksheet = xlworkbook.Sheets(1)
|
||||||
|
|
||||||
|
'xlRange = xlworksheet.Range("A1", Type.Missing)
|
||||||
|
xlRowCnt = xlworksheet.Range("A1").CurrentRegion.Rows.Count
|
||||||
|
xlCollumnCnt = xlworksheet.Range("A1").CurrentRegion.Columns.Count
|
||||||
|
xlEndPosition = xlworksheet.Range("A1").CurrentRegion.Address
|
||||||
|
|
||||||
|
xlRange = xlworksheet.Range(xlEndPosition)
|
||||||
|
|
||||||
|
'Retrieve the data from the range.
|
||||||
|
ReDim xlReadData(xlRowCnt, xlCollumnCnt)
|
||||||
|
xlReadData = xlRange.Value
|
||||||
|
|
||||||
|
xlworkbook.Close()
|
||||||
|
xlApp.Quit()
|
||||||
|
|
||||||
|
currRowCnt = frmMySqlTest.DataGridView.Rows.Count
|
||||||
|
|
||||||
|
If currRowCnt > 1 Then
|
||||||
|
For cnt = 1 To currRowCnt - 1
|
||||||
|
frmMySqlTest.DataGridView.Rows.RemoveAt(0)
|
||||||
|
Next
|
||||||
|
End If
|
||||||
|
|
||||||
|
For cnt = 2 To xlRowCnt
|
||||||
|
frmMySqlTest.DataGridView.Rows.Add(xlReadData(cnt, 1), xlReadData(cnt, 2), xlReadData(cnt, 3), xlReadData(cnt, 4), xlReadData(cnt, 5), xlReadData(cnt, 6), Format(xlReadData(cnt, 7), "0.000"), Format(xlReadData(cnt, 8), "0.000"), Format(xlReadData(cnt, 9), "0.000"), Format(xlReadData(cnt, 10), "0.000"), Format(xlReadData(cnt, 11), "0.000"), Format(xlReadData(cnt, 12), "0.000"))
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
xlworkbook.Close()
|
||||||
|
xlApp.Quit()
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
|
||||||
|
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
End Module
|
BIN
JOMT 아이콘.ico
Normal file
BIN
JOMT 아이콘.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
44
My Project/Application.Designer.vb
generated
Normal file
44
My Project/Application.Designer.vb
generated
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
' 런타임 버전:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
' 이러한 변경 내용이 손실됩니다.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
'참고: 자동으로 생성되므로 직접 이 파일을 수정하지 마세요. 변경할 사항이 있거나
|
||||||
|
' 파일에서 빌드 오류가 발생하는 경우 프로젝트 디자이너로
|
||||||
|
' 이동([프로젝트 속성]으로 이동하거나 솔루션 탐색기에서 My Project 노드를
|
||||||
|
'두 번 클릭)한 다음 [애플리케이션] 탭에서 변경하세요.
|
||||||
|
'
|
||||||
|
Partial Friend Class MyApplication
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Public Sub New()
|
||||||
|
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
|
||||||
|
Me.IsSingleInstance = false
|
||||||
|
Me.EnableVisualStyles = true
|
||||||
|
Me.SaveMySettingsOnExit = true
|
||||||
|
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Protected Overrides Sub OnCreateMainForm()
|
||||||
|
Me.MainForm = Global.db_test1.frmMySqlTest
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
|
||||||
|
Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean
|
||||||
|
Me.MinimumSplashScreenDisplayTime = 0
|
||||||
|
Return MyBase.OnInitialize(commandLineArgs)
|
||||||
|
End Function
|
||||||
|
End Class
|
||||||
|
End Namespace
|
10
My Project/Application.myapp
Normal file
10
My Project/Application.myapp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<MySubMain>true</MySubMain>
|
||||||
|
<MainForm>frmMySqlTest</MainForm>
|
||||||
|
<SingleInstance>false</SingleInstance>
|
||||||
|
<ShutdownMode>0</ShutdownMode>
|
||||||
|
<EnableVisualStyles>true</EnableVisualStyles>
|
||||||
|
<AuthenticationMode>0</AuthenticationMode>
|
||||||
|
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||||
|
</MyApplicationData>
|
35
My Project/AssemblyInfo.vb
Normal file
35
My Project/AssemblyInfo.vb
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
Imports System.Runtime.InteropServices
|
||||||
|
|
||||||
|
' 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||||
|
' 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||||
|
' 이러한 특성 값을 변경하세요.
|
||||||
|
|
||||||
|
' 어셈블리 특성 값을 검토합니다.
|
||||||
|
|
||||||
|
<Assembly: AssemblyTitle("db_test1")>
|
||||||
|
<Assembly: AssemblyDescription("")>
|
||||||
|
<Assembly: AssemblyCompany("")>
|
||||||
|
<Assembly: AssemblyProduct("db_test1")>
|
||||||
|
<Assembly: AssemblyCopyright("Copyright © 2020")>
|
||||||
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
|
'이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||||
|
<Assembly: Guid("27af41f8-0dd5-4702-ba20-5a5a083a327f")>
|
||||||
|
|
||||||
|
' 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||||
|
'
|
||||||
|
' 주 버전
|
||||||
|
' 부 버전
|
||||||
|
' 빌드 번호
|
||||||
|
' 수정 버전
|
||||||
|
'
|
||||||
|
' 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||||
|
' 기본값으로 할 수 있습니다.
|
||||||
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
|
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||||
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
63
My Project/Resources.Designer.vb
generated
Normal file
63
My Project/Resources.Designer.vb
generated
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
' 런타임 버전:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
' 이러한 변경 내용이 손실됩니다.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
|
||||||
|
Namespace My.Resources
|
||||||
|
|
||||||
|
'이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||||
|
'클래스에서 자동으로 생성되었습니다.
|
||||||
|
'멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
|
||||||
|
'다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||||
|
'''<summary>
|
||||||
|
''' 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||||
|
Friend Module Resources
|
||||||
|
|
||||||
|
Private resourceMan As Global.System.Resources.ResourceManager
|
||||||
|
|
||||||
|
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||||
|
Get
|
||||||
|
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||||
|
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("db_test1.Resources", GetType(Resources).Assembly)
|
||||||
|
resourceMan = temp
|
||||||
|
End If
|
||||||
|
Return resourceMan
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
||||||
|
''' 재정의합니다.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||||
|
Get
|
||||||
|
Return resourceCulture
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
resourceCulture = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
117
My Project/Resources.resx
Normal file
117
My Project/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
73
My Project/Settings.Designer.vb
generated
Normal file
73
My Project/Settings.Designer.vb
generated
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' 이 코드는 도구를 사용하여 생성되었습니다.
|
||||||
|
' 런타임 버전:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||||
|
' 이러한 변경 내용이 손실됩니다.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.13.0.0"), _
|
||||||
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Partial Friend NotInheritable Class MySettings
|
||||||
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|
||||||
|
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||||
|
|
||||||
|
#Region "My.Settings 자동 저장 기능"
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
Private Shared addedHandler As Boolean
|
||||||
|
|
||||||
|
Private Shared addedHandlerLockObject As New Object
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||||
|
If My.Application.SaveMySettingsOnExit Then
|
||||||
|
My.Settings.Save()
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
#End If
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
Public Shared ReadOnly Property [Default]() As MySettings
|
||||||
|
Get
|
||||||
|
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
If Not addedHandler Then
|
||||||
|
SyncLock addedHandlerLockObject
|
||||||
|
If Not addedHandler Then
|
||||||
|
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||||
|
addedHandler = True
|
||||||
|
End If
|
||||||
|
End SyncLock
|
||||||
|
End If
|
||||||
|
#End If
|
||||||
|
Return defaultInstance
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||||
|
Friend Module MySettingsProperty
|
||||||
|
|
||||||
|
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||||
|
Friend ReadOnly Property Settings() As Global.db_test1.My.MySettings
|
||||||
|
Get
|
||||||
|
Return Global.db_test1.My.MySettings.Default
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
7
My Project/Settings.settings
Normal file
7
My Project/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
126
MySqlModule.vb
Normal file
126
MySqlModule.vb
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
Imports MySql.Data ' 데이터베이스 연동을 위한 네임스페이스 추가
|
||||||
|
Imports MySql.Data.MySqlClient ' MYSQL Server용 네임스페이스 추가
|
||||||
|
Module MySqlModule
|
||||||
|
Private Const ServerIP As String = "192.168.0.250"
|
||||||
|
Private Const DataBaseName As String = "jomtTesterDB"
|
||||||
|
Private Const UserName As String = "root"
|
||||||
|
Private Const Password As String = "JOMT1646db!!"
|
||||||
|
Private Const Conn As String = "Server=" + ServerIP + ";DataBase=" + DataBaseName + ";user=" + UserName + ";password=" + Password + ";"
|
||||||
|
|
||||||
|
Private sqlCon As New MySqlConnection(Conn)
|
||||||
|
Private sqlCmd As New MySqlCommand()
|
||||||
|
Private sqlData As MySqlDataReader
|
||||||
|
Public sqlDataQueryScalar As Object
|
||||||
|
Public sqlDataQuery() As Object
|
||||||
|
|
||||||
|
Private Function DBOpen() As Boolean
|
||||||
|
Try
|
||||||
|
If sqlCon.State <> ConnectionState.Open Then
|
||||||
|
sqlCon.Open()
|
||||||
|
End If
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Private Function DBClose() As Boolean
|
||||||
|
Try
|
||||||
|
If sqlCon.State = ConnectionState.Open Then
|
||||||
|
sqlCon.Close()
|
||||||
|
End If
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
Public Function DBCommand(cmdStr As String) As Boolean
|
||||||
|
Try
|
||||||
|
sqlCon.Open()
|
||||||
|
sqlCmd.CommandText = "USE jomtTesterDB;"
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlCmd.ExecuteNonQuery()
|
||||||
|
|
||||||
|
sqlCmd.CommandText = cmdStr
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlCmd.ExecuteNonQuery()
|
||||||
|
|
||||||
|
sqlCon.Close()
|
||||||
|
|
||||||
|
Return True
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
sqlCon.Close()
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function DBQueryScalar(cmdStr As String) As String
|
||||||
|
Try
|
||||||
|
sqlCon.Open()
|
||||||
|
sqlCmd.CommandText = "USE jomtTesterDB;"
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlCmd.ExecuteNonQuery()
|
||||||
|
|
||||||
|
sqlCmd.CommandText = cmdStr
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlDataQueryScalar = sqlCmd.ExecuteScalar()
|
||||||
|
|
||||||
|
sqlCon.Close()
|
||||||
|
|
||||||
|
Return sqlDataQueryScalar
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
sqlCon.Close()
|
||||||
|
Return False
|
||||||
|
End Try
|
||||||
|
End
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function DBQueryReader(cmdStr As String) As Integer
|
||||||
|
Dim FieldCount As Integer
|
||||||
|
Dim QueryCount As ULong
|
||||||
|
Dim initRun As Boolean = True
|
||||||
|
|
||||||
|
Try
|
||||||
|
DBOpen()
|
||||||
|
|
||||||
|
sqlCmd.CommandText = "USE jomtTesterDB;"
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlCmd.ExecuteNonQuery()
|
||||||
|
|
||||||
|
sqlCmd.CommandText = cmdStr
|
||||||
|
sqlCmd.Connection = sqlCon
|
||||||
|
sqlData = sqlCmd.ExecuteReader
|
||||||
|
|
||||||
|
FieldCount = sqlData.FieldCount
|
||||||
|
|
||||||
|
While (sqlData.Read())
|
||||||
|
If initRun Then
|
||||||
|
ReDim sqlDataQuery(FieldCount - 1)
|
||||||
|
initRun = False
|
||||||
|
Else
|
||||||
|
ReDim Preserve sqlDataQuery(UBound(sqlDataQuery) + FieldCount)
|
||||||
|
End If
|
||||||
|
|
||||||
|
For cnt = 0 To FieldCount - 1
|
||||||
|
sqlDataQuery(QueryCount) = sqlData.GetString(cnt)
|
||||||
|
QueryCount += 1
|
||||||
|
Next
|
||||||
|
End While
|
||||||
|
|
||||||
|
DBClose()
|
||||||
|
Return QueryCount
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
'MsgBox("MySqlCommand Error:" + vbCrLf + Err.Description)
|
||||||
|
If sqlCon.State = ConnectionState.Open Then sqlCon.Close()
|
||||||
|
Return 0
|
||||||
|
End Try
|
||||||
|
End
|
||||||
|
End Function
|
||||||
|
|
||||||
|
End Module
|
25
TDReportUploader.sln
Normal file
25
TDReportUploader.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.13.35919.96 d17.13
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "TDReportUploader", "TDReportUploader.vbproj", "{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}.Release|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {598D118B-F2E2-4852-8BA9-7B754CA38949}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
190
TDReportUploader.vbproj
Normal file
190
TDReportUploader.vbproj
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{92B33A97-9AC7-48FD-98DF-E8DC3C9A6C2D}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<StartupObject>db_test1.My.MyApplication</StartupObject>
|
||||||
|
<RootNamespace>db_test1</RootNamespace>
|
||||||
|
<AssemblyName>db_test1</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>WindowsForms</MyType>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DocumentationFile>db_test1.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>db_test1.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>JOMT 아이콘.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="MySql.Data, Version=8.0.20.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>C:\Program Files (x86)\MySQL\MySQL Connector Net 8.0.20\Assemblies\v4.5.2\MySql.Data.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Drawing" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Windows.Forms" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="ExcelModule.vb" />
|
||||||
|
<Compile Include="frmDBInput.Designer.vb">
|
||||||
|
<DependentUpon>frmDBInput.vb</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmDBInput.vb" />
|
||||||
|
<Compile Include="frmMySqlTest.vb">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmMySqlTest.Designer.vb">
|
||||||
|
<DependentUpon>frmMySqlTest.vb</DependentUpon>
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MySqlModule.vb" />
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="frmDBInput.resx">
|
||||||
|
<DependentUpon>frmDBInput.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmMySqlTest.resx">
|
||||||
|
<DependentUpon>frmMySqlTest.vb</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<COMReference Include="Microsoft.Office.Core">
|
||||||
|
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
|
||||||
|
<VersionMajor>2</VersionMajor>
|
||||||
|
<VersionMinor>5</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="Microsoft.Office.Interop.Excel">
|
||||||
|
<Guid>{00020813-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>1</VersionMajor>
|
||||||
|
<VersionMinor>7</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="MSGrid">
|
||||||
|
<Guid>{A8B3B723-0B5A-101B-B22E-00AA0037B2FC}</Guid>
|
||||||
|
<VersionMajor>1</VersionMajor>
|
||||||
|
<VersionMinor>0</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>tlbimp</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="StdType">
|
||||||
|
<Guid>{BEF6E001-A874-101A-8BBA-00AA00300CAB}</Guid>
|
||||||
|
<VersionMajor>2</VersionMajor>
|
||||||
|
<VersionMinor>0</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>tlbimp</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="VBIDE">
|
||||||
|
<Guid>{0002E157-0000-0000-C000-000000000046}</Guid>
|
||||||
|
<VersionMajor>5</VersionMajor>
|
||||||
|
<VersionMinor>3</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>primary</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</COMReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="JOMT 아이콘.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
</Project>
|
BIN
bin/Debug/BouncyCastle.Crypto.dll
Normal file
BIN
bin/Debug/BouncyCastle.Crypto.dll
Normal file
Binary file not shown.
BIN
bin/Debug/Google.Protobuf.dll
Normal file
BIN
bin/Debug/Google.Protobuf.dll
Normal file
Binary file not shown.
BIN
bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
BIN
bin/Debug/K4os.Compression.LZ4.Streams.dll
Normal file
Binary file not shown.
BIN
bin/Debug/K4os.Compression.LZ4.dll
Normal file
BIN
bin/Debug/K4os.Compression.LZ4.dll
Normal file
Binary file not shown.
BIN
bin/Debug/K4os.Hash.xxHash.dll
Normal file
BIN
bin/Debug/K4os.Hash.xxHash.dll
Normal file
Binary file not shown.
BIN
bin/Debug/MySql.Data.dll
Normal file
BIN
bin/Debug/MySql.Data.dll
Normal file
Binary file not shown.
17757
bin/Debug/MySql.Data.xml
Normal file
17757
bin/Debug/MySql.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/Renci.SshNet.dll
Normal file
BIN
bin/Debug/Renci.SshNet.dll
Normal file
Binary file not shown.
BIN
bin/Debug/System.Buffers.dll
Normal file
BIN
bin/Debug/System.Buffers.dll
Normal file
Binary file not shown.
BIN
bin/Debug/System.Memory.dll
Normal file
BIN
bin/Debug/System.Memory.dll
Normal file
Binary file not shown.
BIN
bin/Debug/System.Runtime.CompilerServices.Unsafe.dll
Normal file
BIN
bin/Debug/System.Runtime.CompilerServices.Unsafe.dll
Normal file
Binary file not shown.
BIN
bin/Debug/Ubiety.Dns.Core.dll
Normal file
BIN
bin/Debug/Ubiety.Dns.Core.dll
Normal file
Binary file not shown.
BIN
bin/Debug/Zstandard.Net.dll
Normal file
BIN
bin/Debug/Zstandard.Net.dll
Normal file
Binary file not shown.
BIN
bin/Debug/db_test1.exe
Normal file
BIN
bin/Debug/db_test1.exe
Normal file
Binary file not shown.
14
bin/Debug/db_test1.exe.config
Normal file
14
bin/Debug/db_test1.exe.config
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
bin/Debug/db_test1.pdb
Normal file
BIN
bin/Debug/db_test1.pdb
Normal file
Binary file not shown.
26
bin/Debug/db_test1.xml
Normal file
26
bin/Debug/db_test1.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>
|
||||||
|
db_test1
|
||||||
|
</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:db_test1.My.Resources.Resources">
|
||||||
|
<summary>
|
||||||
|
지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:db_test1.My.Resources.Resources.ResourceManager">
|
||||||
|
<summary>
|
||||||
|
이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:db_test1.My.Resources.Resources.Culture">
|
||||||
|
<summary>
|
||||||
|
이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
||||||
|
재정의합니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
154
frmDBInput.Designer.vb
generated
Normal file
154
frmDBInput.Designer.vb
generated
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
|
||||||
|
Partial Class frmDBInput
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Form은 Dispose를 재정의하여 구성 요소 목록을 정리합니다.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()> _
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Windows Form 디자이너에 필요합니다.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'참고: 다음 프로시저는 Windows Form 디자이너에 필요합니다.
|
||||||
|
'수정하려면 Windows Form 디자이너를 사용하십시오.
|
||||||
|
'코드 편집기에서는 수정하지 마세요.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()> _
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmDBInput))
|
||||||
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbCurrent = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbDateTime = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label2 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbSN = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Button1 = New System.Windows.Forms.Button()
|
||||||
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'Label6
|
||||||
|
'
|
||||||
|
Me.Label6.AutoSize = True
|
||||||
|
Me.Label6.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label6.Location = New System.Drawing.Point(52, 198)
|
||||||
|
Me.Label6.Name = "Label6"
|
||||||
|
Me.Label6.Size = New System.Drawing.Size(70, 21)
|
||||||
|
Me.Label6.TabIndex = 19
|
||||||
|
Me.Label6.Text = "Current"
|
||||||
|
'
|
||||||
|
'txbCurrent
|
||||||
|
'
|
||||||
|
Me.txbCurrent.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbCurrent.Location = New System.Drawing.Point(194, 195)
|
||||||
|
Me.txbCurrent.Name = "txbCurrent"
|
||||||
|
Me.txbCurrent.Size = New System.Drawing.Size(262, 35)
|
||||||
|
Me.txbCurrent.TabIndex = 18
|
||||||
|
Me.txbCurrent.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(52, 119)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(94, 21)
|
||||||
|
Me.Label1.TabIndex = 17
|
||||||
|
Me.Label1.Text = "측정일자"
|
||||||
|
'
|
||||||
|
'txbDateTime
|
||||||
|
'
|
||||||
|
Me.txbDateTime.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbDateTime.Location = New System.Drawing.Point(194, 116)
|
||||||
|
Me.txbDateTime.Name = "txbDateTime"
|
||||||
|
Me.txbDateTime.Size = New System.Drawing.Size(262, 35)
|
||||||
|
Me.txbDateTime.TabIndex = 16
|
||||||
|
Me.txbDateTime.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label2
|
||||||
|
'
|
||||||
|
Me.Label2.AutoSize = True
|
||||||
|
Me.Label2.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label2.Location = New System.Drawing.Point(52, 45)
|
||||||
|
Me.Label2.Name = "Label2"
|
||||||
|
Me.Label2.Size = New System.Drawing.Size(105, 21)
|
||||||
|
Me.Label2.TabIndex = 21
|
||||||
|
Me.Label2.Text = "TD 시리얼"
|
||||||
|
'
|
||||||
|
'txbSN
|
||||||
|
'
|
||||||
|
Me.txbSN.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbSN.Location = New System.Drawing.Point(194, 42)
|
||||||
|
Me.txbSN.Name = "txbSN"
|
||||||
|
Me.txbSN.Size = New System.Drawing.Size(262, 35)
|
||||||
|
Me.txbSN.TabIndex = 20
|
||||||
|
Me.txbSN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Button1
|
||||||
|
'
|
||||||
|
Me.Button1.Font = New System.Drawing.Font("굴림", 24.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Button1.Location = New System.Drawing.Point(56, 277)
|
||||||
|
Me.Button1.Name = "Button1"
|
||||||
|
Me.Button1.Size = New System.Drawing.Size(400, 94)
|
||||||
|
Me.Button1.TabIndex = 22
|
||||||
|
Me.Button1.Text = "입력"
|
||||||
|
Me.Button1.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label3
|
||||||
|
'
|
||||||
|
Me.Label3.AutoSize = True
|
||||||
|
Me.Label3.Font = New System.Drawing.Font("굴림", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label3.Location = New System.Drawing.Point(191, 154)
|
||||||
|
Me.Label3.Name = "Label3"
|
||||||
|
Me.Label3.Size = New System.Drawing.Size(210, 16)
|
||||||
|
Me.Label3.TabIndex = 24
|
||||||
|
Me.Label3.Text = "(예시 : 2020-05-26 15:11:11)"
|
||||||
|
'
|
||||||
|
'frmDBInput
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 12.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.ClientSize = New System.Drawing.Size(517, 392)
|
||||||
|
Me.Controls.Add(Me.Label3)
|
||||||
|
Me.Controls.Add(Me.Button1)
|
||||||
|
Me.Controls.Add(Me.Label2)
|
||||||
|
Me.Controls.Add(Me.txbSN)
|
||||||
|
Me.Controls.Add(Me.Label6)
|
||||||
|
Me.Controls.Add(Me.txbCurrent)
|
||||||
|
Me.Controls.Add(Me.Label1)
|
||||||
|
Me.Controls.Add(Me.txbDateTime)
|
||||||
|
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
|
||||||
|
Me.Name = "frmDBInput"
|
||||||
|
Me.Text = "DB INPUT"
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
Me.PerformLayout()
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Friend WithEvents Label6 As Label
|
||||||
|
Friend WithEvents txbCurrent As TextBox
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents txbDateTime As TextBox
|
||||||
|
Friend WithEvents Label2 As Label
|
||||||
|
Friend WithEvents txbSN As TextBox
|
||||||
|
Friend WithEvents Button1 As Button
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
|
||||||
|
Dim cmd As String
|
||||||
|
|
||||||
|
cmd = "update jomtCartridgeTbl set QC_DateTime = '" + txbDateTime.Text + "',QC_Current = '" + txbCurrent.Text + "' where PV_SN = '" + txbSN.Text + "';"
|
||||||
|
DBCommand(cmd)
|
||||||
|
|
||||||
|
txbDateTime.Clear()
|
||||||
|
txbCurrent.Clear()
|
||||||
|
txbSN.Clear()
|
||||||
|
End Sub
|
||||||
|
Friend WithEvents Label3 As Label
|
||||||
|
End Class
|
2110
frmDBInput.resx
Normal file
2110
frmDBInput.resx
Normal file
File diff suppressed because it is too large
Load Diff
1
frmDBInput.vb
Normal file
1
frmDBInput.vb
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
307
frmMySqlTest.Designer.vb
generated
Normal file
307
frmMySqlTest.Designer.vb
generated
Normal file
@ -0,0 +1,307 @@
|
|||||||
|
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
|
||||||
|
Partial Class frmMySqlTest
|
||||||
|
Inherits System.Windows.Forms.Form
|
||||||
|
|
||||||
|
'Form은 Dispose를 재정의하여 구성 요소 목록을 정리합니다.
|
||||||
|
<System.Diagnostics.DebuggerNonUserCode()>
|
||||||
|
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
|
||||||
|
Try
|
||||||
|
If disposing AndAlso components IsNot Nothing Then
|
||||||
|
components.Dispose()
|
||||||
|
End If
|
||||||
|
Finally
|
||||||
|
MyBase.Dispose(disposing)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Windows Form 디자이너에 필요합니다.
|
||||||
|
Private components As System.ComponentModel.IContainer
|
||||||
|
|
||||||
|
'참고: 다음 프로시저는 Windows Form 디자이너에 필요합니다.
|
||||||
|
'수정하려면 Windows Form 디자이너를 사용하십시오.
|
||||||
|
'코드 편집기에서는 수정하지 마세요.
|
||||||
|
<System.Diagnostics.DebuggerStepThrough()>
|
||||||
|
Private Sub InitializeComponent()
|
||||||
|
Me.btnReadDB = New System.Windows.Forms.Button()
|
||||||
|
Me.txbPV_SN = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label1 = New System.Windows.Forms.Label()
|
||||||
|
Me.Label2 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbPV_Freq = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label3 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbPV_Z = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label4 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbPV_C = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label5 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbPV_R = New System.Windows.Forms.TextBox()
|
||||||
|
Me.btnUpdateDB = New System.Windows.Forms.Button()
|
||||||
|
Me.btnInsrtDB = New System.Windows.Forms.Button()
|
||||||
|
Me.btnDeleteDB = New System.Windows.Forms.Button()
|
||||||
|
Me.Label6 = New System.Windows.Forms.Label()
|
||||||
|
Me.txbPV_Date = New System.Windows.Forms.TextBox()
|
||||||
|
Me.OpenFileDB = New System.Windows.Forms.OpenFileDialog()
|
||||||
|
Me.Button3 = New System.Windows.Forms.Button()
|
||||||
|
Me.DataGridView = New System.Windows.Forms.DataGridView()
|
||||||
|
Me.Button5 = New System.Windows.Forms.Button()
|
||||||
|
Me.txbPVdate = New System.Windows.Forms.TextBox()
|
||||||
|
Me.Label7 = New System.Windows.Forms.Label()
|
||||||
|
CType(Me.DataGridView, System.ComponentModel.ISupportInitialize).BeginInit()
|
||||||
|
Me.SuspendLayout()
|
||||||
|
'
|
||||||
|
'btnReadDB
|
||||||
|
'
|
||||||
|
Me.btnReadDB.Location = New System.Drawing.Point(397, 33)
|
||||||
|
Me.btnReadDB.Name = "btnReadDB"
|
||||||
|
Me.btnReadDB.Size = New System.Drawing.Size(165, 46)
|
||||||
|
Me.btnReadDB.TabIndex = 0
|
||||||
|
Me.btnReadDB.Text = "읽기"
|
||||||
|
Me.btnReadDB.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'txbPV_SN
|
||||||
|
'
|
||||||
|
Me.txbPV_SN.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_SN.Location = New System.Drawing.Point(167, 33)
|
||||||
|
Me.txbPV_SN.Name = "txbPV_SN"
|
||||||
|
Me.txbPV_SN.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_SN.TabIndex = 1
|
||||||
|
Me.txbPV_SN.Text = "DIT205001"
|
||||||
|
Me.txbPV_SN.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label1
|
||||||
|
'
|
||||||
|
Me.Label1.AutoSize = True
|
||||||
|
Me.Label1.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label1.Location = New System.Drawing.Point(25, 36)
|
||||||
|
Me.Label1.Name = "Label1"
|
||||||
|
Me.Label1.Size = New System.Drawing.Size(76, 21)
|
||||||
|
Me.Label1.TabIndex = 2
|
||||||
|
Me.Label1.Text = "TD S/N"
|
||||||
|
'
|
||||||
|
'Label2
|
||||||
|
'
|
||||||
|
Me.Label2.AutoSize = True
|
||||||
|
Me.Label2.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label2.Location = New System.Drawing.Point(25, 142)
|
||||||
|
Me.Label2.Name = "Label2"
|
||||||
|
Me.Label2.Size = New System.Drawing.Size(73, 21)
|
||||||
|
Me.Label2.TabIndex = 4
|
||||||
|
Me.Label2.Text = "주파수"
|
||||||
|
'
|
||||||
|
'txbPV_Freq
|
||||||
|
'
|
||||||
|
Me.txbPV_Freq.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_Freq.Location = New System.Drawing.Point(167, 139)
|
||||||
|
Me.txbPV_Freq.Name = "txbPV_Freq"
|
||||||
|
Me.txbPV_Freq.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_Freq.TabIndex = 3
|
||||||
|
Me.txbPV_Freq.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label3
|
||||||
|
'
|
||||||
|
Me.Label3.AutoSize = True
|
||||||
|
Me.Label3.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label3.Location = New System.Drawing.Point(25, 195)
|
||||||
|
Me.Label3.Name = "Label3"
|
||||||
|
Me.Label3.Size = New System.Drawing.Size(94, 21)
|
||||||
|
Me.Label3.TabIndex = 6
|
||||||
|
Me.Label3.Text = "임피던스"
|
||||||
|
'
|
||||||
|
'txbPV_Z
|
||||||
|
'
|
||||||
|
Me.txbPV_Z.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_Z.Location = New System.Drawing.Point(167, 192)
|
||||||
|
Me.txbPV_Z.Name = "txbPV_Z"
|
||||||
|
Me.txbPV_Z.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_Z.TabIndex = 5
|
||||||
|
Me.txbPV_Z.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label4
|
||||||
|
'
|
||||||
|
Me.Label4.AutoSize = True
|
||||||
|
Me.Label4.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label4.Location = New System.Drawing.Point(25, 248)
|
||||||
|
Me.Label4.Name = "Label4"
|
||||||
|
Me.Label4.Size = New System.Drawing.Size(115, 21)
|
||||||
|
Me.Label4.TabIndex = 8
|
||||||
|
Me.Label4.Text = "캐패시턴스"
|
||||||
|
'
|
||||||
|
'txbPV_C
|
||||||
|
'
|
||||||
|
Me.txbPV_C.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_C.Location = New System.Drawing.Point(167, 245)
|
||||||
|
Me.txbPV_C.Name = "txbPV_C"
|
||||||
|
Me.txbPV_C.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_C.TabIndex = 7
|
||||||
|
Me.txbPV_C.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label5
|
||||||
|
'
|
||||||
|
Me.Label5.AutoSize = True
|
||||||
|
Me.Label5.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label5.Location = New System.Drawing.Point(25, 301)
|
||||||
|
Me.Label5.Name = "Label5"
|
||||||
|
Me.Label5.Size = New System.Drawing.Size(115, 21)
|
||||||
|
Me.Label5.TabIndex = 10
|
||||||
|
Me.Label5.Text = "레지스턴스"
|
||||||
|
'
|
||||||
|
'txbPV_R
|
||||||
|
'
|
||||||
|
Me.txbPV_R.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_R.Location = New System.Drawing.Point(167, 298)
|
||||||
|
Me.txbPV_R.Name = "txbPV_R"
|
||||||
|
Me.txbPV_R.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_R.TabIndex = 9
|
||||||
|
Me.txbPV_R.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'btnUpdateDB
|
||||||
|
'
|
||||||
|
Me.btnUpdateDB.Location = New System.Drawing.Point(397, 119)
|
||||||
|
Me.btnUpdateDB.Name = "btnUpdateDB"
|
||||||
|
Me.btnUpdateDB.Size = New System.Drawing.Size(165, 46)
|
||||||
|
Me.btnUpdateDB.TabIndex = 11
|
||||||
|
Me.btnUpdateDB.Text = "수정"
|
||||||
|
Me.btnUpdateDB.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnInsrtDB
|
||||||
|
'
|
||||||
|
Me.btnInsrtDB.Location = New System.Drawing.Point(397, 205)
|
||||||
|
Me.btnInsrtDB.Name = "btnInsrtDB"
|
||||||
|
Me.btnInsrtDB.Size = New System.Drawing.Size(165, 46)
|
||||||
|
Me.btnInsrtDB.TabIndex = 12
|
||||||
|
Me.btnInsrtDB.Text = "삽입"
|
||||||
|
Me.btnInsrtDB.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'btnDeleteDB
|
||||||
|
'
|
||||||
|
Me.btnDeleteDB.Location = New System.Drawing.Point(397, 291)
|
||||||
|
Me.btnDeleteDB.Name = "btnDeleteDB"
|
||||||
|
Me.btnDeleteDB.Size = New System.Drawing.Size(165, 46)
|
||||||
|
Me.btnDeleteDB.TabIndex = 13
|
||||||
|
Me.btnDeleteDB.Text = "삭제"
|
||||||
|
Me.btnDeleteDB.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'Label6
|
||||||
|
'
|
||||||
|
Me.Label6.AutoSize = True
|
||||||
|
Me.Label6.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label6.Location = New System.Drawing.Point(25, 89)
|
||||||
|
Me.Label6.Name = "Label6"
|
||||||
|
Me.Label6.Size = New System.Drawing.Size(73, 21)
|
||||||
|
Me.Label6.TabIndex = 15
|
||||||
|
Me.Label6.Text = "입고일"
|
||||||
|
'
|
||||||
|
'txbPV_Date
|
||||||
|
'
|
||||||
|
Me.txbPV_Date.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPV_Date.Location = New System.Drawing.Point(167, 86)
|
||||||
|
Me.txbPV_Date.Name = "txbPV_Date"
|
||||||
|
Me.txbPV_Date.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPV_Date.TabIndex = 14
|
||||||
|
Me.txbPV_Date.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'OpenFileDB
|
||||||
|
'
|
||||||
|
Me.OpenFileDB.Filter = """Excel Files(xlsx,xls,xlw)|*.xlsx;*.xls;*.xlw"""
|
||||||
|
'
|
||||||
|
'Button3
|
||||||
|
'
|
||||||
|
Me.Button3.Location = New System.Drawing.Point(614, 593)
|
||||||
|
Me.Button3.Name = "Button3"
|
||||||
|
Me.Button3.Size = New System.Drawing.Size(317, 43)
|
||||||
|
Me.Button3.TabIndex = 20
|
||||||
|
Me.Button3.Text = "DB 열기"
|
||||||
|
Me.Button3.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'DataGridView
|
||||||
|
'
|
||||||
|
Me.DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
|
||||||
|
Me.DataGridView.Location = New System.Drawing.Point(614, 33)
|
||||||
|
Me.DataGridView.Name = "DataGridView"
|
||||||
|
Me.DataGridView.RowTemplate.Height = 23
|
||||||
|
Me.DataGridView.Size = New System.Drawing.Size(749, 489)
|
||||||
|
Me.DataGridView.TabIndex = 21
|
||||||
|
'
|
||||||
|
'Button5
|
||||||
|
'
|
||||||
|
Me.Button5.Location = New System.Drawing.Point(1046, 593)
|
||||||
|
Me.Button5.Name = "Button5"
|
||||||
|
Me.Button5.Size = New System.Drawing.Size(317, 43)
|
||||||
|
Me.Button5.TabIndex = 23
|
||||||
|
Me.Button5.Text = "DB 전송"
|
||||||
|
Me.Button5.UseVisualStyleBackColor = True
|
||||||
|
'
|
||||||
|
'txbPVdate
|
||||||
|
'
|
||||||
|
Me.txbPVdate.Font = New System.Drawing.Font("함초롬바탕", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.txbPVdate.Location = New System.Drawing.Point(749, 537)
|
||||||
|
Me.txbPVdate.Name = "txbPVdate"
|
||||||
|
Me.txbPVdate.Size = New System.Drawing.Size(182, 35)
|
||||||
|
Me.txbPVdate.TabIndex = 27
|
||||||
|
Me.txbPVdate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
|
||||||
|
'
|
||||||
|
'Label7
|
||||||
|
'
|
||||||
|
Me.Label7.AutoSize = True
|
||||||
|
Me.Label7.Font = New System.Drawing.Font("굴림", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(129, Byte))
|
||||||
|
Me.Label7.Location = New System.Drawing.Point(619, 544)
|
||||||
|
Me.Label7.Name = "Label7"
|
||||||
|
Me.Label7.Size = New System.Drawing.Size(94, 21)
|
||||||
|
Me.Label7.TabIndex = 28
|
||||||
|
Me.Label7.Text = "입고일자"
|
||||||
|
'
|
||||||
|
'frmMySqlTest
|
||||||
|
'
|
||||||
|
Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 12.0!)
|
||||||
|
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||||
|
Me.ClientSize = New System.Drawing.Size(1445, 677)
|
||||||
|
Me.Controls.Add(Me.Label7)
|
||||||
|
Me.Controls.Add(Me.txbPVdate)
|
||||||
|
Me.Controls.Add(Me.Button5)
|
||||||
|
Me.Controls.Add(Me.DataGridView)
|
||||||
|
Me.Controls.Add(Me.Button3)
|
||||||
|
Me.Controls.Add(Me.Label6)
|
||||||
|
Me.Controls.Add(Me.txbPV_Date)
|
||||||
|
Me.Controls.Add(Me.btnDeleteDB)
|
||||||
|
Me.Controls.Add(Me.btnInsrtDB)
|
||||||
|
Me.Controls.Add(Me.btnUpdateDB)
|
||||||
|
Me.Controls.Add(Me.Label5)
|
||||||
|
Me.Controls.Add(Me.txbPV_R)
|
||||||
|
Me.Controls.Add(Me.Label4)
|
||||||
|
Me.Controls.Add(Me.txbPV_C)
|
||||||
|
Me.Controls.Add(Me.Label3)
|
||||||
|
Me.Controls.Add(Me.txbPV_Z)
|
||||||
|
Me.Controls.Add(Me.Label2)
|
||||||
|
Me.Controls.Add(Me.txbPV_Freq)
|
||||||
|
Me.Controls.Add(Me.Label1)
|
||||||
|
Me.Controls.Add(Me.txbPV_SN)
|
||||||
|
Me.Controls.Add(Me.btnReadDB)
|
||||||
|
Me.Name = "frmMySqlTest"
|
||||||
|
Me.Text = "수입검사 TD Database 입력 유틸리티"
|
||||||
|
CType(Me.DataGridView, System.ComponentModel.ISupportInitialize).EndInit()
|
||||||
|
Me.ResumeLayout(False)
|
||||||
|
Me.PerformLayout()
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Friend WithEvents btnReadDB As Button
|
||||||
|
Friend WithEvents txbPV_SN As TextBox
|
||||||
|
Friend WithEvents Label1 As Label
|
||||||
|
Friend WithEvents Label2 As Label
|
||||||
|
Friend WithEvents txbPV_Freq As TextBox
|
||||||
|
Friend WithEvents Label3 As Label
|
||||||
|
Friend WithEvents txbPV_Z As TextBox
|
||||||
|
Friend WithEvents Label4 As Label
|
||||||
|
Friend WithEvents txbPV_C As TextBox
|
||||||
|
Friend WithEvents Label5 As Label
|
||||||
|
Friend WithEvents txbPV_R As TextBox
|
||||||
|
Friend WithEvents btnUpdateDB As Button
|
||||||
|
Friend WithEvents btnInsrtDB As Button
|
||||||
|
Friend WithEvents btnDeleteDB As Button
|
||||||
|
Friend WithEvents Label6 As Label
|
||||||
|
Friend WithEvents txbPV_Date As TextBox
|
||||||
|
Friend WithEvents OpenFileDB As OpenFileDialog
|
||||||
|
Friend WithEvents Button3 As Button
|
||||||
|
Friend WithEvents DataGridView As DataGridView
|
||||||
|
Friend WithEvents Button5 As Button
|
||||||
|
Friend WithEvents txbPVdate As TextBox
|
||||||
|
Friend WithEvents Label7 As Label
|
||||||
|
End Class
|
123
frmMySqlTest.resx
Normal file
123
frmMySqlTest.resx
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="OpenFileDB.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>17, 17</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
269
frmMySqlTest.vb
Normal file
269
frmMySqlTest.vb
Normal file
@ -0,0 +1,269 @@
|
|||||||
|
'Imports System.Data.OleDb
|
||||||
|
'Imports System.Reflection
|
||||||
|
Imports System.ComponentModel
|
||||||
|
Imports Excel = Microsoft.Office.Interop.Excel
|
||||||
|
''Imports Microsoft.Office.Interop
|
||||||
|
|
||||||
|
|
||||||
|
Public Class frmMySqlTest
|
||||||
|
Private cmd As String
|
||||||
|
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
|
||||||
|
|
||||||
|
'''DataGridView를 선택하면 전체 한줄이 선택되게 됩니다.
|
||||||
|
DataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect
|
||||||
|
|
||||||
|
'컬럼 2개를 생성하고 각각의 이름을 정해줍니다. DataGridView1의 상단에 위치하게 됩니다.
|
||||||
|
DataGridView.ColumnCount = 7
|
||||||
|
DataGridView.Columns(0).Name = "번호"
|
||||||
|
DataGridView.Columns(1).Name = "시리얼번호"
|
||||||
|
DataGridView.Columns(2).Name = "주파수"
|
||||||
|
DataGridView.Columns(3).Name = "임피던스"
|
||||||
|
DataGridView.Columns(4).Name = "캐패시턴스"
|
||||||
|
DataGridView.Columns(5).Name = "레지스턴스"
|
||||||
|
DataGridView.Columns(6).Name = "비고"
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnReadDB_Click(sender As Object, e As EventArgs) Handles btnReadDB.Click
|
||||||
|
txbPV_Date.Clear()
|
||||||
|
txbPV_Freq.Clear()
|
||||||
|
txbPV_Z.Clear()
|
||||||
|
txbPV_C.Clear()
|
||||||
|
txbPV_R.Clear()
|
||||||
|
|
||||||
|
cmd = "select PV_Date,PV_Frequency,PV_Impedance,PV_Capacitance,PV_Resistance from jomtCartridgeTbl where PV_SN = '" + txbPV_SN.Text + "';"
|
||||||
|
If DBQueryReader(cmd) Then
|
||||||
|
txbPV_Date.Text = Mid(sqlDataQuery(0), 1, InStr(sqlDataQuery(0), " "))
|
||||||
|
txbPV_Freq.Text = sqlDataQuery(1)
|
||||||
|
txbPV_Z.Text = sqlDataQuery(2)
|
||||||
|
txbPV_C.Text = sqlDataQuery(3)
|
||||||
|
txbPV_R.Text = sqlDataQuery(4)
|
||||||
|
Else
|
||||||
|
txbPV_Date.Text = "N/A"
|
||||||
|
txbPV_Freq.Text = "N/A"
|
||||||
|
txbPV_Z.Text = "N/A"
|
||||||
|
txbPV_C.Text = "N/A"
|
||||||
|
txbPV_R.Text = "N/A"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
''sqlData = sqlCmd.ExecuteReader
|
||||||
|
''If sqlData.Read() Then
|
||||||
|
'' txbPV_Date.Text = sqlData.GetString(0)
|
||||||
|
'' txbPV_Freq.Text = sqlData.GetString(1)
|
||||||
|
'' txbPV_Z.Text = sqlData.GetString(2)
|
||||||
|
'' txbPV_C.Text = sqlData.GetString(3)
|
||||||
|
'' txbPV_R.Text = sqlData.GetString(4)
|
||||||
|
''Else
|
||||||
|
'' txbPV_Date.Text = "N/A"
|
||||||
|
'' txbPV_Freq.Text = "N/A"
|
||||||
|
'' txbPV_Z.Text = "N/A"
|
||||||
|
'' txbPV_C.Text = "N/A"
|
||||||
|
'' txbPV_R.Text = "N/A"
|
||||||
|
''End If
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnUpdateDB_Click(sender As Object, e As EventArgs) Handles btnUpdateDB.Click
|
||||||
|
|
||||||
|
cmd = "update jomtCartridgeTbl set PV_Date = '" + txbPV_Date.Text + "',PV_Frequency = " + txbPV_Freq.Text + ",PV_Impedance = " + txbPV_Z.Text +
|
||||||
|
", PV_Capacitance = " + txbPV_C.Text + ", PV_Resistance = " + txbPV_R.Text + " where PV_SN = '" + txbPV_SN.Text + "';"
|
||||||
|
DBCommand(cmd)
|
||||||
|
|
||||||
|
txbPV_Freq.Clear()
|
||||||
|
txbPV_Z.Clear()
|
||||||
|
txbPV_C.Clear()
|
||||||
|
txbPV_R.Clear()
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnInsrtDB_Click(sender As Object, e As EventArgs) Handles btnInsrtDB.Click
|
||||||
|
|
||||||
|
|
||||||
|
cmd = "use jomtTesterDB;"
|
||||||
|
DBCommand(cmd)
|
||||||
|
|
||||||
|
cmd = "insert jomtCartridgeTbl(TestStep,PV_SN,PV_Date,PV_Frequency,PV_Impedance,PV_Capacitance,PV_Resistance)
|
||||||
|
values('1','" + txbPV_SN.Text + "','" + txbPV_Date.Text + "','" + txbPV_Freq.Text + "','" + txbPV_Z.Text + "','" + txbPV_C.Text + "','" + txbPV_R.Text + "');"
|
||||||
|
DBCommand(cmd)
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub btnDeleteDB_Click(sender As Object, e As EventArgs) Handles btnDeleteDB.Click
|
||||||
|
|
||||||
|
Try
|
||||||
|
|
||||||
|
If (MessageBox.Show("정말 삭제하시겠습니까?", "시리얼 번호 삭제", MessageBoxButtons.YesNo) = DialogResult.Yes) Then
|
||||||
|
cmd = "delete from jomtCartridgeTbl where PV_SN = '" + txbPV_SN.Text + "';"
|
||||||
|
DBCommand(cmd)
|
||||||
|
|
||||||
|
MessageBox.Show("삭제가 완료되었습니다.", "삭제 완료")
|
||||||
|
|
||||||
|
Else
|
||||||
|
MessageBox.Show("취소 되었습니다.", "삭제 취소")
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Error:" + vbCrLf + Err.Description)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
'Keep the application object and the workbook object global, so you can
|
||||||
|
'retrieve the data in Button2_Click that was set in Button1_Click.
|
||||||
|
Dim objApp As Excel.Application
|
||||||
|
Dim objBook As Excel._Workbook
|
||||||
|
|
||||||
|
Private Sub DisplayQuarterlySales(oWS As Excel.Worksheet)
|
||||||
|
Dim oResizeRange As Excel.Range
|
||||||
|
Dim oChart As Excel.Chart
|
||||||
|
Dim iNumQtrs As Integer
|
||||||
|
Dim sMsg As String
|
||||||
|
Dim iRet As Integer
|
||||||
|
|
||||||
|
' Determine how many quarters to display data for.
|
||||||
|
For iNumQtrs = 4 To 2 Step -1
|
||||||
|
sMsg = "Enter sales data for" & Str(iNumQtrs) & " quarter(s)?"
|
||||||
|
iRet = MsgBox(sMsg, vbYesNo Or vbQuestion _
|
||||||
|
Or vbMsgBoxSetForeground, "Quarterly Sales")
|
||||||
|
If iRet = vbYes Then Exit For
|
||||||
|
Next iNumQtrs
|
||||||
|
|
||||||
|
sMsg = "Displaying data for" & Str(iNumQtrs) & " quarter(s)."
|
||||||
|
MsgBox(sMsg, vbMsgBoxSetForeground, "Quarterly Sales")
|
||||||
|
|
||||||
|
' Starting at E1, fill headers for the number of columns selected.
|
||||||
|
oResizeRange = oWS.Range("E1", "E1").Resize(ColumnSize:=iNumQtrs)
|
||||||
|
|
||||||
|
oResizeRange.Formula = "=""Q"" & COLUMN()-4 & CHAR(10) & ""Sales"""
|
||||||
|
|
||||||
|
' Change the Orientation and WrapText properties for the headers.
|
||||||
|
oResizeRange.Orientation = 38
|
||||||
|
oResizeRange.WrapText = True
|
||||||
|
|
||||||
|
' Fill the interior color of the headers.
|
||||||
|
oResizeRange.Interior.ColorIndex = 36
|
||||||
|
|
||||||
|
' Fill the columns with a formula and apply a number format.
|
||||||
|
oResizeRange = oWS.Range("E2", "E6").Resize(ColumnSize:=iNumQtrs)
|
||||||
|
oResizeRange.Formula = "=RAND()*100"
|
||||||
|
oResizeRange.NumberFormat = "$0.00"
|
||||||
|
|
||||||
|
' Apply borders to the Sales data and headers.
|
||||||
|
oResizeRange = oWS.Range("E1", "E6").Resize(ColumnSize:=iNumQtrs)
|
||||||
|
oResizeRange.Borders.Weight = Excel.XlBorderWeight.xlThin
|
||||||
|
|
||||||
|
' Add a Totals formula for the sales data and apply a border.
|
||||||
|
oResizeRange = oWS.Range("E8", "E8").Resize(ColumnSize:=iNumQtrs)
|
||||||
|
oResizeRange.Formula = "=SUM(E2:E6)"
|
||||||
|
With oResizeRange.Borders(Excel.XlBordersIndex.xlEdgeBottom)
|
||||||
|
.LineStyle = Excel.XlLineStyle.xlDouble
|
||||||
|
.Weight = Excel.XlBorderWeight.xlThick
|
||||||
|
|
||||||
|
End With
|
||||||
|
|
||||||
|
' Add a Chart for the selected data
|
||||||
|
oResizeRange = oWS.Range("E2:E6").Resize(ColumnSize:=iNumQtrs)
|
||||||
|
oChart = oWS.Parent.Charts.Add
|
||||||
|
With oChart
|
||||||
|
.ChartWizard(oResizeRange, Excel.XlChartType.xl3DColumn, , Excel.XlChartType.xl3DColumn)
|
||||||
|
.SeriesCollection(1).XValues = oWS.Range("A2", "A6")
|
||||||
|
For iRet = 1 To iNumQtrs
|
||||||
|
.SeriesCollection(iRet).Name = "=""Q" & Str(iRet) & """"
|
||||||
|
Next iRet
|
||||||
|
.Location(Excel.XlLocationInTable.xlColumnHeader, oWS.Name)
|
||||||
|
End With
|
||||||
|
|
||||||
|
' Move the chart so as not to cover your data.
|
||||||
|
With oWS.Shapes("Chart 1")
|
||||||
|
.Top = oWS.Rows(10).Top
|
||||||
|
.Left = oWS.Columns(2).Left
|
||||||
|
|
||||||
|
End With
|
||||||
|
|
||||||
|
' Free any references.
|
||||||
|
oChart = Nothing
|
||||||
|
oResizeRange = Nothing
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
|
||||||
|
loadExcelDB()
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
|
||||||
|
Dim TestStep, PV_Srial, PV_Date, PV_Freq, PV_Z, PV_C, PV_R, PV_Test As String
|
||||||
|
Dim Overlap As Integer
|
||||||
|
|
||||||
|
Try
|
||||||
|
TestStep = "1"
|
||||||
|
PV_Date = txbPVdate.Text
|
||||||
|
|
||||||
|
For cnt = DataGridView.Rows.Count - 2 To 0 Step -1
|
||||||
|
PV_Srial = DataGridView.Rows(cnt).Cells(1).Value.ToString
|
||||||
|
PV_Freq = DataGridView.Rows(cnt).Cells(2).Value.ToString
|
||||||
|
PV_Z = DataGridView.Rows(cnt).Cells(3).Value.ToString
|
||||||
|
PV_C = DataGridView.Rows(cnt).Cells(4).Value.ToString
|
||||||
|
PV_R = DataGridView.Rows(cnt).Cells(5).Value.ToString
|
||||||
|
|
||||||
|
cmd = "select count(PV_SN) from jomtCartridgeTbl where PV_SN = '" + PV_Srial + "';"
|
||||||
|
|
||||||
|
DBQueryReader(cmd)
|
||||||
|
|
||||||
|
PV_Test = sqlDataQuery(0)
|
||||||
|
|
||||||
|
If (PV_Test = "0") Then
|
||||||
|
cmd = "insert jomtCartridgeTbl(TestStep,PV_Date, PV_SN,PV_Frequency,PV_Impedance,PV_Capacitance,PV_Resistance) value('" + TestStep + "','" + PV_Date + "','" + PV_Srial + "','" + PV_Freq + "','" + PV_Z + "','" + PV_C + "','" + PV_R + "');"
|
||||||
|
DBCommand(cmd)
|
||||||
|
Me.DataGridView.Rows.RemoveAt(cnt)
|
||||||
|
|
||||||
|
Else
|
||||||
|
Overlap += 1
|
||||||
|
End If
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
If (Overlap > 0) Then
|
||||||
|
MsgBox("중복 시리얼 넘버가 " & Overlap & " 개 존재합니다.")
|
||||||
|
Else
|
||||||
|
MsgBox("트렌스듀서 등록이 완료 되었습니다.")
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Error:" + vbCrLf + Err.Description)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Private Sub DataGridView_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles DataGridView.CellClick
|
||||||
|
|
||||||
|
Try
|
||||||
|
|
||||||
|
If DataGridView.Rows(e.RowIndex).Cells(1).Value Is Nothing Then
|
||||||
|
|
||||||
|
txbPV_SN.Text = "null"
|
||||||
|
txbPV_Date.Text = "null"
|
||||||
|
txbPV_Freq.Text = "null"
|
||||||
|
txbPV_Z.Text = "null"
|
||||||
|
txbPV_C.Text = "null"
|
||||||
|
txbPV_R.Text = "null"
|
||||||
|
|
||||||
|
Else
|
||||||
|
txbPV_SN.Text = DataGridView.Rows(e.RowIndex).Cells(1).Value.ToString()
|
||||||
|
txbPV_Date.Text = txbPVdate.Text.ToString
|
||||||
|
txbPV_Freq.Text = DataGridView.Rows(e.RowIndex).Cells(2).Value.ToString()
|
||||||
|
txbPV_Z.Text = DataGridView.Rows(e.RowIndex).Cells(3).Value.ToString()
|
||||||
|
txbPV_C.Text = DataGridView.Rows(e.RowIndex).Cells(4).Value.ToString()
|
||||||
|
txbPV_R.Text = DataGridView.Rows(e.RowIndex).Cells(5).Value.ToString()
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
MsgBox("Error:" + vbCrLf + Err.Description)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
End Class
|
@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName:="")>
|
@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName:=".NET Framework 4.8")>
|
BIN
obj/Debug/AssemblyReference.cache
Normal file
BIN
obj/Debug/AssemblyReference.cache
Normal file
Binary file not shown.
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
Binary file not shown.
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
BIN
obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
Normal file
Binary file not shown.
BIN
obj/Debug/Interop.MSGrid.dll
Normal file
BIN
obj/Debug/Interop.MSGrid.dll
Normal file
Binary file not shown.
BIN
obj/Debug/Interop.StdType.dll
Normal file
BIN
obj/Debug/Interop.StdType.dll
Normal file
Binary file not shown.
BIN
obj/Debug/TDReportUploader.vbproj.AssemblyReference.cache
Normal file
BIN
obj/Debug/TDReportUploader.vbproj.AssemblyReference.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
524e833a04ba5eb5cd32e42fb4d586d8c6f6665c9e478bf577e76bcb1213b9d7
|
30
obj/Debug/TDReportUploader.vbproj.FileListAbsolute.txt
Normal file
30
obj/Debug/TDReportUploader.vbproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReportUploader.vbproj.AssemblyReference.cache
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReportUploader.vbproj.SuggestedBindingRedirects.cache
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.exe.config
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReportUploader.vbproj.ResolveComReference.cache
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\db_test1.exe.config
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\MySql.Data.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\Google.Protobuf.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\Zstandard.Net.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\BouncyCastle.Crypto.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\Ubiety.Dns.Core.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\Renci.SshNet.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\System.Buffers.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\System.Memory.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\bin\Debug\MySql.Data.xml
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.frmDBInput.resources
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.frmMySqlTest.resources
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\db_test1.Resources.resources
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReportUploader.vbproj.GenerateResource.cache
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReportUploader.vbproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\JOMT-NOTE-PC\SECUDRIVE DG\programs\TD_Data_Server_Register\obj\Debug\TDReport.9E81BD5C.Up2Date
|
BIN
obj/Debug/TDReportUploader.vbproj.GenerateResource.cache
Normal file
BIN
obj/Debug/TDReportUploader.vbproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
obj/Debug/TDReportUploader.vbproj.ResolveComReference.cache
Normal file
BIN
obj/Debug/TDReportUploader.vbproj.ResolveComReference.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
5a6d30c7156bbe7b8cc0709ff5808d5e31f88946ef30bdf0ac961a51dc8152e9
|
BIN
obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
Normal file
BIN
obj/Debug/TempPE/My Project.Resources.Designer.vb.dll
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.Resources.resources
Normal file
BIN
obj/Debug/db_test1.Resources.resources
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.exe
Normal file
BIN
obj/Debug/db_test1.exe
Normal file
Binary file not shown.
14
obj/Debug/db_test1.exe.config
Normal file
14
obj/Debug/db_test1.exe.config
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||||
|
</startup>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
obj/Debug/db_test1.frmDBInput.resources
Normal file
BIN
obj/Debug/db_test1.frmDBInput.resources
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.frmMySqlTest.resources
Normal file
BIN
obj/Debug/db_test1.frmMySqlTest.resources
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.pdb
Normal file
BIN
obj/Debug/db_test1.pdb
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.vbproj.AssemblyReference.cache
Normal file
BIN
obj/Debug/db_test1.vbproj.AssemblyReference.cache
Normal file
Binary file not shown.
0
obj/Debug/db_test1.vbproj.CopyComplete
Normal file
0
obj/Debug/db_test1.vbproj.CopyComplete
Normal file
1
obj/Debug/db_test1.vbproj.CoreCompileInputs.cache
Normal file
1
obj/Debug/db_test1.vbproj.CoreCompileInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
260d03543c5b38cac532cdaff631a9ab191f89ce
|
90
obj/Debug/db_test1.vbproj.FileListAbsolute.txt
Normal file
90
obj/Debug/db_test1.vbproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.vbprojAssemblyReference.cache
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.Resources.resources
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.vbproj.GenerateResource.cache
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\db_test1.exe.config
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\db_test1.exe
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\db_test1.pdb
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\db_test1.xml
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\MySql.Data.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\Google.Protobuf.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\Zstandard.Net.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\BouncyCastle.Crypto.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\Ubiety.Dns.Core.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\Renci.SshNet.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\System.Buffers.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\System.Memory.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\bin\Debug\MySql.Data.xml
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.vbproj.CopyComplete
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.exe
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.xml
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.pdb
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.frmMySqlTest.resources
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.vbproj.ResolveComReference.cache
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\Interop.MSGrid.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\Interop.StdType.dll
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.vbproj.CoreCompileInputs.cache
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test1\obj\Debug\db_test1.frmDBInput.resources
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test_Ex\obj\Debug\db_test1.vbprojAssemblyReference.cache
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test_Ex\obj\Debug\db_test1.exe
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test_Ex\obj\Debug\db_test1.xml
|
||||||
|
D:\WORK\03) Project_Win\00) 지온메디텍\MariaDB\DB_TEST1\db_test_Ex\obj\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\db_test1.exe.config
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\MySql.Data.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\Google.Protobuf.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\Zstandard.Net.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\BouncyCastle.Crypto.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\Ubiety.Dns.Core.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\Renci.SshNet.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\System.Buffers.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\System.Memory.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\bin\Debug\MySql.Data.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.vbprojAssemblyReference.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.ResolveComReference.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.frmDBInput.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.frmMySqlTest.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.Resources.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.GenerateResource.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.CopyComplete
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\Project\db_test_Ex 3\obj\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\db_test1.exe.config
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\db_test1.pdb
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\MySql.Data.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\Google.Protobuf.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\Zstandard.Net.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\BouncyCastle.Crypto.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\Ubiety.Dns.Core.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\Renci.SshNet.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\System.Buffers.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\K4os.Compression.LZ4.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\K4os.Hash.xxHash.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\System.Memory.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\bin\Debug\MySql.Data.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.vbprojAssemblyReference.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.ResolveComReference.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.frmDBInput.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.frmMySqlTest.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.Resources.resources
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.GenerateResource.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.vbproj.CopyComplete
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.exe
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.xml
|
||||||
|
C:\Users\JOMT-DEV-PC04\Desktop\소프트웨어\Project\db_test_Ex 3\obj\Debug\db_test1.pdb
|
BIN
obj/Debug/db_test1.vbproj.GenerateResource.cache
Normal file
BIN
obj/Debug/db_test1.vbproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.vbproj.ResolveComReference.cache
Normal file
BIN
obj/Debug/db_test1.vbproj.ResolveComReference.cache
Normal file
Binary file not shown.
BIN
obj/Debug/db_test1.vbprojAssemblyReference.cache
Normal file
BIN
obj/Debug/db_test1.vbprojAssemblyReference.cache
Normal file
Binary file not shown.
26
obj/Debug/db_test1.xml
Normal file
26
obj/Debug/db_test1.xml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>
|
||||||
|
db_test1
|
||||||
|
</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:db_test1.My.Resources.Resources">
|
||||||
|
<summary>
|
||||||
|
지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:db_test1.My.Resources.Resources.ResourceManager">
|
||||||
|
<summary>
|
||||||
|
이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:db_test1.My.Resources.Resources.Culture">
|
||||||
|
<summary>
|
||||||
|
이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
||||||
|
재정의합니다.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5.2", FrameworkDisplayName:="")>
|
BIN
obj/Release/db_test1.vbproj.AssemblyReference.cache
Normal file
BIN
obj/Release/db_test1.vbproj.AssemblyReference.cache
Normal file
Binary file not shown.
BIN
obj/Release/db_test1.vbproj.ResolveComReference.cache
Normal file
BIN
obj/Release/db_test1.vbproj.ResolveComReference.cache
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user