솔루션에 fp5,fp13 포함

This commit is contained in:
chi
2020-05-24 21:14:05 +09:00
parent 872fdbf995
commit b7de80e200
13 changed files with 21638 additions and 580 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ obj
*.user *.user
*.v12 *.v12
*.v11 *.v11
.vs

View File

@@ -11,7 +11,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyTitle("전주번호찰(통신)")> <Assembly: AssemblyTitle("전주번호찰(통신)")>
<Assembly: AssemblyDescription("전주번호목록 작성 및 출력을 하는 프로그램")> <Assembly: AssemblyDescription("전주번호목록 작성 및 출력을 하는 프로그램")>
<Assembly: AssemblyCompany("제공 : 해광기획")> <Assembly: AssemblyCompany("제공 : 해광기획")>
<Assembly: AssemblyProduct("전주번호찰(통신)")> <Assembly: AssemblyProduct("전주번호찰(통신)-FP13")>
<Assembly: AssemblyCopyright("Copyright (C) SIMP 2017")> <Assembly: AssemblyCopyright("Copyright (C) SIMP 2017")>
<Assembly: AssemblyTrademark("SIMP")> <Assembly: AssemblyTrademark("SIMP")>

View File

@@ -1,2 +1 @@
FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=5.0.3505.2008, Culture=neutral, PublicKeyToken=327c3516b1b18457
FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=13.45.20191.0, Culture=neutral, PublicKeyToken=327c3516b1b18457 FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread, Version=13.45.20191.0, Culture=neutral, PublicKeyToken=327c3516b1b18457

View File

@@ -242,7 +242,7 @@
Common.ViewFont.FontSize = buf(1) Common.ViewFont.FontSize = buf(1)
Me.install = Arinini.Read("main", "install2", 0) Me.install = Arinini.Read("main", "install2", 0)
Me.installkey = Arinini.Read("main", "installkey2", 0) Me.installkey = Arinini.Read("main", "install2key", 0)
buf = Arinini.Read("main", "menufont", "굴림,9").Split(",") buf = Arinini.Read("main", "menufont", "굴림,9").Split(",")
Common.MenuFont.FontName = buf(0) Common.MenuFont.FontName = buf(0)

View File

@@ -32,7 +32,7 @@
If NewKey = "ARIN" Then If NewKey = "ARIN" Then
Dim auth As New MyAuth Dim auth As New MyAuth
Dim dateValue As Date = Now.AddDays(1) Dim dateValue As Date = Now.AddDays(1)
auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini") auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini", "install2")
MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인") MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인")
DialogResult = System.Windows.Forms.DialogResult.Cancel DialogResult = System.Windows.Forms.DialogResult.Cancel
Else Else
@@ -46,7 +46,7 @@
If NewKey = "ARIN" OrElse datestr.GetHashCode() = hashcode Then If NewKey = "ARIN" OrElse datestr.GetHashCode() = hashcode Then
Dim auth As New MyAuth Dim auth As New MyAuth
Dim dateValue As Date = Date.Parse(datestr) Dim dateValue As Date = Date.Parse(datestr)
auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini") auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini", "install2")
MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인") MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인")
DialogResult = System.Windows.Forms.DialogResult.Cancel DialogResult = System.Windows.Forms.DialogResult.Cancel
End If End If

View File

@@ -51,7 +51,7 @@
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DefineDebug>true</DefineDebug> <DefineDebug>true</DefineDebug>
<DefineTrace>false</DefineTrace> <DefineTrace>false</DefineTrace>
<OutputPath>..\..\..\..\SIMP\전주번호찰 프로그램%28통신%29\FP_v13\</OutputPath> <OutputPath>..\..\..\..\..\SIMP\전주번호찰 프로그램%28통신%29\FP_v13\</OutputPath>
<DocumentationFile> <DocumentationFile>
</DocumentationFile> </DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyTitle("전주번호찰(통신)")> <Assembly: AssemblyTitle("전주번호찰(통신)")>
<Assembly: AssemblyDescription("전주번호목록 작성 및 출력을 하는 프로그램")> <Assembly: AssemblyDescription("전주번호목록 작성 및 출력을 하는 프로그램")>
<Assembly: AssemblyCompany("제공 : 해광기획")> <Assembly: AssemblyCompany("제공 : 해광기획")>
<Assembly: AssemblyProduct("전주번호찰(통신)")> <Assembly: AssemblyProduct("전주번호찰(통신)-FP5")>
<Assembly: AssemblyCopyright("Copyright (C) SIMP 2017")> <Assembly: AssemblyCopyright("Copyright (C) SIMP 2017")>
<Assembly: AssemblyTrademark("SIMP")> <Assembly: AssemblyTrademark("SIMP")>

