Monday, December 25, 2023

Draw Lines using Mouse and build custom control topics

Draw Lines using Mouse and build custom control topics

  1. Drawing Lines And Rectangles Using the Mouse
  2. Simple program utilizing the mouse to draw lines and rectangles.

  3. Writing Your Custom Control: Step by Step
  4. Making a cute button of two semi-transparent user-changeable colors

  5. A C# class that deals with System Registry
  6. This C# class retrieves, creates, deletes Registry values and keys, and even more...

  7. 4 steps to create free SSL certificate for development
  8. 4 steps to create free SSL certificate for development

  9. A Better Line Control
  10. A WinForms line control that works how you would expect one to.

  11. A Better Line Control
  12. A WinForms line control that works how you would expect one to.

  13. Developing a Line Control
  14. This is a control that takes a starting point and an ending point as objects and draws a line between them

  15. The Spiral TrackBar Control
  16. In this article, you will learn about the SpiralTrackBar class. This class is a replacement for the .NET Framework and .NET TrackBar control, which displays the track line as a spiral.

  17. Get the Best of Both Worlds: Command Line and GUI
  18. The article introduces Command Line GUI, a shared library inspired by the Plossum library, which allows rapid development of console apps with parameters and options, providing a GUI without additional programming. It demonstrates how to develop plugins for existing command line programs or console apps utilizing Plossum, using a data model class and attributes to describe options, and how Command Line GUI can handle multiple plugins.

  19. Plossum
  20. Plossum is a class library collection written in C# providing functionality mainly for writing and communicating with console applications. It provides a .net interface to some Win32 specific system service functions as well as more generic classes.

  21. Nice Line - A simple shaded line
  22. A simple line control with multiple purposes

  23. Rubberband Lines
  24. Using the rubberband line as a ruler.

  25. Line to Region
  26. This class gets an array of pointf() and returns the corresponding line region with custom width.

  27. Editor3D: A Windows.Forms Render Control with interactive 3D Editor in C#
  28. A universal ready-to-use interactive 3D Editor control for System.Windows.Forms applications. It displays 3D data that the user can modify with the mouse. The control consists of a single C# file and is optimized for maximum speed.

  29. https://www.codeproject.com/Articles/26542/An-Intelligent-NET-Multilanguage-Installer
  30. This project is based on my Cabinet Library CabLib which is also published with source code on The Code Project. The original purpose was to create an Installer or Setup which installs an ASPX server consisting of 3000 files. But obviously you can use this Installer to install any software package.

  31. Drawing and Editing Lines with GDI+
  32. Here's the code to implement a basic graphic user interface to paint, and then edit, lines on a PictureBox.

  33. Ruler Control
  34. Ruler control in C#

  35. Line Graph Component in C#
  36. Line Graph Component in C#

  37. LineEditor Control – Line based visual input/output
  38. A line based control for output and optional input, and a discussion of how to create a custom control from the .NET UserControl.

  39. Shape Control for .NET
  40. Implementing shape control that supports transparency, custom design-time editors and simple animation

  41. A thermometer control
  42. Creating an analog-style thermometer

  43. Eyes
  44. Creating an eye control.

  45. Pulse Button
  46. Pulse Button

  47. Writeable Application Scope Settings
  48. Writeable Application Scope Settings

  49. Drawing a Line Graph in GDI+
  50. Drawing a line graph in Cartesian coordinates (VB.NET and GDI+)

PE format

PE format

    Top tools

  1. Training 3: Basics About the PE Format and .NET
  2. You already know how to find that out. Use the "file" command, TrID, or look at the sample with a hex editor. All of these ways should tell you what kind of file we have here.

  3. app-peid
  4. PE iDentifier v0.95 (2008.11.03) by snaker, Qwerton, Jibz & xineohP
    ------------------------------------------------------ PEiD detects most common packers, cryptors and compilers for PE files. It can currently detect more than 600 different signatures in PE files.

  5. ExeInfo: PE
  6. Packer, compressor detector / unpack info / internal exe tools Detect : Symbian / Android / Linux / Mac OS - files PUP / PUA Applications & Downloaders Archives : .zip , .rar , .zlb , .gz , .7 zip , .tar , .cab .is , ...

  7. A.S.L Soft
  8. Free Windows software Detect packer , compiler , protector , .NET obfuscator , PUA application

  9. PEiD
  10. PEiD detects most common packers, cryptors and compilers for PE files. It can currently detect more than 470 different signatures in PE files. It seems that the official website (www.peid.info) has been discontinued. Hence, the tool is no longer available from the official website but it still hosted on other sites.

  11. PE Format Illustrated – Part 1
  12. Beginners tutorial on PE format, with illustrations. Planned to be an easy-to-follow overview tutorial with a lot of illustrations, without going into all the details. We tried to focus on the big picture.

  13. PE Format Illustrated – Part 2
  14. This is a beginner’s tutorial on PE format applied to .NET assemblies. We tried to give light illustrated text. We tried to focus on the big picture.

  15. A Number of Reusable PE File Format Scanning Functions
  16. Useful functions to retrieve information from PE files.

    his article accompanies a number of command line sample applications that wrap some common code of mine. This common code can be used to extract various information from PE format files (PE format stands for Portable Executable Format). The four samples are named bitness, pefileuses, dotnetsearch and pdbget.

  17. Pepper
  18. PE (x86) and PE+ (x64) files viewer, based on libpe.

  19. Anatomy of a .NET Assembly – PE Headers
  20. Today, I’ll be starting a look at what exactly is inside a .NET assembly – how the metadata and IL is stored, how Windows knows how to load it, and what all those bytes are actually doing. First of all, we need to understand the PE file format.

  21. .NET File Format - Signatures Under the Hood, Part 1 of 2
  22. A full description of signatures, that are part of the .NET file format

  23. .NET File Format - Signatures Under the Hood, Part 2 of 2
  24. A full description of signatures, that are part of the .NET file format

  25. PE file format part1 - DOS Headers, Signature, File Header
  26. PE file format part2 - Optional Header
  27. 0:16 / 3:32 PE file format part2 - Optional Header

  28. The .NET File Format
  29. The standards of the .NET format are public, you can find them on Microsoft and in your .NET SDK (look after "Partition II Metadata.doc"), but they are intended to be a more like a reference, not really a guide. So, the truth is that a description of the format can be useful. I mean there's a huge difference between having the WinNT.h and having the full explanation of structures and stuff. The documentation given by Microsoft has some explanations, but a lot of passages aren't very clear at all. Of course, it's required that you know quite well the PE File Format. If that's not the case, you should start with that first, otherwise you won't be able to make heads or tails of this article. A little warning: I'm not going to explain how to use the libraries given by Microsoft to access the .NET Format, I'm going to explain the format itself. This article is based on the Framework 2.0.

  30. Explorer Suite
  31. Small announcement: If you or your organization needs professional PE inspection, then take a look at Cerbero Suite (the commercial product of my company), which properly supports many file formats beyond the complete Portable Executable specification. It’s multi-platform (Windows, OS X & Linux) and it comes as a free trial.

  32. The .NET File Format
  33. A full description of the .NET File format.

