Browse by Tags

  • Blog Post: Working with SQL Server through .NET Interop

    The Upgrade Toolkit objects that shipped with Microsoft Dynamics NAV 2013 have a good example of code that works directly with SQL Server through the .NET Framework library. On the product media, navigate to this location: ..\UpgradeToolKit\Data Conversion Tools\601\ Import the Upgrade 601700.2...
  • Blog Post: Add attachment stream on SMTP not always working

    This week I did work on a support case where the partner mentioned that adding an attachment from a stream does not always work. The partner delivered a code unit that we used to further analyze the issue. As it was not necessary to further develop a fix for this, we decided to just post the outcome...
  • Blog Post: Reading and Writing Unicode Files using C/AL

    Hello, We have had some partner suggestion for adding Unicode capabilities to the existing Microsoft Dynamics NAV File functions. What we recommend is to use .NET Interop to achieve this functionality. For example, you can use an instance of the System.IO.StreamWriter class to write to an OutStream...
  • Blog Post: Let NAV BEEP! (with .NET Interop and Microsoft Dynamics NAV 2009 R2)

    It is known that in Role Tailored Based environment BEEP C/AL function is not supported. http://msdn.microsoft.com/en-us/library/dd301405.aspx This simple blog is based on SystemSounds Class from System.Media namespace http://msdn.microsoft.com/en-us/library/ms143809.aspx My Ingredients ...
  • Blog Post: Currency Exchange Rates from RSS (using .NET Interop)

    This great blog post from Bardur Knudsen ( Currency Exchange Rates from RSS ) sounded to me like an invitation to extend it using .NET interop variables with Microsoft Dynamics NAV 2009 R2 based on System.XML namespace. http://msdn.microsoft.com/en-us/library/system.xml(v=VS.80).aspx Attached to...
  • Blog Post: Commerce Gateway with Isolated Hosts and Biztalk 2010

    The following error may be encountered processing an XML document in the receive pipeline when using Commerce Gateway with Biztalk 2010 and Visual Studio 2010: There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version...
  • Blog Post: Getting Started with an Add-in Assembly for Microsoft Dynamics NAV 2009 R2

    One of the new key features for Microsoft Dynamics NAV 2009 R2 is the interoperability extension with the .NET Framework, also called the DotNet interop feature. This feature allows the AL code to call out to .NET types and use the exposed methods and properties. The types can be system types installed...
  • Blog Post: How to change thousands/decimals separators in RDL reports

    In "old good classic" NAV we have feature (and property) named AutoFormatType. Together with property AutoFormatExpr we can set decimal to any format we need. This could be done in the way: we describe new AutoFormatType in the codeunit 1 in function "AutoFormatTranslate(AutoFormatType : Integer;AutoFormatExpr...
  • Blog Post: Manage Files in RTC WITHOUT using FILE virtual table. (with .NET interop and NAV 2009 R2)

    In this blog you will find attached a very simple usage of .NET interoperability with Dynamics NAV 2009 R2 with the objective of basic file management (move, copy, open, delete) WITHOUT using the FILE virtual table and is intended just to familiarize with this brand new feature proposed with NAV 2009...
  • Blog Post: Let NAV Speak! (with .NET Interop and NAV 2009 R2)

    In this blog is described a very simple usage of the .NET interoperability feature with Microsoft Dynamics NAV 2009 R2 and can be considered an extension of my previous blog: http://blogs.msdn.com/b/nav/archive/2010/07/09/let-nav-speak-with-a-simple-and-useful-client-add-in.aspx . It is intended just...
  • Blog Post: .NET Interoperability in NAV 2009 R2

    The greatest development platform in the world meets the greatest set of functional libraries, types, methods, and properties as Microsoft Dynamics NAV 2009 R2 allows developers to take advantage of the Microsoft .NET Framework! With NAV 2009 R2, you can reference external .NET components and make use...
  • Blog Post: Compatibility Update with Microsoft SQL Server 2008 R2 and Microsoft Visual Studio 2010

    A couple of big Microsoft products shipped recently, so time for an NAV compatibility update. Microsoft SQL Server 2008 R2 We are proud to announce that both Microsoft Dynamics NAV 5.0 SP1 Update 2 and Microsoft Dynamics NAV 2009 SP1 are compatible with Microsoft SQL Server 2008 R2! We will...
  • Blog Post: How to manage NAV DBCS data using C#

    It is known that NAV CC (Classic Client) does not support natively DBCS (Double-Byte Character Set) and so does the new NAV 2009 RTC (Role Tailored Client). Due to differences in how the CC and RTC check the code page isn’t still possible to enable DBCS in the RTC but this is possible for the CC by...
  • Blog Post: The physical location of .net components

    The virtual table 2000000046 "Automation Server" shows you the physical location of the automation servers (.dll file). But a .net component is not an automation server, so is not listed here. One of the main benefits of .net is exactly to be able to copy and paste files, keep installations simple, and...
  • Blog Post: Automation Objects in Microsoft Dynamics NAV 2009

    Overview The Automation object is often used to integrate NAV business logic with external processes and thereby extend the functionality of the product, such as integration with other products like Office. Automation objects must expose a COM interface, and every time we cross a process boundary...
  • Blog Post: NAV and the .Net Garbage Collector

    Many NAV solutions, including internal ones, have the necessity to use .Net as a supplement of NAV technology, in order to complete their logic; however, dealing with managed and unmanaged world takes some extra challenges, especially when the managed code uses unmanaged resources. This is further important...
Page 1 of 1 (16 items)