How to send an email using C# and SmtpClient
When you need to send an email using C#, you can use SmtpClient. Note that SmtpClient is obsolete.
When you need to send an email using C#, you can use SmtpClient. Note that SmtpClient is obsolete.
Here’s an introduction on how to use the Tracing cockpit and the Trace Parser to analyze performance in Microsoft Dynamics AX. Choose a small scenario to trace. Go through the scenario at least once to warm up AX. Open Tracking cockpit. Click Start trace and enter a file to save the trace. Go through your … [Read more…]
I wrote a class that reads an Excel file using Microsoft.Office.Interop.Excel. I stumbled on an issue. When the code is running in a unit test, the file can be read. When the code is running in a Windows service, the file can’t be accessed. I googled service processes failed: Microsoft Excel cannot access the file. … [Read more…]
You can allow a user to select multiple records in a form. Here’s a snippet of code that can be use to loop through the selected records. Related & recommended Content Multiselection Design Pattern [AX 2012]
Text highlighting, line highlighting, and brace matching are useful features in a code editor. Here’s how to add those functionalities in the X++ editor: Download Microsoft Dynamics AX 2012 X++ Editor Extensions Copy files in C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\EditorComponents Run JAEE.AX.EditorExtensions.EditorSettingsForm.exe to configure the extension Restart AX client The X++ editor should display something … [Read more…]