.NET
-
WPF AutomationPeer 참고.NET/WPF 2013. 5. 28. 10:35
http://msdn.microsoft.com/ko-kr/library/ms590934.aspx ToggleButton CheckBox => AutomationPeer _apeer; IToggleProvider chkBoxToggleProvider; _apeer = new ToggleButtonAutomationPeer(obj as dynamic); chkBoxToggleProvider = (IToggleProvider)_apeer; chkBoxToggleProvider.Toggle(); Button=>IInvokeProvider invokeProv = null; ButtonAutomationPeer peer = new ButtonAutomationPeer(obj as dynamic); invokePro..
-
dynamic 오류 System.IndexOutOfRangeException 'Microsoft.CSharp.dll'.NET/WPF 2013. 5. 2. 16:39
WPF UserControl을 상속받은 클래스에서 자기자신의 클래스를 에셈블리로드해 dynamic으로 형변환 다음 메소드 오버라이딩 된 메소드를 호출시 (pop.Content as dynamic).PADetailPartMedCostReceivePaymentLoad(inObj); 간헐적으로 아래 오류발생 ... System.IndexOutOfRangeException에서 'Microsoft.CSharp.dll' 형식의 예외가 발생했지만 사용자 코드에서 처리되지 않았습니다. => 명시적으로 클래스명 as 캐스팅 후 오류 해결 (pop.Content as HIS.PA.CORE.UI.PADetailPartMedCostReceivePayment).PADetailPartMedCostReceivePaymentLoad..
-
DLL Ressource 에서 BitmapImage 불러오기 Method.NET/C# Basic 2013. 1. 11. 00:02
1. 외부 DLL Ressource 리플렉터 => 2. 코드/// /// name : GetDllToBitmapImageResource /// desc : BitmapImage load of resource /// author : 전광식 /// create Date : 2013-01-10 오후 7:56:23 /// update date : 2013-01-10 오후 7:56:23 , 수정개요 /// /// AssemblyName /// resourceUri /// public BitmapImage GetDllToBitmapImageResource(string assemblyName, string resourceUri) { Assembly assembly = Assembly.LoadFrom(System.En..
-
모듈에 어셈블리 매니페스트가 있어야 합니다.NET 2012. 8. 27. 13:45
http://www.dependencywalker.com/ 모듈에 어셈블리 매니페스트가 있어야 합니다
-
-
비주얼스튜디오 그룹파일 매크로 사용하기.NET/VisualStudio2010 2012. 4. 4. 14:54
참고 링크 http://www.codewrecks.com/blog/index.php/2011/09/28/visual-studio-macro-to-group-files/ http://www.sysnet.pe.kr/Default.aspx?mode=2&sub=0&detail=1&pageno=0&wid=1136&rssMode=1&wtype=0 프로젝트 파일을 수정했던 사항을 매크로로 간편하게 해결1. 도구 -> 매크로 -> 매크로 탐색기 2. 새 모듈 3. 새 매크로 4. 편집 1: Sub GroupFileTogether() 2: 3: Dim lvProcesses As New ListView 4: For I As Int32 = 1 To DTE.SelectedItems.Count 5: Dim item As Env..
-
IronPython for Visual Studio 2010 - 설치, 실행, 디버깅.NET/IronPython 2012. 2. 22. 19:54
1. IronPython for Visaul Studio 2010 을 다운받는다 => http://ironpython.net/tools/ 2. 설치한다. => Tools for Visual Studio에 체크 선택 한다. 3. 설치를 마치고 프로젝트를 연다 4. IronPython Interactive 를 실행 테스트 해본다 => 에러가 난다면 환경변수 PATH에 IronPython 설치 경로를 추가하거나 이전의 Python과 충돌이 없는지 확인하고 재 설치해본다. 5. 간단한 코드 작성 => 인텔리센스 확인 6. 디버깅 설정 => 디버깅 옵션 설명 7. 디버깅 확인 8. 완료
-
Python MSSQL Oracle DB-API 2.0.NET/IronPython 2012. 2. 15. 11:52
MSSQL 관련 모듈레퍼런스 링크 : http://code.google.com/p/pymssql/wiki/PymssqlModuleReference http://code.google.com/p/pymssql/wiki/Documentation?tm=6 Python pymssql http://pymssql.sourceforge.net/examples_pymssql.php pymssql — simple MS SQL Python extension module pymssql examples (strict DB-API compliance): import pymssql conn = pymssql.connect(host='SQL01', user='user', password='password', database='myd..
-
[추천] MSSQL SSMS Addin (MSSQL 검색) - SQL Search 1.0.NET/Add-in 2011. 11. 1. 13:42
몇개월만에 블로그를 쓰는지 모르겠다 K* 차*대 프로젝트가 너무 바빠서 블로그 관리도 못햇네 MSSQL을 쓰다보면 Toad의 오브젝트 서치 기능이 없을까? SSMS에 관련 Addin 들이 있긴하지만 버그도 많은것같고 때마침 Red-gate 에 SQL Search 1.0 이라는 놈이있더라 redgate의 유틸은 너무 좋아서 쓸만한게 많아요 대표적으로 닷넷 리플렉터가 있고 (유료로 전환되었지만.. ㅎ) 이에드인은 아무것도 모르는 싸이트에 떨어졌을때 활용도가 높을 것으로 판단된다 MSSQL 쓰시는분들은 다운받아서 써보세요. 인덱싱되어있는것같아 검색속도도 바로바로 반응합니다 테이블 뷰 프로시저등등 검색은 SQL Search 입니다 다운로드 링크 http://www.red-gate.com/products/sql-..
-
클릭온스 어플리케이션 파리미터 넘기기 ( appref-ms의 argument).NET/SmartClient 2011. 3. 7. 19:01
if (ApplicationDeployment.IsNetworkDeployed) { var inputArgs = AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData; if (inputArgs != null && inputArgs.Length > 0) { args = inputArgs[0].Split(new char[] { ',' }); } } * 클릭온스로 배포시 현장의 전광판등을 사용할때 파라미터 값이 들어 가질 않는 문제 (엔컴퓨팅 사용시) * 엔컴퓨팅 사용시 시작 프로그램 설정 이슈 * 클릭온스는 자동 업데이트 설정 * 아래 실행문은 위의 코드에 대한 샘플(배치파일로 등록하거나 바로 실행) ex) c:\pdp.app..
-
LINQ OuterJoin Sample / LINQ 조인 샘플.NET/LINQ 2010. 12. 28. 08:05
var query2 = (from original in originalDt.AsEnumerable() join addType in productDt.AsEnumerable() on original.Field("FACTCD") + original.Field("LINECD") + original["JOBSEQ"] equals addType.Field("FACTCD") + addType.Field("LINECD") + addType["HANGNO"] into g from joinType in g.DefaultIfEmpty() join addType2 in BaseMain.MainDataSet.Tables[0].AsEnumerable() on original.Field("FACTCD") + original.Fi..
-
C# DateTime 소수점 시간까지 표시 하기.NET/Basic is the Best 2010. 12. 3. 11:53
C# DateTime 소수점 시간까지 표시 하기 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace dateTime { class Program { static void Main(string[] args) { Console.WriteLine(DateTime.ParseExact("20080807144334.410187", "yyyyMMddHHmmss.ffffff", System.Globalization.CultureInfo.InvariantCulture)); Console.WriteLine(DateTime.Now.TimeOfDay); Consol..
-
vs2010 다크사이드 설정 파일.NET/VisualStudio2010 2010. 10. 13. 11:51
링크 : http://darksideofvisualstudio.net/
-
ODP.NET 설치와 배포 튜토리얼.NET/VisualStudio2010 2010. 10. 12. 14:37
튜토리얼 환경 서버 : Windows Server 2008 R2 Oracle 10g 클라이언트 : Windows Server 2008 프로그램 : Visual Studio 2010 FrameWork 3.5 1. Oracle Data Access Components (ODAC) for Windows Downloads Oracle 11g Release 2 ODAC 11.2.0.1.2 Download the XCopy version http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html 2. 압축 해제 3. 폴더에 아래의 파일들을 다른곳에 복사해 놓는다 \ODAC112012Xcopy\instantclient_11_2 m..
-
Visual Studio AddIn 소개 - Solution Explore의 파일 찾기 (PhatStudio) add-in.NET/VisualStudio 2010. 8. 29. 11:56
PhatStudio 솔루션에 특정 파일을 찾을때 유용합니다 참 필요로했던 있을법한 기능인데 비주얼스튜디오에 찾아봐도 없는듯합니다 현재 가장유용하게 사용하는 AddIn이구요 사용법은 간단합니다. 설치하신다음 ALT-O로 열고 파일명 입력하면 솔루션 디렉토리의 파일들이 자동 필터링 됩니다 선택해서 엔터 치면됩니다 다중선택도 가능해서 *.Xaml 과 *.Xaml.cs등을 함께 열수 있어 자주 애용하는 애드인입니다 http://sourceforge.net/projects/phatstudio/ GNU General Public License 입니다
-
쓸만한 Visual Studio 무료 Addin Add-in Add in.NET/VisualStudio2010 2010. 8. 11. 01:45
Productivity Power Tools by Microsoft Corp A set of extensions to Visual Studio Professional (and above) which improves developer productivity. Add Reference, align assignments, Column Guides (192) 138,307 Downloads Free Tool 6/8/2010 PowerCommands for Visual Studio 2010 by Microsoft Corp PowerCommands 1.0 is a set of useful extensions for the Visual Studio 2010 IDE. PowerCommands (59) 70,190 Do..
-
PInvoke.net 을 비주얼 스튜디오 2008 / 2010 추가하기.NET/VisualStudio2010 2010. 7. 23. 06:57
추가 안되면~!! Invoke.NET Microsoft Visual Studio Macros 8.0 Microsoft Visual Studio 8.0 pInvoke.net Add-In Red Gate pInvoke.net Visual Studio 2005 Add-In. Communicates with www.pinvoke.net PInvokeDotNetAddIn2005.dll PInvokeDotNetAddIn.Connect 1 1 0 빨간 부분을 9.0 이나 10.0으로 변경합니다 저장합니다. 도구 -> 옵션 -> Add-in/Macros Security 에서 Add .
-
StaticResource and DynamicResource.NET/WPF 2010. 7. 20. 14:40
http://blogs.microsoft.co.il/blogs/davids/archive/2009/05/19/staticresource-and-dynamicresource.aspxStaticResource and DynamicResource So, whats the difference, and when should I use each? I am referring of course to the difference between the behavior of these two XAML elements: Static Resource Dynamic Resource Where “myBrush” is defined as a resource in a scope that contains the buttons. The D..
-
VS2010 TFS 설치 듀토리얼.NET/VisualStudio2010 2010. 6. 15. 10:38
http://blogs.msdn.com/b/jasonz/archive/2009/10/21/tutorial-getting-started-with-tfs-in-vs2010.aspx http://blogs.msdn.com/b/jasonz/ Tutorial: Getting Started with TFS in VS2010 RATE THIS Jason Zander 21 Oct 2009 5:00 AM 14 Earlier this month we announced the new Basic configuration for TFS. This configuration gives you an easy to set up version of TFS that supports source control, work items, and..
-
Visual Studio 2005의 원격 디버깅 설정(http://www.hoonsbara.com/).NET/C# Basic 2010. 6. 14. 16:49
Visual Studio 2005의 원격 디버깅 설정 이 항목은 다음 언어에 적용됩니다. Visual Studio Edition Visual Basic C# C++ J# Web Dev Express 아니요 아니요 아니요 아니요 아니요 Standard 아니요 아니요 아니요 아니요 아니요 Pro/Team 예 예 예 예 예 Visual Studio 2005에서는 원격 디버깅을 매우 간단하게 설정할 수 있습니다. T-SQL 디버깅을 제외한 모든 원격 디버깅 시나리오에 원격 디버깅 모니터(msvsmon.exe)가 사용됩니다. 이전에 일부 디버깅 시나리오에 필요했던 Machine Debug Manager(mdm.exe)는 이제 사용되지 않습니다. 또한 msvsmon.exe에서 기존의 명령줄 인터페이스 대신 그래픽 ..
-
-
Foundations: 특수한 컨트롤을 위한 템플릿.NET/WPF 2010. 5. 25. 10:55
http://msdn.microsoft.com/ko-kr/magazine/cc135986.aspx Foundations: 특수한 컨트롤을 위한 템플릿 Foundations 특수한 컨트롤을 위한 템플릿 Charles Petzold 코드 다운로드 위치: Foundations2008_01.exe (784 KB) Browse the Code Online 목차 요소 및 컨트롤 기본 템플릿 및 DLL 컨트롤 파생의 기본 사항 요소 및 컨트롤의 계층 코드와 XAML 명령 생성 템플릿 대체 일반적인 개체를 특수한 시각적 개체로 바꾸기를 즐기는 프로그래머를 위해 WPF(Windows®Presentation Foundation)에서는 템플릿이라는 흥미로운 기능을 제공합니다. 과거에는 컨트롤의 기능과 시각적 모양이 컨트롤의..