Saturday, December 16, 2023

interoperability between C++ and C#

interoperability between C++ and C#

  1. Interoperability between C++and C#
  2. In this article I demonstrate how to call a C++ function, set a callback function in C#, and output showcasing the successful callback from C++ to C#.

  3. libpe: PE32/PE32+ Binaries Parsing Library
  4. This project details the functionality of "libpe," a C++ library enabling the manipulation and extraction of various data structures from PE32(x86) and PE32+(x64) binaries. It provides methods to access and retrieve different headers, tables, sections, and resource information.

Saturday, December 9, 2023

Runtime Object Editor

Runtime Object Editor

  1. Runtime Object Editor
  2. A powerful window/object editor to be used at runtime that allows viewing/changing of properties and fields, method invocations, and object hierarchy navigation.

  3. SnapWindows - StickyWindows reloaded
  4. A new approach to 2D - geometric computation replaces Point, Size, and Rectangle.

  5. SizerPanel and CaptionPanel
  6. Two WinForms controls that help to develop compact and flexible user interfaces.

base class and clone()

base class and clone()

  1. Base class for cloning an object in C#
  2. This class implements the ICloneable for you.

  3. WD Gann Square of 52 - One of the approach to find Tops and Bottom
  4. HOW 2 USE WD GANNS SQUARE OF 144 (DEC 2017)

Saturday, December 2, 2023

static constructor and singleton and object class

c# class static constructor

  1. Static constructor in C#
  2. When you work with static class variables, the static constructor allows you to create much cleaner code. It gives you the ability to execute code before one of the static methods of the class is executed. You are able to initialize the static variables of your class with no lock or if statement.

  3. Static Constructor In C# And Its Usages
  4. C# supports two types of constructors, a class constructor (static constructor) and an instance constructor (non-static constructor).

  5. Static Constructors (C# Programming Guide)
  6. A static constructor is used to initialize any static data, or to perform a particular action that needs to be performed only once. It is called automatically before the first instance is created or any static members are referenced. A static constructor will be called at most once.

  7. C# static class constructor
  8. Is there a work around on how to create a constructor for static class?

  9. C# | Object Class
  10. The Object class is the base class for all the classes in the .Net Framework. It is present in the System namespace. In C#, the .NET Base Class Library(BCL) has a language-specific alias which is Object class with the fully qualified name as System.Object.

  11. C# | Static Class
  12. In C#, one is allowed to create a static class, by using static keyword. A static class can only contain static data members and static methods. It is not allowed to create objects of the static class and since it does not allow to create objects it means it does not allow instance constructor. Static classes are sealed, means you cannot inherit a static class from another class.

  13. C# | Difference between Static Constructors and Non-Static Constructors
  14. Static constructors are used to initialize the static members of the class and are implicitly called before the creation of the first instance of the class. Non-static constructors are used to initialize the non-static members of the class. Below are the differences between the Static Constructors and Non-Static Constructors.

  15. Object Class
  16. Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

  17. Static Interfaces in C#
  18. Introducing a library (distributed as a Nuget package) that is compensating for the lack of static interfaces in C#

  19. Constant , Readonly and Static in C#
  20. Constant, readonly and static are mostly used and confused keywords in .NET framework. This article briefly explains about all of the keywords and explains them in the scenarios they can be used in. CodeProject

    Singleton Pattern

  21. Implementing the Singleton Pattern in C#
  22. The singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton is a class which only allows a single instance of itself to be created, and usually gives simple access to that instance. Most commonly, singletons don't allow any parameters to be specified when creating the instance - as otherwise a second request for an instance but with a different parameter could be problematic! (If the same instance should be accessed for all requests with the same parameter, the factory pattern is more appropriate.) This article deals only with the situation where no parameters are required. Typically a requirement of singletons is that they are created lazily - i.e. that the instance isn't created until it is first needed.

  23. Singleton in C#
  24. Singleton is a creational design pattern, which ensures that only one object of its kind exists and provides a single point of access to it for any other code.

  25. Singleton in C#
  26. Singleton is a creational design pattern, which ensures that only one object of its kind exists and provides a single point of access to it for any other code.

  27. Singleton Design Pattern in C#: Full Guide
  28. Have you ever wondered how to maintain a unique instance throughout the lifecycle of an application and ensure that one class only has one instance?

Friday, November 17, 2023

solar system

solar system

  1. C# Class for Calculating Sunrise and Sunset Times
  2. A class for calculating sunrise and sunset times, implemented as a thread-safe Singleton

  3. Sunrise/Sunset Calculations
  4. Code to help calculate sunrise and sunset times

  5. Sidreal Time Calculator
  6. A sidereal time calculator for Windows Phone

  7. World Time
  8. Displays current time in various timezones. Also demonstrates some Win32 API programming tricks.

  9. The Equation of Time
  10. Or why isn’t the earliest sunset on the year’s shortest day?

    Video

  11. A More Approximate Position of the Planets using JPL Ephemerides (Spirographs!!)
  12. Here I use some software I created on Github to plot the orbits of the planets and make some nice videos to watch and enjoy. I hope you enjoy this as well.

  13. How to calculate sidereal time
  14. 32,867 views Mar 1, 2012 This animation explains how sidereal time is calculated. You can find out more about how sidereal time is used in astronomy and WJ Macdonnell’s telescope at the National Museum of Australia

  15. 0:12 / 13:03 Celestial Coordinates
  16. Celestial Coordinates

  17. Astronomical Coordinates
  18. Describes the various coordinate systems used by astronomers, with a focus on the celestial coordinate system used in astronomical catalogues (also called equatorial coordinates) and how these are transformed to an azimuth and altitude (also know as an elevation).

  19. Right Ascension and Declination, explained. (RA and DEC celestial Coordinates in Astronomy)
  20. How to use setting circles on a budget telescope? What is RA and DEC on a telescope? How to use Right Ascension and Declination?
    Understanding how to use right ascension (RA) and declination (DEC) setting circles on the equatorial mount telescope. This video tries to simplify this confusing part for most amateur astronomers.

  21. Right Ascension and Declination Explained!
  22. Universal Equatorial Coordinates take the origin of Vernal Equinox which gives us a constant coordinate system that doesn't change as the earth rotates, but since the Vernal equinox itself is a position on the celestial sphere. So it rotates with the sky. The two coordinates of the Universal system are

  23. Astro Tutorial #1.4 (old version): Coordinate Systems of the night sky - ALT/AZ vs RA/DEC
  24. Today we discuss following items: a) the nomenclature of important points and plains b) coordinate systems of the night sky c) finding stars with their coordinates in both systems

  25. Terrestrial/Celestial Spheres Coordinate Systems Tutorial
  26. Working on it... This video explains the coordinate systems used in celestial navigation, with an overview of the terrestrial and celestial spheres. This video is part of a series that teaches celestial navigation using techniques that have been used for centuries. In this course, you will learn some basics needed to find your location using a sextant and elementary math. This course is free and available to everyone, and should take less than two hours to complete.

  27. Equation of Time
  28. The equation of time describes how the difference between the "natural time" kept by a sundial changes over the year, due to the changing length of the solar day.

  29. Introductory Astronomy: Path of the Sun in the Daytime Sky
  30. Video lecture on how the Sun's path is different throughout the year. This video refers to the lecture tutorial "Path of the Sun" from "Lecture Tutorials for Introductory Astronomy" by Prather, et al.

  31. Introductory Astronomy: Positions on the Celestial Sphere
  32. Introductory Astronomy lecture on the celestial sphere and how to start thinking of horizon diagrams. Refers to tutorial 1 ("Position") from "Lecture Tutorials for Introductory Astronomy".

  33. 0:04 / 5:49 Solar Geometry- How to read a sun-path diagram
  34. An introduction into Solar Geometry and basics of sun-path diagram

  35. 0:35 / 18:40 Sun Path Charts
  36. This lecture introduces sun path charts and how to use them to determine the general position of the sun at a given date and time. Along the way we'll discuss the difference between solar time and standard time. Finally, we'll briefly mention the use of sun path charts in shading analysis for a PV array.

  37. The Earth's Sun Angle
  38. @keegancan 2 years ago Great video, and great heat lamp comparison. I actually recreated an image in my mind of the heat lamps by having the heat lamps tilting at an angle and noticing that the foods would have varying amounts of heat.

  39. ASTR 503 - Class 1 - Video 1 - Celestial sphere: Definitions and Equatorial Coordinates
  40. ASTR 503 - Class 1 - Video 2 - Celestial sphere: Horizontal Coordinates
  41. ASTR 503 - Class 1 - Video 3 - Celestial Sphere: Ecliptic Coordinates
  42. ASTR 503 - Class 1 - Video 4 - Celestial Sphere: Hour Coordinates and Galactic coordinates
  43. ASTR 305 - Class 2 - Video 3 : Motions in the sky
  44. SPHERICAL TRIGONOMETRY:INTRODUCTION
  45. SPHERICAL TRIGONOMETRY : = INTRODUCTION = PLANE TRIGONOMETRY = GREAT CIRCLE = SMALL CIRCLE = SPHERICAL TRIANGLE = SYMMETRICAL SPHERICAL TRIANGLES .

  46. Celestial Sphere - altitude/azimuth
  47. Azimuths

