VendorPath

Top  Previous  Next

Object: EHL7.HL7File

FileName: EHL7.dll

 

PROPERTY

 

Name: VendorPath

DataType: String

Mode: Read/Write

Description: Return/Set the folder where EasyHL7 vendor files are installed.

 

Every system has some key piece of data that is mandatory for it to function correctly.  With database applications it's the connection to the database, with telecommunications systems it's the connection to a modem, with Speech Recognition applications it's the interface with the sound card.  With EasyHL7 it is the VendorPath property.  It is imperative that this property be set correctly for any of the objects to work correctly.

 

*Note: By default upon creation the objects will look in the win.ini file for this folder if you do not supply one.  So if you have previously used the configuration method, the folder will already be set when the object is created.

 

 

Example1:

Dim x As New EHL7.HL7File

x.VendorPath = "C:\EasyHL7"

MsgBox x.VendorPath

MsgBox would show "C:\EasyHL7\"

 

Example2:

Dim x As New EHL7.HL7File

MsgBox x.VendorPath

MsgBox would show the vendor path currently saved in the win.ini.

 

 

Example 3: (see helpful code):

Dim myVendorFolder As String

myVendorFolder = GetWinString("EasyHL7", "VendorPath", "")

MsgBox MyVendorFolder