# Calling Navision from another program

**URL:** <https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061>\
**Category:** Developers Forum\
**Created:** [June 18, 2005, 10:08am UTC](https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061 "2005-06-18T10:08:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vg2809](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vg2809](https://www.dynamicsuser.net/u/vg2809)\
**Post date:** [June 18, 2005, 10:08am UTC](https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061/1 "2005-06-18T10:08:29Z")

</div>

Is it possible to call NAVISION from say VB / [VB.NET](http://VB.NET) / JAVA and execute a particular Form / Report / Codeunit passing parameters like Database / CompanyName / Object / Object ID or Object Name ?

---

<div class="post-metadata">

**Author:** ![ara3n](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@ara3n](https://www.dynamicsuser.net/u/ara3n)\
**Post date:** [June 18, 2005, 2:15pm UTC](https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061/2 "2005-06-18T14:15:12Z")

</div>

You can use NAS navision application server, using msmq or tcip. There are several ways to do it ,but programatically through COM you cannot. Here is a simple way to do it. I’m assuming you are using sql. Write code in navision to monitor a new table. You’ll insert from outside application what to do in that new table.

---

<div class="post-metadata">

**Author:** ![stryk](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@stryk](https://www.dynamicsuser.net/u/stryk)\
**Post date:** [June 20, 2005, 7:38am UTC](https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061/3 "2005-06-20T07:38:27Z")

</div>

You could take a look at ExpandIT [www.expandit.com](http://www.expandit.com); they have a “Launch Utility” which runs a defined object. The problem with starting NAVISION from “outside” is that you have to pass the Login/Password - that’s done by the “Launch Utility”. Each setting og LU is safed in a INI-file, so you could define a INI for each object you want to run - then LU can be started from command-line with the reqired INI as parameter (or you could edit the relevant parameters within the INI on runtime!?). Regards,

---

<div class="post-metadata">

**Author:** ![vg2809](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vg2809](https://www.dynamicsuser.net/u/vg2809)\
**Post date:** [June 20, 2005, 8:32am UTC](https://www.dynamicsuser.net/t/calling-navision-from-another-program/10061/4 "2005-06-20T08:32:38Z")

</div>

Thanks for providing the info. Of course CFRONT could be used, provided I am aware of the transactions taking place . But LU facility is more helpful since I am only aware of the session to be used and actual transaction entry is left to the user .
