Skip to content
Code for Devs
  • Home
  • JavaScript
  • WordPress
  • Excel
  • VBA
  • C#
  • Miscellaneous
  • Contact Us
  • Home
  • C#
  • Page 2

Category: C#

C# Code to Delete Mail After Send from Outlook Sent Item

November 1, 2024November 8, 2024 codef4devs

When you send mail using outlook, you can see that mail in sent Item folder. If you have automated your outlook mail sending process using C#, you can see all your mails in sent item […]

Leave a commentC#Outlook, Outlook Automation

C# – Paste Values as Transpose in Excel

August 16, 2024 codef4devs

Need to paste values as transpose in excel programmatically using C#? This post is going to guide you to do so. What Is Transpose Values in MS Excel? Transpose values in MS Excel is converting […]

Leave a commentC#

Simple Way to Convert XLSX file to CSV file by C#

June 1, 2024June 1, 2024 codef4devs

This article demonstrates the C# code snippet to easily convert excel files to csv files. In this code example, you can define your own desired csv delimiter (comma, semicolon, pipe etc.) To do so, you […]

Leave a commentC#

Get Mail Address of Sender from Outlook Mail Item Object by C#

July 15, 2023November 8, 2024 codef4devs

Here is a C# code example that will help you to find the mail ID of sender from Outlook Mail Item Object. We use SenderEmailType property of Outlook MailItem object to determine the email type […]

Leave a commentC#Outlook, Outlook Automation

Extracting Attachment from Outlook Mail Item using C#

June 19, 2023November 8, 2024 codef4devs

Here is an example C# code that helps you work on attachments in an outlook mail item. You can use Attachments property of Outlook MailItem object for saving attached file in outlook mail item by […]

Leave a commentC#Outlook, Outlook Automation, Outlook C#

How to Programmatically Read Outlook Inbox Mail using C#

May 29, 2023November 8, 2024 codef4devs

This article describes how to create a C# program that reads mails from your outlook inbox. You can do this using the Microsoft.Office.Interop.Outlook.dll. Here is the step by step procedure of creating automation of reading […]

Leave a commentC#Outlook, Outlook Automation, Outlook C#

How to Open Password Protected Excel File using C#

May 28, 2023May 28, 2023 codef4devs

Are you developing a C# program that automates the password protected excel file? You might be in irritative situation as when your excel file is opened by C# code, it will prompt you to enter […]

Leave a commentC#

Export C# DataTable to MS Excel

November 20, 2022November 20, 2022 codef4devs

Here, in this post, we are going to show you an C# code example of exporting a C# datatable data to MS Excel with headers. Step1: Add reference to Microsoft Excel Interop in your application. […]

Leave a commentC#

How to Get All Files Available in a Directory By C#

October 21, 2022October 18, 2022 codef4devs

This post shows an example of listing name of all files with extension, available in a folder. We need to import System.IO namespace in our program and Directory.GetFiles() method helps you to get the list […]

Leave a commentC#

Creating A Directory by C# Code

October 19, 2022October 18, 2022 codef4devs

In this post, we will demonstrate an example of creating a directory by using C# code. For creating a directory in file system, you need to import System.IO namespace in program and CreateDirectory() method of […]

Leave a commentC#

Posts navigation

Previous 1 2 3 4 Next

Categories

  • C#
  • Excel
  • JavaScript
  • Miscellaneous
  • MySQL
  • Python
  • VBA
  • WordPress

Recent Posts

  • Python: Send Email from Outlook with Attachment
  • How to Add Checkbox in DataGridView in C# Windows Form Application
  • List of Free Classified Ads Posting Sites in the USA in 2025
  • C# Code to Run Command on Windows CMD
  • 10 Most Commonly Used String Methods in C#
Copyright © All rights reserved.