General downloads

NAV autoupdate through C#

Author
Abhishek Pareek  
Category
General downloads
Date
07/04/2009
Size
90,42 KB
Downloads
2130
MD5 digest
C837DD22FC5482033577072DA54127CC
Rating
54321
Popularity
Downloaded 2 times in the last two weeks
Introduction

This sample application is developed in C# as a library with the project name "ImportFOB". The DLL "ImportFOB.dll" can be used in a C# Windows application to import the Microsoft Dynamics NAV FOBS into NAV without opening the NAV Object Designer. This sample DLL uses the Microsoft runtime COM Interop services. This DLL has functions which can be used to import and export FOB into NAV. The sample Windows application created is used to demonstrate the import functionality without opening and using the NAV Object Designer.
I had developed "ImportFOB" as a library project which can be used in any project as a reference to import and compile NAV FOBS without opening the NAV Object Designer.

For the demo purpose, I have provided a sample Windows application developed in C# to provide a user interface that anyone can use to import the following FOB types to Microsoft Dynamics NAV:
- CodeUnit
- Form
- Report

We can use "ImportFOB.dll" to also develop our own version management system for Microsoft Dynamics NAV.

Scenario 1

If Dynamics NAV is not installed as a database server and if you are using NAV on a PC for testing this sample application, then it is necessary to run the NAV client and open a sample database. In this case, the sample application will automatically connect to the database and will import the desired FOB to NAV.

Scenario 2

If Dynamics NAV is installed as a database server, then it is not required to open the NAV client. The only requirement is that the NAV database server must be running. We will create the DLL in Step 1 and the sample application in Step 2. The Sample application will use the DLL as a reference.

This ImportFOB DLL can connect to a NAV Native database or a NAV Native database server.
Download this file

Screenshots