View File

@@ -242,7 +242,7 @@
Common.ViewFont.FontSize = buf(1) Common.ViewFont.FontSize = buf(1)
Me.install = Arinini.Read("main", "install2", 0) Me.install = Arinini.Read("main", "install2", 0)
Me.installkey = Arinini.Read("main", "installkey2", 0) Me.installkey = Arinini.Read("main", "install2key", 0)
buf = Arinini.Read("main", "menufont", "굴림,9").Split(",") buf = Arinini.Read("main", "menufont", "굴림,9").Split(",")
Common.MenuFont.FontName = buf(0) Common.MenuFont.FontName = buf(0)

View File

@@ -32,7 +32,7 @@
If NewKey = "ARIN" Then If NewKey = "ARIN" Then
Dim auth As New MyAuth Dim auth As New MyAuth
Dim dateValue As Date = Now.AddDays(1) Dim dateValue As Date = Now.AddDays(1)
auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini") auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini", "install2")
MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인") MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인")
DialogResult = Windows.Forms.DialogResult.Cancel DialogResult = Windows.Forms.DialogResult.Cancel
Else Else
@@ -46,7 +46,7 @@
If NewKey = "ARIN" OrElse datestr.GetHashCode() = hashcode Then If NewKey = "ARIN" OrElse datestr.GetHashCode() = hashcode Then
Dim auth As New MyAuth Dim auth As New MyAuth
Dim dateValue As Date = Date.Parse(datestr) Dim dateValue As Date = Date.Parse(datestr)
auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini") auth.SetAuth(dateValue.ToFileTimeUtc(), My.Application.Info.DirectoryPath & "\epole.ini", "install2")
MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인") MsgBox("프로그램을 재실행 하세요", MsgBoxStyle.Information, "확인")
DialogResult = Windows.Forms.DialogResult.Cancel DialogResult = Windows.Forms.DialogResult.Cancel
End If End If

View File

@@ -51,7 +51,7 @@
<DebugType>full</DebugType> <DebugType>full</DebugType>
<DefineDebug>true</DefineDebug> <DefineDebug>true</DefineDebug>
<DefineTrace>false</DefineTrace> <DefineTrace>false</DefineTrace>
<OutputPath>..\..\..\..\SIMP\전주번호찰 프로그램%28통신%29\FP_v5\</OutputPath> <OutputPath>..\..\..\..\..\SIMP\전주번호찰 프로그램%28통신%29\FP_v5\</OutputPath>
<DocumentationFile> <DocumentationFile>
</DocumentationFile> </DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>

File diff suppressed because it is too large Load Diff

View File

@@ -24,11 +24,19 @@
Return True Return True
End Function End Function
Public Sub SetAuth(ByVal Newkey As Long, ByVal Fn As String)
''' <summary>
''' 기본 keyname = install
''' </summary>
''' <param name="Newkey"></param>
''' <param name="Fn"></param>
''' <param name="keyname"></param>
Public Sub SetAuth(ByVal Newkey As Long, ByVal Fn As String, keyname As String)
Dim auth As New ARINCLASS Dim auth As New ARINCLASS
Dim Arinini As New MyINI(Fn) Dim Arinini As New MyINI(Fn)
Arinini.Write("main", "install", Newkey) Arinini.Write("main", keyname, Newkey)
Arinini.Write("main", "installkey", Newkey.GetHashCode) Dim 해쉬값 As Integer = Newkey.GetHashCode()
Arinini.Write("main", keyname + "key", 해쉬값)
Dim A As New System.Text.StringBuilder Dim A As New System.Text.StringBuilder
A.AppendLine("인증정보가 파일에 기록되었습니다") A.AppendLine("인증정보가 파일에 기록되었습니다")