C++ build system

C++ build system

  1. Use VS Code, CMake, and Batch Files to Simplify Your C++ Builds
  2. Build scripts are often complicated, sometimes even requiring things like Python or Perl to make them work. Here's a simple way to handle even moderately complicated projects.

  3. Windows desktop development with C++ in Visual Studio
  4. The Windows desktop platform has long been the most popular platform among C++ application developers. With C++ and Visual Studio, you use Windows SDKs to target many versions of Windows ranging from Windows XP to Windows 10, which is well over a billion devices. Popular desktop applications like Microsoft Office, Adobe Creative Suite, and Google Chrome all are built using the same Win32 APIs that serve as the foundation for Windows desktop development. Developing for Windows desktop allows you to reach the highest number of users on any non-mobile development platform.

  5. Bring your C++ code to Visual Studio
  6. C++ has been around for a long time and throughout its history many tools have been built to make life easier for C++ developers. This has led to a diverse C++ ecosystem in terms of the editing tools, build systems, coding conventions, and C++ libraries that we use in our day-to-day work. As a C++ developer, you are probably accustomed to using a variety of tools from different vendors for different purposes. Rest assured that you will not trade-in your flexibility in how you develop your C++ projects once you start using Visual Studio. Visual Studio provides industry-leading development tools for C++ for any platform you’re targeting.

  7. CMake Tools Extension for Visual Studio Code
  8. Microsoft is now the primary maintainer of the CMake Tools extension for Visual Studio Code. The extension was created and previously maintained by vector-of-bool, who has moved on to other things. Thank you vector-of-bool for all of your hard work getting this extension to where it is today!

Monday, November 13, 2023

GIS system and datum

GIS system and datum

  1. 经纬线
  2. 经线和纬线是人们为了在地球上确定位置和方向的,在地球仪和地图上画出来。
    经纬线相互垂直。纬线是一条条长度不等的圆圈。最长的纬线,就是赤道。 经线是一条条长度相等的弧线,连接南北两极。因为经线指示南北方向,所以,经线又叫子午线。
    国际上规定,把通过英国格林尼治天文台原址的经线,叫做0°经线,也叫本初子午线。在地球上经线指示南北方向,纬线指示东西方向。东西半球分界线:东经160° 西经20°。

  3. 北京市经纬度坐标
  4. 中心位置东经116°20′、北纬39°56′。

  5. 上海的具体经纬度坐标是多少?
  6. 上海市地处东经120°52′至122°12′,北纬30°40′至31°53′之间。
    上海面积6340.5平方公里。它位于太平洋西岸,亚洲大陆东海岸,中国南北海岸的中心点,长江和黄浦江的交汇处。北邻长江,东临东海,南临杭州湾,西连江浙两省。上海是长江三角洲冲积平原的一部分,平均海拔约2.19米。海拔最高点是位于金山区杭州湾的大金山岛,海拔为103.70米。

  7. 伦敦的经度和纬度,纽约的经度和纬度是多少,帮个忙!
  8. 伦敦:市中心位于北纬51度30分28秒,西经00度07分41秒(一般认为伦敦的经度就是0度)
    纽约:北纬40度43分,西经74度.

  9. 上海经纬度查询-在线经纬度定位转换工具
  10. 上海经纬度定位于:上海市
    纬度:31.230416
    经度:121.473701
    北京经纬度定位于:北京市
    纬度:39.904030
    经度:116.407526
    广东_深圳经纬度定位于:深圳市
    纬度:22.543099
    经度:114.057868

  11. What are Geodetic Datums? 5:09 / 5:09 Introduction to World Geodetic System 1984 | World Geodetic System 1984 Explained | WGS 84
  12. world geodetic system,world geodetic system 1984,World Geodetic System 1984 Explained,WGS 84,Introduction to World Geodetic System 1984,geodetic,is wgs 84 a projection system,coordinate systems,coordinate system,coordinate reference system,geodetic datums,introduction to frames of reference,geographic information system,projection system,convertion coordinate systems,geographical coordinate system,global positioning system,coordiante system,Prime meridian

  13. Premium webservices and data
  14. What are premium services and why do I need them ? Gisgraphy is a totally free open source framework under LGPL license :

  15. Sunset and Sunrise Calculation Based on Latitude, Longitude and UTC Offset for SQL Server 2005
  16. Sunset and Sunrise Calculation Based on Latitude, Longitude and UTC Offset for SQL Server 2005

Friday, October 6, 2023

regular expression engine

