BrowseDir example for Visual Basic

   LEADThumb1.StopOnError = True
   LEADThumb1.Filter = "*.*" 'search for all files
   LEADThumb1.ThumbnailWidth= 150
   LEADThumb1.ThumbnailHeight = 150
   LEADThumb1.ThumbnailBitsPerPixel = 0
   LEADThumb1.MaintainAspect = True
   LEADThumb1.ForceSize = True
   LEADThumb1.ThumbnailBackgroundColor = RGB(255, 0, 0)

   LEADThumb1.LoadStamp = True
   LEADThumb1.Resample = True
   
   LEADThumb1.IncludeSubDirectories = False
   
   LEADThumb1.ExpandMultipage = False
   
   LEADThumb1.MaxSizeDisk = 0 'no filesize limit
   LEADThumb1.MaxSizeMem = 4096000 'set an image size limit
   
   LEADThumb1.DitherFlags = THMB_CRD_STUCKIDITHERING
   LEADThumb1.PaletteFlags = THMB_CRP_FIXEDPALETTE
      LEADThumb1.BrowseDir "G:\Images"