GoTask
About
Contact
Privacy
Terms
  • C# – VSTO – Extract images from PowerPoint presentation

    Oct 31, 2020 dot-net c-sharp image interop open-xml powerpoint ribbon-xml vsto windows-api-codepack zip

    Background In one of my previous posts, I created a very basic VSTO example that adds a button to the PowerPoint ribbon. Recently, I had a task I needed to enumerate all the pictures in the Power Point presentation and extract them into a zip file. Power Point presentation might contain many different shapes, such as …

    Read More
  • C# – Creating an Excel Addin with User Defined Functions

    Oct 14, 2020 dot-net c-sharp excel excel-dna office-programming ribbon-xml udf

    Background In one of my previous posts, I demonstrated how to create a simple VSTO Addin for Excel that adds a button on the ribbon. In this post, I am going to show how to add a user defined functions using Excel-DNA as well as use the ribbon functionality. My Stack Visual Studio 2019 Community. .NET Framework 4.7.2 …

    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
  • How to set the focus during loading to a control in WinForms

    Apr 16, 2020 c-sharp combobox textbox listbox

    Background Usually when creating forms with different controls, we would like the form be opened with a specific control in focus. This is usually true for Textboxes, but could be also very relevant for other controls such as ComboBox, Radio control, Listbox, and more. There are several ways to achieve this …

    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
  • C# VSTO Addin Sample for Excel, Word, Power Point, Outlook

    Mar 20, 2020 dot-net c-sharp office-programming visual-studio

    Background Microsoft Office provides a variety of component types you could develop to extend its existing functionality or to add more useful features. These components include VBA macros, VSTO components, XLL Addons, and more. In this sample, I will focus on creating a C# VSTO project that displays a simple ribbon. …

    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