並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 61件

新着順 人気順

CodeProjectの検索結果1 - 40 件 / 61件

  • CodeProject: Drawing lines in Mozilla based browsers and the Internet Explorer. Free source code and programming help

    Download source files - 5.04 Kb Introduction In this article, I want to explain and deduce the line drawing algorithm by Bresenham. Afterwards, I will show an optimized version which can be used to draw lines in Gecko based browsers like Mozilla or Firefox and Microsoft's Internet Explorer. As you know, HTML itself is not able to describe lines. Therefore, there is no built-in features in the a

    • CodeProject: JSON Spirit: a C++ JSON Parser/Generator Implemented with Boost Spirit. Free source code and programming help

      Download source - 52.5 KB Table of Contents Introduction Using the Code JSON Spirit Value Reading JSON Writing JSON Error Detection Unicode Support Std::map Implementation Stream_reader Class Compiling and linking Reducing Build Times Using JSON Spirit with Multiple Threads Advanced Container Constructor (Advanced) Variant Constructor (Advanced) History Introduction JSON is a text file format simi

      • CodeProject: Extending Explorer with Band Objects using .NET and Windows Forms. Free source code and programming help

        Download source files - 118 Kb Introduction A lot has been already said about extending Windows and Internet Explorer with Band Objects, Browser Bands, Toolbar Bands and Communication Bands. So if you are familiar with COM and ATL you even might have implemented one yourself. Well, in case your were waiting for an easy way to impress your friends with something like Google Toolbar here i

        • CodeProject: Motion Detection Algorithms. Free source code and programming help

          One of the most common approaches is to compare the current frame with the previous one. It's useful in video compression when you need to estimate changes and to write only the changes, not the whole frame. But it is not the best one for motion detection applications. So, let me describe the idea more closely. Assume that we have an original 24 bpp RGB image called current frame (image), a grays

          • CodeProject - For those who code

            Support for Silverlight ends Oct 2021. Where will you migrate your Silverlight apps?

            • CodeProject: Command Prompt Explorer Bar. Free source code and programming help

              Download source files - 317 Kb Download binaries - 103 Kb Introduction The Command Prompt Explorer Bar is a small tool that extends Windows Explorer. Version 1.1 is now available. Ever tried to run one of those console programs ("Hello World!" to name a few), .BAT, .VBS or .JS scripts just to see black window popping up and disappearing? I did. Especially after I started using .Net fram

              • LINQ to CSV (CodeProject, CSVデータをLINQで扱うライブラリ, LinqToCsv) - いろいろ備忘録日記

                CodeProjectに LINQ to CSV library http://www.codeproject.com/Articles/25133/LINQ-to-CSV-library という記事があったので、メモメモ。 ついでにちょっとサンプル書いてみました。使いやすいですね。 ライブラリ内の各クラスについては、上記記事内で詳しく記述されています。 使い方も分かりやすく説明されているので、利用する場合は元記事を見ると すぐ分かりますです。 インストールは、NuGetでいけます。 Install-Package LINQToCSV 以下、サンプル。 予め以下のようなCSVファイルがあるとします。 (Test.csv) 1,name1,33,2013/11/10 2,name2,34,2013/11/11 (WithHeader.csv) DataId,PersonName,Person

                  LINQ to CSV (CodeProject, CSVデータをLINQで扱うライブラリ, LinqToCsv) - いろいろ備忘録日記
                • CodeProject: C# Com. Free source code and programming help

                  Download source - 244.0 KB Introduction This example will help you to understand how to implement and use a C# DLL in VB 6.0 code. As C# is an object-oriented language, we can use the object-oriented features to create proper classes in C# DLL. We can use COM Interop or follow the COM Plus Approach to refer to such DLLs in our old VB 6.0 applications. It's like delegating our business logic to

                  • CodeProject: Visual Leak Detector - Enhanced Memory Leak Detection for Visual C++. Free source code and programming help

                    Download Visual Leak Detector 1.0 - 476 Kb Download the 1.9d beta version of Visual Leak Detector (includes source) - 728 Kb Download the source code (version 1.0) - 50.3 Kb Table of Contents Introduction What's New? Using Visual Leak Detector Making a Memory Leak Detector Key Parts of the Source Code Known Bugs and Restrictions Credits References License History Introduction Visual C++ provides

                    • CodeProject: A Fast CSV Reader. Free source code and programming help

                      By Sebastien Lorion A reader that provides fast, non-cached, forward-only access to CSV data C#, Windows, .NET 1.1, .NET 2.0, .NETVisual Studio, VS.NET2003, VS2005, DBA, Dev Posted: 9 Jan 2005 Updated: 17 Jul 2008 Views: 465,654 Bookmarked: 472 times

                      • Licenses - CodeProject

                        Authors When uploading an article you need to be aware of the risks and legal issues involved. We live in a litigious world so you need to protect yourself against those seeking damages against you for problems that may (or may not) have been caused by your article. Just saying "The code is free for use" is no longer enough. What does "free" mean? Are there any restrictions? What happens if your c

                        • CodeProject: VC++7 to VC++6 project converter. Free source code and programming help

                          Web Development » Applications & Tools » Tools with source code Intermediate VC++7 to VC++6 project converter By Stephane Rodriguez. This tool automatically converts Visual C++ 7.0 projects back to Visual C++ 6.0 projects. VC6, VC7, C++Windows, Win2K, WinXPVS.NET2002, VS6, Visual Studio, Dev Posted: 26 Sep 2002 Updated: 22 Oct 2003 Views: 362,559 Bookmarked: 201 times

                          • CodeProject: Simple Pop-up Control. Free source code and programming help

                            Download source code and compiled sample applications (v1.3, Visual Studio 2008) – 93.52 KB Download source code and compiled sample applications (v1.2.5, Visual Studio 2005) – 86.85 KB Sample application using a custom pop-up control: Another application using a custom tooltip... ... and a more complex pop-up that can be resized: Tracking pop-up opening below the specified part of a control: Cas

                            • Serial library for C++ - CodeProject

                              A high-performance, complete and compact serial library for C++ Download demo project (with source) - 81.2 Kb Introduction Serial communications is needed in several types of applications, but the Win32 API isn't a very easy to use API to implement it. Things get even more complicated when you want to use serial communication in an MFC based program. The classes provided in the library try to make

                              • CodeProject: Mouse Gestures for Internet Explorer. Free source code and programming help

                                VC6, VC7.1, C++, HTMLWindows, Win2K, ATL, WTL, IIS 6, VS.NET2003, IIS, Visual Studio, Dev Posted: 27 Sep 2003 Updated: 21 Sep 2005 Views: 378,049 Bookmarked: 179 times

                                • CodeProject: Some Cool Tips for .NET. Free source code and programming help

                                  Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article Introduction These are some tips for commonly faced problems in .NET . Some of these tips are mine and some of these i have got from different sources. My aim is not to claim the ownership of these tips,but as a newcomer I had

                                  • CodeProject: API hooking revealed. Free source code and programming help

                                    Download source files - 69 Kb Download demo project - 139 Kb Introduction Intercepting Win32 API calls has always been a challenging subject among most of the Windows developers and I have to admit, it's been one of my favorite topics. The term Hooking represents a fundamental technique of getting control over a particular piece of code execution. It provides an straightforward mechani

                                    • C# Discussion Boards - CodeProject

                                      General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

                                      • CodeProject: SourceGrid - Open Source C# Grid Control. Free source code and programming help

                                        Download Source and Binary - 593 Kb Official SourceGrid Website Introduction SourceGrid is a Windows Forms control written entirely in C#, my goal is to create a simple but flexible grid to use in all of the cases in which it is necessary to visualize or to change a series of data in a table format. There are a lot of controls of this type available, but often are expensive, difficult to be cu

                                        • Automated Undo/Redo library based on C# Generics in .NET framework - CodeProject®

                                          Download Sample source - 53.2 KB Get latest version of Dejavu library Introduction This article introduces a reusable library that can equip any action in your application with the undo/redo feature. You may use complex data structures and complex algorithms with no care about how they will be rolled back on user demand or after an error. Background If you've ever developed a graphic editor or des

                                            Automated Undo/Redo library based on C# Generics in .NET framework - CodeProject®
                                          • CodeProject: An Anti-Reverse Engineering Guide. Free source code and programming help

                                            By Josh_Jackson A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs. C++ (VC6, VC7, VC7.1, VC8.0, C++), C++/CLI, C, ASM, Windows (Windows, WinXP, Win2003, Vista), Win32, Win64, Visual Studio (VS.NET2003, VS2005, VS2008, Visual Studio), Architect, Dev Posted: 9 Nov 2008 Up

                                            • Parallel port & EPP - C / C++ / MFC Discussion Boards - CodeProject®

                                              General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

                                              • CodeProject: Back to Basics - Generic Data Structures and Algorithms In .NET 2.0. Free source code and programming help

                                                Using the code Data structures provided The IVisitableCollection interface public interface IVisitable<T> { // Methods void Accept(IVisitor<T> visitor); } public interface IVisitableCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IComparable, IVisitable<T> { // Properties bool IsEmpty { get; } bool IsFixedSize { get; } bool IsFull { get; } } The Visitor pattern is p

                                                • Android Sensor Fusion Tutorial - CodeProject

                                                  This article presents one approach to increase the quality of rotation information gathered from different sensor sources using a simple sensor fusion algorithm, specifically on an Android device. Download SensorFusion1.zip - 70.8 KB Preface This article is a repost of an original from my former blog on thousand-thoughts.com which has been discontinued. The request for this article were so high, t

                                                    Android Sensor Fusion Tutorial - CodeProject
                                                  • CodeProject: Band Objects - .NET 2.0 Redux. Free source code and programming help

                                                    Languages » C# » COM Interop Intermediate Band Objects - .NET 2.0 Redux By cambo1982 A .NET 2.0 version of Pavel Zolnikov's BandObjects project. C#.NET 2.0, WinXP, Windows, .NETVisual Studio, VS2005, Dev Posted: 17 May 2006 Updated: 17 May 2006 Views: 154,403 Bookmarked: 86 times

                                                    • CodeProject: Eject USB disks using C#. Free source code and programming help

                                                      Download source files - 106.9 Kb Download demo project - 56.2 Kb Introduction Although removing a USB stick using the Windows shell is quite easy, it tends to be quite difficult programmatically. There are a lot of underlying notions, at the frontier of kernel driver development, one has to understand to achieve what may seem a simple task. When I started this work, I really did not think whe

                                                      • ASP.NET - CodeProject

                                                        The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.

                                                        • CodeProject: DirectX.Capture Class Library. Free source code and programming help

                                                          Download source files - 140.95 KB Download source files with demo project - 193.98 KB Introduction This article presents a class library for capturing audio and video to AVI files in .NET. Some of the features of this library: List and select hardware devices Access to common audio and video settings (e.g. frame rate, size) Support audio and video compression codecs Support video preview Su

                                                          • WPF DataGrid Practical Examples - CodeProject

                                                            This article provides a number of practical examples which demonstrate how to perform validation, styling, and DataSet integration with the new WPF DataGrid. Download source code - 65.44 KB Contents IntroductionArticle OverviewInstalling the WPF ToolkitBinding to a DataSet Displaying Data from a DataSetPerforming UpdatesMaster / Detail View Binding in a Layered Application The ArchitectureHandling

                                                              WPF DataGrid Practical Examples - CodeProject
                                                            • CodeProject: A single-threaded HTTP server.. Free source code and programming help

                                                              By Alexey A. Popov An implementaion of a simple single-threaded HTTP server. C#, Windows, .NET, Visual Studio, Dev Posted: 29 Nov 2005 Updated: 18 Dec 2005 Views: 43,376 Bookmarked: 51 times

                                                              • CodeProject: Task Manager Extension 2.0. Free source code and programming help

                                                                Download Task Manager Extension v.2.1 sources - 174 Kb Download Task Manager Extension v.2.1 binaries - 260 Kb Contents Introduction Changes Compatibility Using Task Manager Extension Warning Compiling Installation Uninstall Use Cases Detecting process service list, command line and environment Deleting blocked files: looking for used file or module Antivirus and anti-trojan protection Debugging

                                                                • CodeProject: An FTP client library for .NET 2.0. Free source code and programming help

                                                                  Download demo project and source - 42.8 Kb Download C# source - 6.62 Kb Introduction One annoying omission from the 1.x framework for .NET was support for FTP. This could be rectified by various libraries (some free, others commercial) that filled this gap. However, with Visual Studio 2005 and 2.0 of the .NET framework, FTP makes a welcome appearance. As well as adding FTP, Microsoft has mov

                                                                  • Head-to-head benchmark: C++ vs .NET - CodeProject

                                                                    How fast is C++ compared to C#? Let's compare code ported directly between the two languages. Download BenchmarkCppVsDotNetV2.zip - 919 KB Introduction I love the .NET Framework, C# and IntelliSense, but a lot of people are still saying it's slower than C++, pointing out that video games and "major applications" are still written in C++. Naysayers often point out that apps like Office, Internet Ex

                                                                      Head-to-head benchmark: C++ vs .NET - CodeProject
                                                                    • CodeProject: Windows Mobile Power Management. Free source code and programming help

                                                                      Download source code - 368.85 KB Introduction As a regular reader of the MSDN support forums and other online development communities, I see several questions (some reoccurring) about the aspects of power management and control on Windows Mobile devices. Sometimes, a developer wants to reduce the demand on power, and at other times, disable the power saving features. Then, there are coding patte

                                                                      • CodeProject: Driver Development Part 6: Introduction to Display Drivers. Free source code and programming help

                                                                        It has been a while since I have updated this series and I have found some free time to write the next version. In this article, we will take a look at how to write a simple display driver. A display driver is a special type of driver which fits into a framework that is unlike what we have talked about so far in this series. The example driver for this article will show how to write a basic displ

                                                                        • C# - CodeProject

                                                                          The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.

                                                                          • CodeProject: Image Processing Lab in C#. Free source code and programming help

                                                                            Download demo - 1025.2 KB Download source - 548.0 KB Introduction Image Processing Lab is a simple tool for image processing, which includes different filters and tools to analyze images available in the AForge.NET framework. It's easy to develop your own filters and to integrate them with the code or use the tools in your own application. The following filters are implemented in the AForge.N

                                                                            • CodeProject: Enumerating windows device. Free source code and programming help

                                                                              Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article Introduction Windows has a rich collection of APIs to get useful information about installed devices. In this article, I will show how you can enumerate devices on a machine using SetupDiXXX API and CM_XXXX API. The program ha

                                                                              • CodeProject: Rating Demystified: Ajax Way, Amazon Way*. Free source code and programming help

                                                                                Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article Download source files - 160 Kb Online demo - Ajax Rating (updated) Get the Rating Web Widget (new) Introduction This article describes an ASP.NET web module along with some chunks of Javascripts and ...Ajax to create a Rat

                                                                                • CodeProject: How to attach to Browser Helper Object (BHO) with C# in two minutes. Free source code and programming help

                                                                                  Download BHO_HelloWorld.zip - 3.8 KB Introduction Microsoft provided Browser Helper Object (BHO) to let developers "drive" Internet Explorer. The first BHO was introduced in 1997 with IE 4.0. I have been writing programs on BHO for months. It could be quite depressing at the very first beginning to learn all those things. Hereby, I am writing this article to help beginners like me get familiar wit