c# 프로젝트 참조들이 느낌표로 표시
Overview : 원인과 해결 소스를 받고 소스를 열어 보면 위와 같이 참조가 모드 느낌표로 나온다. 원인 : dll 위치가 컴 마다 다르기 때문 해결 : 오류가 나더라도, 컴파일 하면 소스에서 가까운 위치에서 Dll 을 찾기 하여 하나씩 풀린다. – 풀리지 않는 DLL 은 프로그램을 닫고 다시 열면 찾아진다ㅏ. 마지막으로 찾지 못하는 DLL 은 수동으로 찾아준다.
Overview : 원인과 해결 소스를 받고 소스를 열어 보면 위와 같이 참조가 모드 느낌표로 나온다. 원인 : dll 위치가 컴 마다 다르기 때문 해결 : 오류가 나더라도, 컴파일 하면 소스에서 가까운 위치에서 Dll 을 찾기 하여 하나씩 풀린다. – 풀리지 않는 DLL 은 프로그램을 닫고 다시 열면 찾아진다ㅏ. 마지막으로 찾지 못하는 DLL 은 수동으로 찾아준다.
1. 모든 파라미터를 전송하지 않아도 에러가 발생하지 않도록 설정하는 방법 ✅ 방법 1: Nullable 타입 사용 파라미터를 nullable (int?, double?, DateTime?, string 등)로 설정하면, 클라이언트가 값을 보내지 않아도 에러 없이 처리됩니다. 위 예제에서: ✅ 방법 2: SOAP 헤더 또는 JSON 바인딩 활용 만약 REST API와 유사하게 일부 데이터만 선택적으로 보내고 싶다면, JSON을 활용하는 것이 좋습니다.… Read More »
Visual Studio에서 두 개의 프로젝트를 추가하고 프로젝트 간에 함수 호출을 가능하게 하려면, 다음 단계를 따라야 합니다: ProjectA에서 함수 호출: 이 단계를 따르면 Visual Studio에서 두 개의 프로젝트 간에 함수 호출이 가능해집니다.
Overview : 옵션이 빠져 있으면 클래스는 제공 되지 않고 Win 32 API 만 제공 된다. 1.추가 도구 및 기능 설치 2.새 프로젝트 만들기 3. 새 프로젝트 구성 4. MFC 애플리케이션 5. 마침 6. 실행
Overview : 2000만개 자연수중 소수 찾기 속도 사용법 : Sample :
Remark : Scintilla 오픈 소스 Net에서 사용하기 1.Nuget에서 패키지 다운로드 2.Net Demo 다운로드 3.Net Demo 실행화면
input textbox 제목을 textbox 안에 간단히 표시해보자 적용소스
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Placeholdem // Placeholder Caret Animation</title> <link href="assets/css/style.min.css" rel="stylesheet"> <link href="assets/images/favicon.ico" rel="shortcut icon" type="image/x-icon"> </head> <body> <div class="container"> <h3 class="fade">placeholder</h3> <form> <label class="fade"> <input name="field1" placeholder="제목을 입력하세요." /> <div class="arrow"></div> </label> <label class="fade"> <textarea name="field2" placeholder="내용을 입력하세요."></textarea> <div class="arrow"></div> </label> </form> <script src="placeholdem.min.js"></script> <script> Placeholdem( document.querySelectorAll( '[placeholder]' ) ); var fadeElems = document.body.querySelectorAll( '.fade' ), fadeElemsLength = fadeElems.length, i = 0, interval = 50; function incFade() { if( i < fadeElemsLength ) { fadeElems[ i ].className += ' fade-load'; i++; setTimeout( incFade, interval ); } } setTimeout( incFade, interval ); </script> </body> </html> |
git hub : https://github.com/jackrugile/placeholdem
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
' 정규식 이용하여 문자열 패턴 가져오기 pattern0 = "[^가-?]" '한글만 pattern1 = "[^-0-9 ]" '숫자만 pattern2 = "[^-a-zA-Z]" '영어만 pattern3 = "[^-가-?a-zA-Z0-9/ ]" '숫자와 영어 한글만 pattern4 = "<[^>]*>" '태그만 pattern5 = "[^-a-zA-Z0-9_/ ]" '영어 숫자만 (-_ 포함) Function Word_check(str,patrn) Dim regEx, match, matches SET regEx = New RegExp regEx.Pattern = patrn ' 패턴을 설정합니다. regEx.IgnoreCase = True ' 대/소문자를 구분하지 않도록 합니다. regEx.Global = True ' 전체 문자열을 검색하도록 설정합니다. SET Matches = regEx.Execute(str) If 0 < Matches.count Then Word_check = false Else Word_check = true End if End Function Dim pattern1_True '숫자만 pattern1_True = Word_check(ID, pattern1) if pattern1_True="True" then '로직 end if |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<!--#include file="../dbconn.asp"--> <% call dbconn_sub '디비연결' strSQL = "Select top 1 id, mail from board where idx = '"&id&"' and mail ='" & email & "'" SET Rs=db.Execute(strSQL) if (Rs.BOF or Rs.EOF) then response.write "데이타가 없습니다." else response.write Rs("id") response.write Rs("mail") Rs.close : set Rs = nothing end if '/// DB접속끊기 db.close : set db=nothing %> |