regular expression engine

  1. perlre - Perl regular expressions
  2. perlre - Perl regular expressions

  3. Regular Expressions/Perl-Compatible Regular Expressions
  4. Perl has a richer and more predictable syntax than even the POSIX Extended Regular Expressions syntax. An example of its predictability is that \ always quotes a non-alphanumeric character. An example of something that is possible to specify with Perl but not POSIX is whether part of the match wanted to be greedy or not. For instance in the pattern /a.*b/, the .* will match as much as it can, while in the pattern /a.*?b/, .*? will match as little. So given the string "a bad dab", the first pattern will match the whole string, and the second will only match "a b".

  5. Regular Expressions/POSIX-Extended Regular Expressions
  6. The more advanced "extended" regular expressions can sometimes be used with Unix utilities by including the command line flag "-E". Other Unix utilities, like awk, use it by default. The main difference is that some backslashes are removed: \{…\} becomes {…} and \(…\) becomes (…). Examples:

  7. Understanding Regular Expressions
  8. I'd like to tell you a story about a friend of mine, Fred. Because of the nature of the story, I'll talk a lot about Perl regular expressions and how they really work behind the scenes. To follow the story, I'll assume that you know Perl at least as well as Fred (which is not saying a lot, since he doesn't know it all that well, although he thinks he does).

  9. faqts : Computers : Programming : Languages : Tse : Parser
  10. TSE: Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?

  11. PERL:Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?
  12. PERL:Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?

  13. Perl Style Regular Expressions in Prolog
  14. Case Study: Implementing Perl Style Regular Expressions

  15. Regex BNF Grammar
  16. Is there any BNF grammar for regular expression?

  17. Lecture 32: BNF Describing Language Syntax
  18. Lecture 32: BNF Describing Language Syntax

  19. Discussion 12: Regular Expressions & BNF
  20. This is an online worksheet that you can work on during discussions. Your work is not graded and you do not need to submit anything.

  21. Regex BNF Grammar
  22. Is there any BNF grammar for regular expression?

  23. MarpaX-Regex Public
  24. MarpaX-Regex Public

  25. Perl Compatible Regular Expressions (PCRE) Documentation
  26. Perl Compatible Regular Expressions (PCRE) Documentation

  27. translate BNF grammar to sequence of RegEx'es
  28. Simple program to read in a BNF grammar and create a regular expression for the root element. This can be used to create a validator.

  29. BNF Notation in Compiler Design
  30. BNF Notation in Compiler Design

    Video - BNF

  31. Regular Expressions and BNF (Backus Naur Form)
  32. An introduction to Regular Expressions, the use of Formal Language and BNF including Syntax Diagrams. Suitable for AQA A-Level Computer Science

  33. Introduction to Grammars and BNF
  34. An introduction to grammars and specifically Backus Naur Form (BNF)

  35. 0:16 / 7:50 How to write BNF and EBNF grammar
  36. How to write BNF and EBNF grammar for a given language

  37. Backus-Naur Form
  38. BNF, or Backus-Naur form is an elegant and succinct way of expressing a grammar in very few lines. Find out more about how this works in today's random Wednesday tutorial!

  39. 0:09 / 38:45 BNF, EBNF & Syntax Graphs
  40. This video is having an analysis of BNF, EBNF & Syntax Graphs. This is a live recorded video tutorial. So you can easily understand how to write BNF & EBNF grammar rules and conversion parts of them with examples. Also you can study how to visualize the BNF & EBNF grammar rules in Syntax Graphs.

  41. Programming Language Syntax 1 - Backus-Naur Form (BNF)
  42. his is a short introduction to the Backus-Naur Form of describing a Context-Free Grammar, with some simple examples.

  43. 22. BNF (BACKUS NAUR FORM)
  44. This explain the notation used for representing Grammar i.e BNF Form.

  45. 0:02 / 8:36 • Purpose of a Parse Tree Parse Trees
  46. An explanation of parse trees intended for students learning about BNF grammars and programming languages.

  47. 0:54 / 14:57 Parsing Explained - Computerphile
  48. How ambiguity is dangerous! Professor Brailsford simplifies parsing.

  49. 0:30 / 14:01 Building a Parser from scratch. Lecture [1/18]: Tokenizer | Parser
  50. 0:30 / 14:01 Building a Parser from scratch. Lecture [1/18]: Tokenizer | Parser

Saturday, September 23, 2023

PDF open source project

