NAV autoupdate through C#

Administrator
Member, Moderator, Administrator Posts: 2,506
NAV autoupdate through C#
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.
http://www.mibuso.com/dlinfo.asp?FileID=1088
Discuss this download here.
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.
http://www.mibuso.com/dlinfo.asp?FileID=1088
Discuss this download here.
0
Comments
-
Maybe good to know; i don't think it imports and/or exports FOB files, but only object TXT files.
What is the difference with this application except for the sample?
http://www.mibuso.com/dlinfo.asp?FileID=1012
Seems like the same DLL.In a world without Borders or Fences, who needs Windows and Gates?0 -
it allows to import the fobs in text format only.
In this download there are two parts.First one is the dll and second is the c# windows application which is using the dll. The code in the site (gotocal)is not in the form of dll.Please download the application from gotcal and run it then your will found that it will run in the form of windows application to display the contents of fobs in text editor.
In the dll that I had provided although it is using the same concept but it allows any one to reuse it and add their own code wihout reworking.The sample application that I had provided is demonstrating how easily we can use this dll to import the text fobs without opening navision object designer.The dll and sample application is developed in c#.
Thanks,
Abhishek0 -
Some things aren't clear to me...
In oder for the sample application to work, does my nav client needs to be connected to the db & enterprise?
If this is not the case, where do I specify in what db & company I want to import my fob/txt?
Does it work on Nav 2009?0 -
Yes,your client need to be connect to db ,then only this application will import the object to that client.
Thanks,
Abhishek Pareek0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions