반응형

카테고리 135

[C#/Version] ClickOnce 또는 Assemply 현재 버전(Current Version) 확인

Version CurrentVersion { get { if (System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed) { System.Deployment.Application.ApplicationDeployment ad = System.Deployment.Application.ApplicationDeployment.CurrentDeployment; return ad.CurrentVersion; } else { //string fileName = System.Reflection.Assembly.GetExecutingAssembly().Location; //Assembly.LoadFile(fileName).GetName().Version..

[C#/JSON] JSON 파일 쓰기/일기 (Write/Read) - using Newtonsoft.Json

using Newtonsoft.Json.Linq; //====== Json Write //====== void WriteJson(){ JObject jProp = new JObject { { "id", "user" }, { "name", "Pillar Park" }, }; jProp.Add("email", "userpark@userpark.net"); jProp.Add("country", "Korea (South)"); JObject jRoot = new JObject(new JProperty("Root", jAttr)); File.WriteAllText("test.json", jRoot.ToString()); } //====== Json Read //====== void ReadJson() { stri..

[C#/Event] TextBox 등 Control 객체의 키보드 이벤트 샘플(KeyPress, KeyDown)

/** // KeyDown : 컨트롤에 포커스가 있을 때 키를 누르면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api/system.windows.forms.control.keydown?view=net-5.0 // KeyPress : 컨트롤에 포커스가 있을 때 문자, 스페이스 또는 백스페이스 키를 누르면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api/system.windows.forms.control.keypress?view=net-5.0 // KeyUp : 컨트롤에 포커스가 있을 때 키를 눌렀다 놓으면 발생합니다. // - https://docs.microsoft.com/ko-kr/dotnet/api..

[Component/.NET] Krypton Suite of .NET WinForms Controls

무료 .NET용 컴포넌트 =================================================== ComponentFactory/Krypton (오리지널) https://github.com/ComponentFactory/Krypton GitHub - ComponentFactory/Krypton: Krypton WinForms components for .NET Krypton WinForms components for .NET. Contribute to ComponentFactory/Krypton development by creating an account on GitHub. github.com NuGet : https://www.nuget.org/packages/KryptonTool..

[Microsoft/Exchange] Exchage 2010기준 사용자 사서함 내보내기(.pst)

출처 : https://practical365.com/export-mailboxes-exchange-server-2010-sp1/ How to Export Mailboxes with Exchange Server 2010 SP1 How to use Mailbox Export Requests in Exchange Server 2010 SP1 to export mailboxes to PST file. practical365.com Export 권한 부여 New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator Export 실행 New-MailboxExportRequest -Mailbox {사서함계정} -FilePath "{UN..

S.W./Microsoft 2021.09.09

[Microsoft/Exchage] Exchange Server 빌드 번호 및 릴리스 날짜 확인

출처 : https://docs.microsoft.com/ko-kr/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2016 Exchange Server 빌드 번호 및 릴리스 날짜 요약: 현재 및 이전 버전의 Exchange Server에 대한 빌드 번호와 릴리스 날짜에 대해 알아봅니다. docs.microsoft.com Get-ExchangeServer | Format-List Name,Edition,AdminDisplayVersion Exchange Server 2019 이 섹션의 표에서는 각 Microsoft Exchange Server 2019 버전의 빌드 번호와 일반적인 릴리스 날짜를 제공합니다. EXCHANGE SER..

S.W./Microsoft 2021.09.09

[HTML/PHP] 웹페이지 캐시 사용하지 않기(항상 초기화)

웹을 가끔 하다보면, 새로고침해도 제대로 반영되지 않는 경우 "Ctrl + F5"로 갱신하거나, 아래 코딩맛집님의 글을 보시고 해당 페이지에 코딩해주시면 됩니다. 가끔 웹 유지관리하다가 필요하여 글을 복사하여 둡니다. PHP 출처: https://coding-restaurant.tistory.com/339 [코딩맛집]===================================== 로그아웃 후 뒤로가기 클릭 시 그대로 남아있는 캐시를 초기화하는 등에 쓸 수 있겠습니다. html로 브라우저 캐시를 초기화하기 : 캐시를 사용하지 않도록 하는 메타태그 no-cahe pragma : no-cache는 캐싱을 방지하는 메타태그입니다.Expires: -1는 캐시된 페이지를 즉시 만료합니다. # 위의 명시된 날짜 ..

[Devexpress/WinForm/C#] XtraGrid (GridView) Record 단위 Checkbox (CheckBoxRowSelect) 설정

void SetMultiSelectMode(GridView view, DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode multiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect) { view.OptionsSelection.MultiSelectMode = multiSelectMode; } string GetSelectedRows(GridView view) { //출처 : DevExpress - "Demo Center 19.2" / WinForms Demos / Data Grid and Editors / UI CUSTOMIZATION / Cell Selection str..

[ORALCE/PLAN] 오라클 Plan Table(실행계획) 생성 및 권한 부여

--//Oracle 11.2.0 for Windows 버전 기준 --//SYSDBA로 접속 ex) C:\>SQLPLUS "/as sysdba" --//이하 SQL-Plus : SQL> @"C:\oracle\product\11.2.0\dbhome_1\sqlplus\admin\plustrce.sql" grant plustrace to [사용자]; --//======================================= conn [사용자]/[패스워드]; @"C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\utlxplan.sql" --//PLAN 확인 set linesize 120; set autot on; select * from tab where rownum=1; ==..

DBMS/Oracle 2021.08.19
반응형