суббота, 16 мая 2020 г.

WinForms Excel Library v1.2 update

Download WinForms Excel library 1.2 on Github releases

  • Fix null reference when trying to access active workbook
  • Fix exceptions when trying to delete temp file
  • Disable code that accesses Worksheet.ProtectContents in Excel 2016+
  • Disable APIs that add, remove or rename worksheets and open files in Excel 2016+ due to UI freezes (DisplayStatusBar, DisplayFormulaBar properties - can't be set after Excel is initialized; DeleteSheet, AddSheet, SetSheetName, MoveSheet, NewEmptyWorkbook, OpenFile, AddChart methods now throw NotSupportedException)
  • Fix SetActiveSheet and SaveIntoFile in Excel 2016+
  • Add new properties InitialSheetCount and SourceFile that can be set only before Excel is initialized
  • Add new method AddEmbeddedChart

WinForms Excel Library now works with Excel 2016, but with limited functionality:

  • You cannot add or remove sheets after InitializeExcel is called, but you can set InitialSheetCount before initialization to control sheet count.
  • You cannot open workbook files after InitializeExcel is called, but you can set SourceFile property before initialization to select workbook to open. If this property is empty string, control will be created with new empty workbook
  • You cannot add charts to new sheets, but you can add charts embedded to existing sheet with AddEmbeddedChart method
  • You cannot modify content of protected sheets (on older Excel versions library attempts to unprotect sheet)

суббота, 27 июля 2019 г.

CilBytecodeParser 1.5 released

Changes in new version:

  • Moved CilInstruction.opcodes initialization from static constructor to first FindOpCode call, so it will be only loaded when needed.
  • Added support for instructions referencing 32-bit target branch operands
  • Added special characters escaping when displaying string literals
  • Added CilGraph.EmitTo method with jumps support as well as the corresponding IlGenerator extension method

Download binaries: https://yadi.sk/d/CTUecLF_yvsKVA

Source code: CilBytecodeParser on GitHub


воскресенье, 24 марта 2019 г.

CilBytecodeParser 1.3 released

CilBytecodeParser 1.3

License: BSD 2.0

Requirements: .NET Framework 3.5+

CilBytecodeParser is a library that reads .NET methods' Common Intermediate Language (CIL) bytecode and converts it into high-level objects or textual CIL representation so they can be easily studied and programmatically processed.

Features:

  • Retreving the collection of instructions that form method body
  • Retreiving graph that represents a flow of control between method's instructions
  • Converting CIL code into text
  • Convenient extension method syntax

Download binaries: https://yadi.sk/d/EWEjw6WUVDJzCQ

Source code: CilBytecodeParser on GitHub


суббота, 1 сентября 2018 г.

ErrLib 1.0 released

ErrLib is a library to assist in dealing with exceptions and errors in C/C++ Windows Applications

Author: MSDN.WhiteKnight
License: BSD 3-clause
Requirements: Windows Vista (or newer), Visual Studio 2010 (or newer)

Features
  • Simple way to get exception code, error message and stack trace in the handler block for SEH exceptions (as well as unhandled C++ exceptions which cause them)
  • Executing user-defined callback function on unhandled SEH exception
  • Helper macros for converting Win32/COM errors into exceptions
  • Configurable logging: can write diagnostic information into log file, stderr stream, Windows Event Log or other targets
  • Multithreaded: all functionality can be used from different threads independently
  • All string processing in Unicode (wide characters)

Download binaries: https://yadi.sk/d/jNEO7HJV3akod5

Source code: https://github.com/MSDN-WhiteKnight/ErrLib

суббота, 19 мая 2018 г.

HtmlDocumentFactory library - Working with HTML documents in .NET

Sometimes there's a need to create or parse HTML documents programmatically. Windows Forms framework in .NET has a nice HtmlDocument class for HTML manupulation. However, it can only work with documents from WebBrowser control, and there's no public constructor to create new HtmlDocument instance from scratch or from arbitrary HTML content. However, it can be done by accessing MSHTML COM interfaces directly and invoking private HtmlDocument constructor via reflection. I have implemented this approach in HtmlDocumentFactory library.

Source code: https://github.com/MSDN-WhiteKnight/HtmlDocumentFactory

Download binaries: https://yadi.sk/d/lPk5bGov3WCXsD

Usage

The library consists of a single static class HtmlLib.HtmlDocumentFactory that provides helper methods for creating and destroying HTML documents and converting them to strings. Use CreateHtmlDocument method to create a new document, modify its content via HtmlDocument methods, use HtmlDocumentToString method to obtain whole HTML string, then call ReleaseHtmlDocument when you no longer need it.


вторник, 19 сентября 2017 г.

Обновление Small Media Player - v2.0

Вышла новая версия проигрывателя Small Media Player.

Список изменений

  • Добавлена поддержка Windows 10
  • Изменен интерфейс, теперь список воспроизведения и обложка автоматически изменяют размер при изменении размеров главного окна
  • В главном окне добавлена краткая информация о форматах аудио и видео в воспроизводимом файле
  • Добавлено выделение стрелкой текущего файла в списке воспроизведения
  • Опция отображения фонового рисунка заменена на аналогичную опцию отображения рисунка при отсутствии обложки
  • Настройки программы и список воспроизведения теперь хранятся в папке "Мои документы"
  • Если включено запоминание позиции, запоминается также громкость.
  • m4a добавлен в список обрабатываемых расширений
  • Программа теперь собрана с помощью Visual C++ 2012


Скачать Small Media Player 2.0

суббота, 14 января 2017 г.

WinForms Excel Library 1.1 update

WinForms Excel Library version 1.1 was released. Changes:
  • Fixed bug when saved file was not accessible until application is closed after using SaveIntoFile method
  • AdvancedDataGrid: added property "Inactive", allows to prevent user from interacting with control
  • New contrtol C_AdvancedDataGrid.

More information about WinForms Excel library