May 18

Creating a .NET Assembly, the importance of versioning

Everyone who has ever created a .NET DLL for his NAV project will probably have run into different kind of issues concerning versioning. Either unable to overwrite without stopping the Server Instance Not having the right assembly loaded Having to … Continue reading

Oct 21

Reading from and writing to the Clipboard

Have you ever tried putting something in the clipboard? Well, aside from literally copying or pasting? If you have ever tried something like this in .NET, you might remember, you need to call the functionality in a thread with STA … Continue reading

Oct 07

Using Codeunits as Classes

This time, I’ll present you with another way to use Codeunits in NAV. By using Codeunits as parameters to a function, you can use Codeunits as (sort of .NET) Classes. If you declare different local variables to the same Codeunit, … Continue reading

Sep 17

Load NAV Service DLL for a specific Server Instance

Sometimes, you have multiple NAV Instances installed. When you have multiple installations, with different builds, you cannot use the PowerShell functions for each instance. You could try loading the NavAdminTool.PS1 in the correct NST folder. However, this will probably not … Continue reading

Sep 07

Checking filters through record reference

In some of the “tools” we create, we have a variable way of setting up records which need to be “processed” by our tool. For instance: The tool needs to run for sales orders which are released. For this, we … Continue reading

Aug 26

Creating users with Powershell

We all had our fair share of database we were locked out of, because a user added himself and no other users to a database. In that case, we have 3 options to gain access to the database. One of … Continue reading

Jul 01

Microsoft Connect: Job Queue

I have just posted 2 suggestions on Microsoft Connect about the Job Queue. Extra votes, if you agree, will certainly help getting the attention for it.

Jun 26

Resize Image using DotNet

We have a function to export items and their images to an Excel file using an RDLC report. However, the user was always forced to export in smaller parts, because the dataset was growing too big. After some checking, it … Continue reading

Jun 26

Writing to a blob: heads up

Recently I was creating a function to resize an image. The function itself was resizing the image perfectly, however, my file size was always at least the same size… I think I tried about 8 different pieces of DotNet code, … Continue reading

Apr 07

XMLPort Generator

Recently, I need to import some flat text files into NAV into completely new tables. So first, I created a table containing all the fields in the correct order. Next I had to create an XMLPort to import the values. … Continue reading