Example for Loading Journals

The following example loads the journals and templates in a load file.

Dim cJournalLoadACV As HsvJournalLoadACV
Dim cOptions As IHsvLoadExtractOptions, cOpt As IHsvLoadExtractOption
Set cJournalLoadACV = New HsvJournalLoadACV
'Specify the HsvSession object for the application.
cJournalLoadACV.SetSession g_cHsvSession
'Initialize the IHsvLoadExtractOptions interface.
Set cOptions = cJournalLoadACV.LoadOptions
'Load the Journals
cJournalLoadACV.Load "c:\Acme\MyApp.jlf", "c:\Acme\MyApp.log"