SetNavisionPath

Method
Sets the path to the Navision files.

Category
Initialization

Syntax
Sub SetNavisionPath(Path As String)

Path
The path to the directory containing the Navision installation files.

 

Comments
Normally the C/FRONT library (cfront.dll/cfrontsql.dll) reads the registry in order to locate the Navision DBMS system. However, if multiple Navision systems are installed or if Navision is not present on the system, the function SetNavisionPath should be called with the path to the directory of the Navision installation or to a directory containing the following files from a Navision installation:

dbm.dll
nc_netb.dll

nc_tcp.dll

slave.exe

fin.flf

SetNavisionPath must be called before any other function, but the properties HideError and StopOnAllExceptions can be modified before calling SetNavisionPath.



© 2009 Microsoft Corporation. All rights reserved.