Category "c++sharp"

Performance penalty when using fluent interface

I am an absolute beginner when it comes to MongoDb. Just joined a new project where it is used, so I tried to do few experiments to get myself familiar. I got t

Get sub messages from Outlook .msg files

I need to parse a few .msg files which have trail mails. Is there any way to get the sub messages and identify the initiated and the responded emails. I do not

How to add images from resources folder as attachment and embed into outlook mail body in C#

I have a couple of images stored in visual studio project Resources folder, and I have to load them and display on the outlook mail body. Here it is the code:

Do I need to worry about if data is stored in the Stack or Heap in .NET? [duplicate]

I've gotten used to the memory management of C++ and having to consider if data should be stored in the Stack or Heap though coming back to C#

VSTO Addin Outlook Appointment delete and write event fired only if opened first

I am working on an Outlook Addin where I try to perform a specific action if deleted. It works fine with all the appointments that I have already opened once. W

Entities wrong when importing multiple DXF files

I have 3 different BlockTableRecord's that I want to update. I am loading external .dxf files that contain the entities for each block definition. Now when I de

Inheritance of a .Net interface in C#: How to access base members

Inheritance of a .Net interface: How to access to base properties I want to create my own category class inherited from Microsoft.Office.Interop.Outlook.Catego

Inno Setup - External .NET DLL with dependencies

I am trying to use a custom DLL in a Inno Setup script during installation. I wrote a very simple function that basically checks a connection string for a MySQL

Is it possible to detect Windows dark mode on winforms application?

I am developing a winforms application using all those flat style options, and it makes the application look a lot like Win10 applications, so I was wondering i

How do you keep .NET XML parsers from expanding parameter entities in XML?

When I try and parse the xml below (with code below) I keep getting <sgml>&question;&signature;</sgml> expanded to <sgml>Why could

How to solve the error that prevents clickonce app to start

BACKGROUND: I'm having a problem with a ClickOnce WindowsForms NET 4.8 App that now is composed of a Solution with 2 projects. All began after auto generated ce

ASP.NET Web API Google OAuth keep return "Access Denied"

I need to integrate my ASP.NET Web API with Google and Facebook OAuth. I was following all the steps from https://bitoftech.net/2014/08/11/asp-net-web-api-2-ext

Displaying .ply Point Cloud in C# using Helix-Toolkit

I'm trying to create a Point Cloud from a .ply File which holds vertices (v x y z r g b) and their color recorded from a Kinect v2. What I've tried so far: At

How to change WPF Rectangle Style Programatically

[EDIT] *I had forgotten to include the Exception returned 'System.Windows.Style' is not a valid value for property 'Fill'* This is my first post, I've alread

Create EXCEL from html table using C#

I am trying to create an excel sheet for shipping products using C# and HTML table. The image shown below is my HTML as it looks in the browser. What I am tryin

How to delete an email account ( one added in Tools->Account Settings -> Email) through C#

I tried to delete the root folder associated with an email account using Outlook Namesapce's Remove Store method but it throws an error saying it is associated

RabbitMQ Sample not working in WPF

I'm trying to use rabbitMQ under a WPF application.I've followed the sample that are present on rabbitmq site. The sender is a console application that does

Why are numbers with many significant digits handled differently in C# and JavaScript?

If JavaScript's Number and C#'s double are specified the same (IEEE 754), why are numbers with many significant digits handled differently? var x = (long)123412

Set a custom "forwarded" message to Mail Item via VSTO Outlook 2013 Plugin

I am developing a VSTO Plugin for Outlook 2013 (or higher) that allows users to forward mail contents and sender/recipient data to some other program. The sendi

Swashbuckle and Web Api method with ModelBinder

I have a C# WebAPI project with a method that uses a custom ModelBinder for its input parameter. When I look at the Swagger UI that Swashbuckle generates, rathe