GoTask
About
Contact
Privacy
Terms
  • MFC Dialog – Get event on the first appearance

    Nov 7, 2020 cpp dialogs message-loop mfc post-message win32

    Background Sometimes we still need to maintain some legacy code that was written ages ago. A long time ago, MFC library was the default choice for many programmers wanted to develop a Windows Desktop Application in C++. Today, there are much better alternatives for the Desktop Applications developments that include: …

    Read More
  • C# Parsing XML with namespace using LINQ

    Oct 18, 2020 dot-net-core anonymous-type linq linq-to-xml parsing serialization xml xml-namespace

    Background In one of my previous posts, I wrote about deserializing XML with namespace using XmlSerializer that requires creating custom model classes in order to perform the serialization. Today, I am going to cover another powerful method for parsing - LINQ to XML. My Stack Xml element tag Visual Studio 2019 …

    Read More
  • C# - How to add or remove items from Windows recent files

    May 2, 2020 c-sharp pinvoke shell-api

    Background Starting Windows 7, Microsoft added a capability for displaying recently used files. This usually includes documents, pictures, and movies we've recently accessed. These files can be seen in various Windows components, including: Recent files Recent items Start menu or application's Jump List The …

    Read More
  • Serialize and Deserialize array in C++ using RapidJSON

    Apr 28, 2020 array cpp json object-model rapid-json serialization

    Introduction In my previous article, I covered serializing/deserializing JSON in C++ to a simple object using RapidJSON. When working with JSON, my goal is to work always with object models and keep the actual JSON parsing behind the scenes. This keeps the readability and maintainability of the code as JSON …

    Read More
  • Serialize and Deserialize object in C++ using RapidJSON

    Apr 8, 2020 cpp json rapid-json serialization

    Introduction In one of my projects in C++, I had to work with an input in JSON format as we were using Django Web API that produces a JSON response for REST API calls. Parsing the JSON format in C++ should be easy with the open source libraries such as RapidJSON, nlohmann/jsonm, Boost.JSON. My goal was to work with …

    Read More
  • Reverse list elements in C#

    Apr 6, 2020 dot-netcore c-sharp generics linq list

    Background .NET core provides a generics class List to store a strongly types objects that can be accessed by index. This class provides us with many methods to add, remove, access, sort or manipulate the objects within the list. In this sample, I am going to demonstrate the following Reverse options: Reverse using …

    Read More
  • C# Deserializing XML with namespace in .NET core

    Apr 4, 2020 dot-netcore c-sharp serialization xml xml-namespace

    Introduction I've been seeing a lot of repeated questions of difficulties deserializing XML files that have a namespace. In this post, I will provide some samples in C# of how to deserialize such XML files with minimal amount of code. My goal for this article is to provide working examples with minimal amount of code …

    Read More
  • Checking if a directory is writable in C#

    Apr 2, 2020 .net c-sharp file-io win32

    Today, I am going to demonstrate a simple way to check if the current executing user has a writing permission for a directory in the Windows file system. I came across this issue in a project when I needed to write a utility program that would do the following: Output a list of all directories that the current user is …

    Read More

Eyal Molad

A coder, dreamer and complex problem solver
Read More

Recent Posts

  • Setup Hugo Site Generator on GitHub Pages with a Custom Domain
  • MFC Dialog – Get event on the first appearance
  • C# – VSTO – Extract images from PowerPoint presentation
  • C# Parsing XML with namespace using LINQ
  • C# – Creating an Excel Addin with User Defined Functions
  • C# - How to add or remove items from Windows recent files
  • Serialize and Deserialize array in C++ using RapidJSON
  • How to set the focus during loading to a control in WinForms

category

PROGRAMMING 8 TUTORIALS 3 VSTO 3 WINFORMS 1

tag

C-SHARP 8 SERIALIZATION 4 CPP 3 DOT-NET 3 COMMAND-LINE 2 DNS-RECORDS 2 DOT-NETCORE 2 JSON 2 LINQ 2 OFFICE-PROGRAMMING 2 RAPID-JSON 2 RIBBON-XML 2 WIN32 2 XML 2
.NET1 A-RECORD1 ANONYMOUS-TYPE1 ARRAY1 C-SHARP8 CHOCOLATEY1 CNAME-RECORD1 COMBOBOX1 COMMAND-LINE2 CPANEL1 CPP3 DATABASE1 DIALOGS1 DNS-RECORDS2 DOMAIN1 DOT-NET3 DOT-NET-CORE1 DOT-NETCORE2 EXCEL1 EXCEL-DNA1 FILE-IO1 GENERICS1 GIT1 GIT-HUB1 GIT-HUB-PAGES1 GOOGLE-SEARCH-CONSOLE1 HOSTGATOR1 HUGO1 IMAGE1 INTEROP1 JAMSTACK1 JSON2 LINQ2 LINQ-TO-XML1 LIST1 LISTBOX1 MESSAGE-LOOP1 MFC1 MY-SQL1 OBJECT-MODEL1 OFFICE-PROGRAMMING2 OPEN-XML1 PACKAGE-MANAGER1 PARSING1 PINVOKE1 POST-MESSAGE1 POWERPOINT1 RAPID-JSON2 RIBBON-XML2 SERIALIZATION4 SHELL-API1 TEXTBOX1 UDF1 VISUAL-STUDIO1 VSTO1 WIN322 WINDOWS-API-CODEPACK1 WINDOWS-SERVICE1 XML2 XML-NAMESPACE2 ZIP1
[A~Z][0~9]

Copyright 2020- GOTASK. All Rights Reserved