General downloads

Navision Automation library v1.0

Author
Dick Marinus  
Category
General downloads
Date
13/07/2010
Size
70,1 KB
Downloads
1708
MD5 digest
836572B042E834E6F797E02F2DF780E9
Rating
54321
Popularity
Downloaded 3 times in the last two weeks
Navision Automation library to use IObjectDesigner, IAppBase, IHyperLink monikers (from RunningObjectTable).

This library can be used to import/export objects, access data and open hyperlinks from any application (JavaScript/PowerShell/Python/VBScript/VB etc)

To use this library first use:
regsvr32 navisionautomation.dll

Then you can use (i.e.) Power Shell to access navision:

C:\> $na = new-object -com NavisionAutomation.1

C:\> $rot = $na.RunningObjectTable

C:\> $rot.names
lists all instances

C:\> $objectdesigner = $rot.ObjectDesigner(1)
get objectdesigner instance (index 1 in runningobjecttable)

C:\> $strm = $objectdesigner.ReadObject(1,18)
get stream for table (=1) object (=18)

C:\> $strm.seek(0,0)
Start at position 0

C:\> $strm.Read($strm.Size())
Read Object
Download this file