InputFileDetected |
Top Previous Next |
Object: EHL7.EHL7Processor FileName: EHL7.dll
EVENT
Name: InputFileDetected Parameters:
Description: When a file is detected in the InboundPath that has the file extension (InboundExtension) this event is fired before any other processing is done.
Example: 'Declare the object Private WithEvents oProcessor As EHL7.EHL7Processor
Private Sub oProcessor_InputFileDetected(strFileName As String, Action As EHL7.EHL7ProcessFileActions) ' Action will be set to ehpProcessFile ' You can change this to ehpArchiveFile and the file will be copied to the Archive folder with no processing ' Or you can change it to ehpDeleteFile and the processor will just delete the file with no processing. End Sub
Related Items: EasyHL7 Events in VB
|