본문 바로가기

Programming

(15)
[vb6] C# dll vb6 에서 사용 작성중...
[svn] svnserve.conf ### This file controls the configuration of the svnserve daemon, if you### use it to allow access to this repository. (If you only allow### access through http: and/or file: URLs, then this file is### irrelevant.) ### Visit http://subversion.tigris.org/ for more information. [general]### These options control access to the repository for unauthenticated### and authenticated users. Valid values a..
[svn] create repogitory $prompt> svnadmin create [repogitory name]
[wpf] MediaElement 소리 나오지 않는 문제 WPF든 Class로 사용하든 MediaElement를 사용할 때 소리가 나오지 않는 문제가 발생할 수 있다. 이는 Windows XP일 경우에 간혹 발생하는데 이유는 코덱과 관련이 있다. 이 증상을 해결하기 위해서는 Windows Media Player 를 버전 10 이상으로 업데이트 해주면 된다. 상위 버전이 설치되면서 코덱이 업데이트 되어 문제가 해결되는 것으로 보인다. Windows 7 이상에서는 문제가 없음이 확인 되었다.
[javascript] Array 값 정렬...(Array 값이 날짜String 일때) var numArray = ["2010-01-01","2010-01-02","2010-01-31","2010-01-30","2010-02-20","2010-02-10","2010-02-07"]; function sortDate(a,b){ var arr0 = a.split("-"); var arr1 = b.split("-"); var date_a = new Date(arr0[0],arr0[1]-1,arr0[2]); var date_b = new Date(arr1[0],arr1[1]-1,arr1[2]); if (date_a date_b) return 1; return 0; } document.write(numArray.sort(sortDate)+'..
[asp] SiteGalaxy Upload Function Set up = Server.CreateObject("SiteGalaxyUpload.Form") Set fs = CreateObject("Scripting.FileSystemObject") Function UploadFile(obj, folder, prevFile) fieldValue = up(Cstr(obj)) if fieldValue "" then Dim fn, strFileName, strPath, rootpath, returnValue fn = "" strFileName = "" returnValue = "" rootpath = Server.MapPath("/") ' uploadpath = rootpath & "\upload_file\" & folder & "\" & up.Item(Cstr(obj..
[javascript] miniCalendar JavaScript Version. var target; var tarForm; function Mcal(tar,frm) { var obj = document.getElementById("minical"); if ( obj ) { return; } var newDiv = document.createElement(""); document.body.appendChild(newDiv); var obj = getBounds(document.getElementById(tar)); newDiv.style.left = obj.left; newDiv.style.top = obj.top + 7; target = tar; tarForm = frm; // x = (document.layers) ? loc.pageX : event.clientX; // y = ..