  -   L o a d i n g   a n   I m a g e   w i t h   P r e v i e w   ( W i n d o w s   N T / 2 0 0 0 / X P   o n l y ) : 
 
 { I m a g e _ P a t h } 
 
 S e l e c t 
 
 I n   t h i s   e x a m p l e   w e   a r e   u s i n g   a n   A c t i v e X   ( W i n d o w s   M e d i a   P l a y e r )   t o   s h o w   t h e   i m a g e .   
 
 
 T h e   W i n d o w s   M e d i a   P l a y e r   h a s   t h e   a d v a n t a g e   o f   r u n   a   l o t   o f   k i n d s   o f   i m a g e s   a n d   a l s o   m o v i e s . 
 
 
 T h e   d i s a d v a n t a g e   i s   b y   u s i n g   A c t i v e X   t h e   c o m p u t e r   t h a t   i s   r u n n i n g   t h e   a p p l i c a t i o n   s h o u l d   h a v e   t h e   A c t i v e X   l i b r a r y   i n s t a l l e d . 
 
 
 T o   m a k e   t h e   f i l e   l i s t ,   w e   a r e   c a l l i n g   a   b a t h   c o m m a n d   t h a t   e x e c u t e s   t h e   d i r   f u n c t i o n   o f   t h e   i m a g e   d i r e c t o r y   a n d   s a v e   t h e   r e s u l t   i n   a   f i l e .   T h e   g r i d   r e a d   t h e   f i l e   s h o w i n g   e v e r y t h i n g   t h a t   i s   i n s i d e   t h e   i m a g e   d i r e c t o r y . 
 
 