Opening Multiple Documents
Dim btFormats As Documents = btEngine.Documents
Dim btFormatPath As String = previewPath & "\*.btw"
btFormats.Open(btFormatPath)
For Each btFormat As LabelFormatDocument In btFormats
lstlabels.Items.Add(btFormats.Count)
next btformat
The output from the bit of code above is "1"
I am using the Temp Directory previewPath to hold copies of 4 label formats. I then attempt to load all 4 formats using the code above. I then attempted to verify if all 4 formats were open and the result was "1" . I also attempted to list the baseName of the files opened but only got 1 result.
Is there somthing wrong with my syntax etc?
0
-
The Documents class does not seem to work the way I thought (batch load based on directory path). I've since looped through my list of labels to open them. :rolleyes:
0
Please sign in to leave a comment.
Comments
1 comment