here is the problem, i got a simple picture viewer prog. which can view pics from folders but this program'll got an error if i choose any file than jpg or jpeg file, i just thought that vb 6 couldnt read other pict file like *.png
*.png is quite used for manga scan (i mean scanned comics), so i just use this code to cover prog error :

Private Sub filImage_Click()

gmbr = filImage.Path & "\" & filImage.FileName

If gmbr Like "%.jpg" Then
imgImage.Picture = LoadPicture(gmbr)
txtNama.Text = gmbr
lblErr.Visible = False
Else: lblErr.Visible = True

End If
End Sub

As expected, this code will make the lblErr contain notes i made always appear wherever i select the file, since theres no file named "%.jpg", how to make it understand what i want it to be?
gmbr in here is variable contain the file we choose in filelistbox
IF the file has *.jpg or *.jpeg extention or any pict file readable by vb THEN
the selected pict file'll be loaded into Image tool
ELSE the lblErr contain notes'll appear.