LoadPicture Function

Office VBScript

Microsoft® Visual Basic® Scripting Edition LoadPicture Function  Language Reference 
Version 2 


Description
Returns a picture object. Available only on 32-bit platforms.
Syntax
LoadPicture(picturename)

The picturename argument is a string expression that indicates the name of the picture file to be loaded.

Remarks
Graphics formats recognized by LoadPicture include bitmap (.bmp) files, icon (.ico) files, run-length encoded (.rle) files, metafile (.wmf) files, enhanced metafiles (.emf), GIF (.gif) files, and JPEG (.jpg) files.