Latest web development tutorials

VBScript LoadPicture function

VBScript Reference Complete VBScript Reference

LoadPicture function returns an image object.

LoadPicture function that can be recognized graphic formats:

  • bitmap file (.bmp)
  • icon file (.ico)
  • run-length encoded file (.rle)
  • metafile file (.wmf)
  • enhanced metafiles (.emf)
  • GIF files (.gif)
  • JPEG files (.jpg)

Note: This function is only for 32-bit platforms.

grammar

LoadPicture(picturename)

参数 描述
picturename 必需。需被载入的图片文件的文件名。


VBScript Reference Complete VBScript Reference