PDF viewer

    PDF classes

  1. FreeImage Display Demo
  2. How to display a bitmap in your MFC SDI application using FreeImage. Various rescaling algorithms considered.

  3. FreeImage-dotnet-core
  4. This is a clone of the FreeImage .NET project (http://freeimage.sourceforge.net/) modified to work with dotnet core. Note that all functions that use System.Drawing.Bitmap have been removed from the netstandard framework versions as there is no implementation for this class.

  5. FreeImage.NET Class Library Reference
  6. FreeImage.NET

  7. FreeImage Public License v1.0
  8. FreeImage Public License v1.0

  9. freeimage
  10. FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, and cross-platform (works with Windows, Linux and Mac OS X).
    Thanks to it's ANSI C interface, FreeImage is usable in many languages including C, C++, VB, C#, Delphi, Java and also in common scripting languages such as Perl, Python, PHP, TCL, Lua or Ruby.

  11. How to use FreeImage.NET in a x64 targeting project (AnyCpu)?
  12. I'm trying to use the FreeImage .NET wrapper in my project, my ptoject targets AnyCPU and the dll wrapper will not work under this, it will only works if I target x86 machine.

  13. .net – Is PDFLibNet.dll or It has any licence for commercial products?
  14. I am using PDFLibNet.dll (got here: http://www.codeproject.com/KB/applications/PDFViewerControl.aspx?msg=3154388 ) am not sure whether I can use it for commercial purpose (Licence) ?

  15. PDF Library for creating PDF with tables and text, in C#
  16. Create PDF files on the fly using this simple library.

  17. PdfFileWriter Public
  18. The PDF File Writer C# class library gives .NET applications the ability to produce PDF documents. The library shields the application from the details of the PDF file structure. The library supports: forms, text, images, tables, graphics, barcodes, web links, charts, sticky notes, encryption and more.

  19. PDF File Analyzer With PDF Parsing Classes. (Version 3.0 for VS 2022 .NET 6.0)
  20. PDF File Analyzer is designed to read, parse, and display the internal structure of PDF files. Version 2.1 supports encrypted files.

  21. PDF File Writer C# Class Library (Version 2.0.0)
  22. PDF File Writer is a C# .NET class library allowing applications to create PDF files. The code was developed for VS 2022 and .NET6. The latest update is a major upgrade.

    Utility

  23. E-signing PDF documents with iTextSharp
  24. An example demonstrating how to sign PDF documents with the iTextSharp library.

  25. Creating PDF documents with iTextSharp
  26. Creating PDF documents with iTextSharp using a combination of images and text.

  27. iSafePDF: The Open Source PDF Signature Tool
  28. iSafePDF is an Open Source software to sign, timestamp, and encrypt PDF documents.

  29. PDF Merger and Protector
  30. PDF MERGER and PROTECTOR is the best pdf merger software which is fast and powerful way to join(Merge) PDF files with password protection as well as you can apply stamper with either any type of image or text. Using this utility you don’t required installation of Adobe Acrobat. Looks Exciting ???

  31. Use pdfviewernet in a project for .net framework 4.0
  32. So I downloaded the source for pdfviewernet and just ran it out of the box. And it worked.

  33. PDF Viewer Control Without Acrobat Reader Installed
  34. PDF document viewer control that does not require any Acrobat product to be installed

  35. Tutorials on creating PDF files using C# 2.0
  36. Tutorials on creating PDF files using C# (.NET 2.0) and iTextSharp

  37. Create/Read Advance PDF Report using iTextSharp in C# .NET: Part I
  38. Create/Read/Write Advance PDF Report using iTextSharp.DLL in Desktop, Mobile, Web Application

  39. Creating PDF Tables using C# (.NET 2.0) and iTextSharp
  40. Creating PDF Tables using C# (.NET 2.0) and iTextSharp

  41. The Great PDF - Revealed
  42. A project to create PDF files using text editor and digitally sign them.

    PDF viewer

  43. SumatraPDFControl
  44. It allows you to construct Windows Forms application capable to view and read Portable Document Files (PDF) with all features present in great SumatraPDFReader made by Krzysztof Kowalczyk.

  45. pdfview4net
  46. PDFView4NET is a .NET toolkit for adding PDF render, view and print support in .NET applications. It includes a PDF viewer control for Windows Forms and WPF and a .NET library for rendering and printing PDF files from any .NET application. The PDF viewer control includes support for annotating PDF files, bookmarks navigation, adding and removing file attachments and other features. The toolkit includes its own PDF rendering engine and it does not rely on any other software for rendering and printing PDF files. PDFView4NET toolkit has been developed entirely in C#, being 100% managed code.

  47. How do I build dll from source code?
  48. I'm complete dum about coding, so much i don't even know where to find info about it. I want to know how to build dll's from repos like this one. That's not the first time i stumbling upon such things, and I want to start from something.

    PDFTK component

  49. PDF Hacks: 100 Industrial-Strength Tips & Tools
  50. PDF--to most of the world it stands for that rather tiresome format used for documents downloaded from the web. Slow to load and slower to print, hopelessly unsearchable, and all but impossible to cut and paste from, the Portable Document Format doesn't inspire much affection in the average user. But PDFs done right is another story. Those who know the ins and outs of this format know that it can be much more than electronic paper. Flexible, compact, interactive, and even searchable, PDF is the ideal way to present content across multiple platforms.

  51. STAMPtk - The PDF Stamp Maker
  52. Use STAMPtk + PDFtk to mark PDFs with custom data, like stamps, watermarks, headers or footers, as the PDFs are served to online users. Or use these tools on the desktop to add information to local PDFs.

  53. PDF LAb
  54. Welcome! PDF Labs is where you can find professional tools and services for your PDF needs. It is run by Sid Steward, author of PDF Hacks (O’Reilly) and the popular PDF Toolkit.

  55. PDFtk Server
  56. PDFtk Server is our command-line tool for working with PDFs. It is commonly used for client-side scripting or server-side processing of PDFs. It is also used by OEMs and ISVs to give their products the ability to manipulate PDFs. A commercial license is required to distribute PDFtk with your commercial product.

  57. Resource HackerTM
  58. ... a freeware resource compiler & decompiler for Windows® applications

  59. PDFTKBuilder TM
  60. Take control of your PDF documents - merge or split pages; stamp pages or add background watermarks; add page numbers; and even rotate pages.

  61. PDFTK Builder Enhanced
  62. Free and open source GUI application for manipulating PDF files using the Windows version of PDF Toolkit (PDFtk) - split, merge, stamp, number pages, rotate, metadata, bookmarks, attachments, etc. This project is a fork of PDFTK Builder by Angus Johnson that enhances the user interface, adds functions, and enables use of later versions of PDFtk. OS: Windows. Author: David King. License: GPLv3.

Friday, September 15, 2023

type converter

  1. Bit Flags Type Converter
  2. An implementation of TypeConverter which allows you to edit bit flag enumerations in the PropertyGrid.

  3. DocMounter 2: A tool to build VS.NET
  4. Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.

  5. Type converters, your friendly helpers!
  6. Any time you developed a web form or Windows form using the Visual Studio .NET designer or used the view state architecture of ASP.NET you have relied on the help of a type converter. As the name already states, type converters are used to convert from one type to another.

  7. Universal Type Converter
  8. This article is about the different possibilities of type conversion provided by the .NET Framework. At the end, it offers a ready to use solution: the UniversalTypeConverter which converts nearly every type to another type.

  9. .NET Type Conversion Utility
  10. Convert what System.Convert can't.

Saturday, September 9, 2023

Monday, September 4, 2023

App config manager and data table topics

a good utility tool to set my preference

  1. Binding Class
  2. Represents the simple binding between the property value of an object and the property value of a control.

  3. BindingSource Class
  4. Encapsulates the data source for a form.

  5. A Detailed Data Binding Tutorial
  6. Demonstrates a variety of Windows Forms data binding features through several simple examples.

  7. Introduction to Dataset to Datatable C#
  8. he following article provides an outline for Dataset to Datatable C#. Whenever data must be collected from the database, the dataset does the work without being in a continuous connection with the database where virtual databases are created that look like the original database and data is stored in the same place. Therefore, we can say that the dataset is a representation of the database structure. Datatable is the representation of one table in the database where rows and columns are properly named in the database. It also represents the cache of rows, columns, constraints of both rows and columns in the structure. Datatable is the base in DotNet, where dataset and data view makes use of Datatable.

  9. Mapping DataTables and DataRows to Objects in C# and .NET
  10. My group regularly uses DataSet, DataTable, and DataRow objects in many of our apps.

  11. Binding Class
  12. Represents the simple binding between the property value of an object and the property value of a control.

  13. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 1
  14. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  15. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 2
  16. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  17. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 3
  18. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  19. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 4
  20. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

Saturday, September 2, 2023

3D posts

good article in 3D

  1. Editor3D: A Windows.Forms Render Control with interactive 3D Editor in C#
  2. A universal ready-to-use interactive 3D Editor control for System.Windows.Forms applications. It displays 3D data that the user can modify with the mouse. The control consists of a single C# file and is optimized for maximum speed.

  3. Sharp3D.Math - A 3D math library for .NET
  4. A 3D math library written in C#

  5. ExoEngine - a C# 3D engine
  6. A basic 3D engine built using C# and the .NET platform

  7. 3D Geometry Library (Basic Classes) and 3D Drawing using VB.NET
  8. This article explains a 3D geometry library developed using VB.NET.

  9. A Tool for Visualizing 3D Geometry Models-part 1
  10. An article describing a tool developed using WPF for visualizing 3D geometry models

  11. C# Line Control with Rotate Option
  12. An article on line control in .NET

Saturday, August 26, 2023

Wizard

good topic on wizard

  1. Nullable Types in C#
  2. In this article, we will extensively break down the concept of Nullable types in C#. We will discuss the kinds of Nullable types in C#, their characteristics, and how we can use them when building applications.

  3. SimpleWizardUpdate
  4. The SimpleWizardUpdate is a complete rewrite of the SimpleWizard project that was first posted on CodeProject in 2010 but later moved to github. The last activity was 5 years ago and the owner has shut the project down.

  5. Nullable value types (C# reference)
  6. A nullable value type T? represents all values of its underlying value type T and an additional null value. For example, you can assign any of the following three values to a bool? variable: true, false, or null. An underlying value type T cannot be a nullable value type itself.

  7. Type-testing operators and cast expressions - is, as, typeof and casts
  8. These operators and expressions perform type checking or type conversion. The is operator checks if the run-time type of an expression is compatible with a given type. The as operator explicitly converts an expression to a given type if its run-time type is compatible with that type. Cast expressions perform an explicit conversion to a target type. The typeof operator obtains the System.Type instance for a type.

  9. Default values of C# types (C# reference)
  10. The following table shows the default values of C# types:

  11. Nullable reference types
  12. In a nullable oblivious context, all reference types were nullable. Nullable reference types refers to a group of features enabled in a nullable aware context that minimize the likelihood that your code causes the runtime to throw System.NullReferenceException. Nullable reference types includes three features that help you avoid these exceptions, including the ability to explicitly mark a reference type as nullable:

  13. Digging Into Nullable Reference Types in C#
  14. This topic has been on my TODO: list for quite a while now. As I work with clients, many of them are just ignoring the warnings that you get from Nullable Reference Types. When Microsoft changed to make them the default, some developers seemed to be confused by the need. Here is my take on them: I also made a Coding Short video that covers this same topic, if you’d rather watch than read:

  15. The current .NET SDK does not support targeting. Net 6.0 Use target 5.0 or lower On Visual 2022 17.3.1
  16. The current .NET SDK does not support targeting. Net 6.0 Use target 5.0 or lower On Visual 2022 17.3.1

  17. Adding configuration to windows forms on .NET 5.0
  18. I'm migrating an existing windows forms C# app to .NET 5.0 and I'm trying to follow the instrutions presented on the migration docs. Everything is working ok, but there's still one thing to do: migrate the debug/release settings from app.config files.

  19. How to upgrade a Windows Forms desktop app to .NET 7
  20. This article describes how to upgrade a Windows Forms desktop app to .NET 7. Even though Windows Forms runs on .NET, a cross-platform technology, Windows Forms is still a Windows-only framework. The following Windows Forms-related project types can be upgraded with the .NET Upgrade Assistant:

  21. Upgrade a Windows Forms App to .NET 5 with the .NET Upgrade Assistant
  22. Upgrade a Windows Forms App to .NET 5 with the .NET Upgrade Assistant

Sunday, August 13, 2023

build version

build version

    My Installation on my PC

  1. Automatic Versions 2
  2. Automatically increments or updates version numbers in a project, based on configurable settings. You can set all Version attributes in any assembly, including .Net Core and .Net Standard assemblies, to specify a custom System.Version format, or you can set the AssemblyInfo V...

  3. Automatic Versions 3
  4. Automatically increments or updates version numbers in a project, based on configurable settings. You can set all Version attributes in any assembly, including .Net Core and .Net Standard assemblies, to specify a custom System.Version format, or you can set the AssemblyInfo V...

    Good Articles

  5. Project Version Updater
  6. pdates the AssemblyVersion and FileVersion attributes in the AssemblyInfo file for a project

  7. Versioner: An AssemblyInfo version incrementer
  8. A simple C# program that will increment the AssemblyVersion attribute of an AssemblyInfo.cs file.

  9. How to auto increment version number of assembly in .NET and Visual Studio using C#
  10. In .NET, version information for an assembly follows following format - [*.*.*.*].

  11. Visual Studio: How to Auto Increment Version Number
  12. This post shows you How to auto-increment version number of assembly in .NET If you want to increase the assembly version automatically, you can do the following in Visual Studio.

  13. Autoincrement Version in Visual Studio
  14. Autoincrement version in Visual Studio

  15. How To Update Assembly Version Number Automatically
  16. A small utility which allows to modify AssemblyVersion attribute specified in AssemblyInfo.cs files

  17. Project Definition and Versioning
  18. Project Structure and build scenarios

  19. Versioning Controlled Build
  20. A Visual Studio add-in and command-line utility that automates versioning of .NET and VC++ projects

  21. Getting File Version Information
  22. Getting file version information using C# 2.0.

  23. Automatic Build Versioning in Visual Studio
  24. Automatic build version awareness, incrementing, and archiving.

  25. How to automatically increment build versions in Visual Studio
  26. Some instructions on how to automatically increment the build number of your Visual Studio project. What was important to me was to automatically increment the build and version number of my executable files using Visual Studio. Some important StackOverflow links helped me to achieve this:

  27. A Simple Auto-Incrementing Version Number for C# / 25 May 2020
  28. There are many solutions out there, but for posterity's sake (read: I am forgetful which link I used last time) I will record the easiest to implement and manage here. Maybe it will help someone (besides myself).

  29. How to set your App's Version Number to auto-increment the Build and Revision portions and Display the Version in a Label
  30. Setting an assembly's version number to a "starting point" but allowing Visual Studio to auto-increment the Build and Revision elements of the Version Info, and then display that in an About box

  31. Versioning Controlled Build
  32. A Visual Studio add-in and command-line utility that automates versioning of .NET and VC++ projects

  33. SharpSVN module

  34. SharpSvn
  35. This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-

  36. SharpSvn
  37. Subversion wrapped for .Net 4.0+ and .Net Core SharpSvn wraps the Subversion client (and a few more low level) apis in an easy to use .Net friendly client.

  38. SharpSVN: A Gentle Introduction
  39. SharpSVN is a really useful library which encapsulates the functionality of the Subversion client so we can leverage it programmatically from .NET applications. I can think of many uses for this. In the past, in some of the automation frameworks I’ve worked with, updating the source code from SVN has been a manual task ran weekly. Using SharpSVN, we could write a simple console application to accomplish this. It could also be useful to automate repetitive SVN tasks in a development environment.

  40. SharpSvn Brings Subversion to .NET
  41. CollabNet now hosts and supports AnkhSVN, the Subversion plugin for Visual Studio. Some of our goals are to help the AnkhSVN community grow and accelerate the development of the plugin. To kickstart this, we started by collaboratively creating a roadmap for AnkhSVN. Subversion 1.5 compatibility is number one on that roadmap, including good merge support. To properly support Subversion 1.5, we either needed to update our internal C# Subversion binding (NSvn) or take advantage of SharpSvn, a .NET binding for Subversion. We chose the SharpSvn route. To understand why, let's learn more about SharpSvn.

  42. SharpSvn — Connecting and fetching logs from Remote repositories — Rahul Singla
  43. In continuation to my pevious blog post on defining configuration path to connect to remote repos using SharpSvn, I present quick sample code for connecting to and fetching logs from a remote svn repo requiring authentication.

  44. SharpSvn – SharpSvn.SvnFormatException: Can’t determine the user’s config path
  45. Till the beginning of this month, I was a regular SVN user using SVN as my Version Control System for many projects. But then, somewhere in the second week of this month, I have turned a SVN developer (not writing code for SVN itself, but providing solutions off SVN).

  46. 【杂项】SharpSVN的官方使用方法参考
  47. 【杂项】SharpSVN的官方使用方法参考

  48. C# (CSharp) SharpSvn SvnClient Examples
  49. good examples...

Saturday, August 12, 2023

configuration manager

set up my own application configuration: start from easier ones...

    Quick Jump

  1. Read/Write App.Config File with .NET 2.0
  2. Learn what .NET 2.0 offers you to read/write App.Config files

  3. Four Ways To Read Configuration Setting In C#
  4. This article will demonstrate how we can get/read the configuration setting from Web.Config or App.Config in C#. There are different ways to set the values inside the configuration file and read their values, which are based on the defined keys. We define those values inside the configuration section, which might be needed to make it more secure. It can be some secret keys or the value, which should be received frequently.

  5. C# Application Configuration Basics
  6. Configurations are integral to applications that has to deal with user preferences or configurable components. C# .NET offers two standard means of handling configurations. They are rich and extendable, however, the defaults are adequate for the basic needs. Here I review the basic usage of the two configuration methods.

  7. App.Config: Basics and Best Practices
  8. In one of my previous posts, I wrote about the .NET build configuration system. I mentioned the app.config file, but didn’t really dive into it. So let’s take a closer look at this file now. When you create a (non-web) .NET Framework application in Visual Studio, an app.config file is added to your project. When you create a class library or a .NET Core project, such a file is not included, although it can be done afterward.

  9. What Is CSharp App Config And How To Use It
  10. Csharp's App Config is a cornerstone for developers working with .NET applications. This article delves into its practical applications, offering a clear understanding of how to efficiently manage application settings.

  11. Use Visual C# to store and retrieve custom information from an application configuration file
  12. This article introduces how to store custom information from a configuration file that you can retrieve later during run time by its associated application. It's helpful when you must define data that's associated with an application.

  13. Manage application settings (.NET)
  14. Application settings enable you to store application information dynamically. With application settings, you can use a client computer to store information that shouldn't be included in the application code at runtime. Application settings can include connection strings, user preferences, and more.

  15. What is App.config in C#.NET? How to use it?
  16. I have done a project in C#.NET where my database file is an Excel workbook. Since the location of the connection string is hard coded in my coding, there is no problem for installing it in my system, but for other systems there is.

    More Basics

  17. Multiple app.config in C# Solution based on Build Selection
  18. This is a nifty trick which I have learned in the recent months, so I thought to share …

  19. App.Config in C#
  20. This tutorial will explain the App.Config file in a C# project and demonstrate how it can be used.

  21. How to use App.config in Visual Studio C# .NET
  22. Add reference to System.Configuration :

  23. docs/ide/how-to-add-app-config-file.md
  24. good collection of config tricks

  25. Creating Custom Configuration Sections in App.config
  26. I recently started a new job as a Software Developer working on extending Sage software functionality. Much of this development is done in Visual C#. Through the projects I have been given, there have been a few concepts I have learnt that have proven to be very useful. One such concept is custom Configuration Sections in a Visual C# application’s App.config file.

  27. How to use Configuration in a C# Console Project
  28. Its very common and good practice to use a configuration file if you want your application to be externally configurable. This article shows how to create and use one in your C# Console Application.

  29. Four Ways to Read Configuration Setting in C#
  30. This article will demonstrate us how we can get/read the configuration setting from Web.Config or App.Config in C#. There are different purposes to set the values inside the configuration file and read their values based on defined keys, we define those values inside the configuration section which might be need to make it more secure, it could be some secret keys or the value which should get frequently.

  31. C# Example: Reading Configuration Values from App.config File
  32. C# Example: Reading Configuration Values from App.config File

  33. C# – Store Variables and Collections in Config file
  34. In this article, we will talk about the config file used for a C# application. What is the goal of it, and how to use it. How to get values and create your own config section.

  35. Using the Settings file in C#
  36. As a software developer, how many times have you needed to store your application’s settings in a file, be it an ini file, an xml file, or maybe even a plain text file? It is a common requirement for many developers, and with C# it is really simple to do.

  37. C# custom App.config sections
  38. C# custom App.config sections: source code example

    intermediate

  39. Configuration Management
  40. his article shows how to store/handle configuration settings in a config file and backend database.

  41. Managing configuration settings persistence in .NET applications
  42. A simple way to manage config settings read/write persistence through ADO.NET and XML.

  43. Cinchoo - Simplified Configuration Manager
  44. Easy configuration management in .NET

  45. Unraveling the Mysteries of .NET 2.0 Configuration
  46. In this article, you will learn how to utilize the powerful new .NET 2.0 configuration features to simplify and centralize your configuration code.

  47. Custom Configuration Sections in .NET
  48. Learn how to create custom configuration sections in .NET to help you simplify your application's configuration

  49. Implementing Protected Configuration With Windows Apps
  50. How to use the ProtectedConfiguration API to protect sensitive information in your application’s configuration file.

  51. Application and component configuration
  52. Application and component configuration from XML .config files.

  53. Manage .NET configuration file appsettings section
  54. This is .NET 2.0 Windows Form Application wich can help you to none tech user to update you appsettings in your application configuration file.

  55. Creating a Custom Configuration Section in C#
  56. Creation of a custom configuration section similar to AppSettings. Stores settings for both Development and Production environments, and returns the appropriate settings based on the machine’s configuration in which the application is being executed.

  57. Modifying Configuration Settings at Runtime
  58. This article will demonstrate how to add, delete, and update key value pairs in an App.config file.

  59. Custom Configuration Sections in .NET 2.0
  60. Creating a custom configuration section in .NET 2.0.

  61. TreeConfiguration - configuration made as simple as it gets (or sets)
  62. Manage configuration data with a few lines of code. Very few.

  63. C# Tutorial - How to Display a Value from TextBox as Label Output
  64. This video will demonstrate how to get value from textbox and show it as output on label

Visual Studio project building error in C# project

when I rebuild my project #zLoader#, I ran into this problem.

  1. Build error: "The process cannot access the file because it is being used by another process"
  2. I have found a simple solution which works for me. It goes like this: When the problem occurs, just change the building configuration at the top (if in “Release” to “Debug” and vice versa), build and then change back to previous configuration and build again.

  3. FIX The Process Cannot Access the File Because It Is Being Used by Another Process
  4. FIX The Process Cannot Access the File Because It Is Being Used by Another Process

  5. Visual Studio: The process cannot access the file .dll because it is being used by another process
  6. Open up the project (.csproj) file in an XML editor Add this property to the first <PropertyGroup > in the project <GenerateResourceNeverLockTypeAssemblies >true </GenerateResourceNeverLockTypeAssemblies >

using NuGet package in Visual Studio project

after upload my project into GitHub, how to use NuGet package in my local project?

  1. VisualStudio.gitignore
  2. this is the updated stanadard .gitignore file to use my project..

  3. Restore packages with NuGet Package Restore
  4. NuGet Package Restore restores all of a project's dependencies that are listed in either a project file or a packages.config file. You can restore packages manually with nuget restore, dotnet restore, msbuild -t:restore, or through Visual Studio. The dotnet build and dotnet run commands automatically restore packages, and you can configure Visual Studio to restore packages automatically when it builds a project.

  5. Package consumption workflow
  6. Between nuget.org and private package galleries that your organization might establish, you can find tens of thousands of highly useful packages to use in your apps and services. But regardless of the source, consuming a package follows the same general workflow.

  7. Omitting NuGet packages in source control systems
  8. Developers typically omit NuGet packages from their source control repositories and rely instead on package restore to reinstall a project's dependencies before a build.

  9. 7.11 Git Tools - Submodules
  10. Submodules It often happens that while working on one project, you need to use another project from within it. Perhaps it’s a library that a third party developed or that you’re developing separately and using in multiple parent projects. A common issue arises in these scenarios: you want to be able to treat the two projects as separate yet still be able to use one from within the other.

Thursday, August 10, 2023

building installer and check Windows OS version

installer

  1. Inno Setup Dependency Installer
  2. Download and install any dependency such as .NET, Visual C++ or SQL Server during your application's installation!

  3. Windows 11 Version Detection
  4. In this article, you will see how to detect Windows 11 Version by using C# and C++.

  5. Sharp3D.Math - A 3D math library for .NET
  6. started building this library as part of a C# 3D engine I am currently working on. Having noticed that there isn't any decent open-source C# library for dealing with complex math out there I decided to focus my efforts on this library and release it to the world.

Monday, July 31, 2023

windows driver kit install & Boost library installation

how to write driver?

  1. Set up: Windows Driver Kit (WDK) for Visual Studio 2019
  2. Starting your journey into developing drivers? Well, everyone has to start at the beginning... And installing the driver development kit can be a little confusing. This video takes you through installing and setting up the Windows Driver Kit (WDK) for Visual Studio 2019.

  3. Download the Windows Driver Kit (WDK)
  4. The WDK is used to develop, test, and deploy drivers for Windows.

  5. Driver Development Part 1: Introduction to Drivers
  6. This article will go into the basics of creating a simple driver.

  7. Driver to Hide Processes and Files
  8. In this article, we describe the driver we created to hide processes and files in a system.

  9. Driver to hide files in Linux OS
  10. Simple driver for Linux OS that performs hiding of the selected files from the system

  11. Detect Driver
  12. This article is the continue of the previously posted article Hide Driver. Some methods to detect hidden files and processes are described in it

  13. BOOST library

  14. Installing and using the C++ boost library
  15. Installing the boost library and running one of their simple examples

  16. How to use the Boost C++ Libraries in Visual Studio
  17. In this video, I show you how to create a C++ project in Visual Studio and add and configure a property sheet to use the Boost C++ Libraries.

  18. BOOST- Getting Started on Windows
  19. official

  20. 027 - (SETUP) Install Boost C++ Library on Windows (2020, Aug. 22)
  21. 027 - (SETUP) Install Boost C++ Library on Windows (2020, Aug. 22)

    good at steps on building DLL and Libs etc...

  22. C++ binary compatibility between Visual Studio versions
  23. The Microsoft C++ (MSVC) compiler toolsets in Visual Studio 2013 and earlier don't guarantee binary compatibility across major versions. You can't link object files, static libraries, dynamic libraries, and executables built by different versions of these toolsets. The ABIs, object formats, and runtime libraries are incompatible.

  24. Understanding the Dependencies of a Visual C++ Application
  25. To determine which Visual C++ libraries an application depends on, you can view the project properties. (In Solution Explorer, right-click on the project and choose Properties to open the Property Pages dialog box.) On Windows 8 and earlier, you can also use the Dependency Walker (depends.exe), which gives a more comprehensive picture of the dependencies. For more recent versions of Windows the lucasg/Dependencies tool provides similar functionality (this is a third-party tool not guaranteed by Microsoft.)

  26. Redistributing the MFC Library
  27. If you dynamically link your application to the MFC library, you must redistribute the matching MFC DLL. For example, if your MFC app is built by using the version of MFC that ships with Visual Studio 2015, you must redistribute mfc140.dll or mfc140u.dll, depending on whether your app is compiled for narrow characters or Unicode support.

  28. Determine which DLLs to redistribute
  29. When you build an application that uses library DLLs supplied by Visual Studio, users of your application must also have those DLLs on their computers for the application to run. Because most users probably don't have Visual Studio installed, you must provide these DLLs for them. Visual Studio makes these DLLs available as Redistributable files that you can include in your application installer.

  30. Walkthrough: Deploy a Visual C++ application by using a setup project
  31. In this walkthrough, you'll create a sample app in Visual Studio, then create a setup project to deploy your app to another computer.

  32. C++ binary compatibility between Visual Studio versions
  33. The Microsoft C++ (MSVC) compiler toolsets in Visual Studio 2013 and earlier don't guarantee binary compatibility across major versions. You can't link object files, static libraries, dynamic libraries, and executables built by different versions of these toolsets. The ABIs, object formats, and runtime libraries are incompatible.

  34. C++ - Boost - Setting up on Windows 10
  35. Boost libraries are some of the famous ones in the C++ world.

  36. Installing boost on Windows 10
  37. I am so frustrated installing boost. Yes, I did read tons of materials on the web, including the original (boost) guidelines and many similar topics on StackExchange, but it did not help. Making long story short:

  38. How to Create, Open, Detect, and Remove Alternate Data Streams
  39. Are you interested in Alternate Data Streams? It is a feature offered by the NTFS file system. In this post, MiniTool will introduce this feature to you and show you how to use/manage it.

  40. Hide sensitive files with Alternate Data Streams
  41. Almost every small business and individual PC user has some sensitive or private files to keep away from prying eyes.

  42. Windows: NTFS Alternative Data Streams
  43. You might initially panic! That you may have been attacked or hacked? But actually this signature appears to be an undocumented feature of the Windows Fax and Scan service. The Windows Fax and Scan service actually appends these ADS files to any document or image scanned by the inbuilt Microsoft Windows Scanning software.

  44. Manipulate Alternate Data Streams
  45. A library you can use to encode "hidden" data in existing files.

  46. Where do programs save their secret license? [closed]
  47. Where do programs save their secret license or install related information? I notice that often times when you uninstall a program, clear out appdata references, check registries to make sure there is no residue of any relevant information.

  48. License Files and Aliases
  49. The license file is a binary encoded file is created when the user first runs your application, or it can be created by you and distributed with your application. This file will contain your application's license status as well as many other settings.