 hlrLFNSFN SAMPLE.TXT
 ++++++++++++++++++++

 Met deze bibliotheek kan u de korte bestandsnotatie van een bestand terugvinden.

 De belangrijkste eigenschappen zijn:

 - LongFileName, de naam (met pad) van een bestand.
 - ShortFileName, de korte notatie (read-only).

 De belangrijkste methode is Play, waarmee het bestand wordt afgespeeld.

 +++

 With this ActiveX control you can play a WAV file from within your application

 The most important properties are:
 
 - LongFileName, the name (with path) of a file.
 - ShortFileName, the short notation(read-only).
 
 +++

 Put a reference to hlrLFNSFN in your project. If you add a Common Dialog you can put the following code in a button:

 CommonDialog1.ShowOpen
 If Not CommonDialog1.filename = "" Then
    Dim fn As New ShortFileName
    fn.LongFileName = CommonDialog1.filename
    Dim sfn As String
    sfn = fn.ShortFileName
    MsgBox "Selected: " & fn.LongFileName & vbCrLf & " Short: " & sfn
 End If


 Hans Le Roy
 http://come.to/hlr 