Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

Storing an image in a variable

I would like to be able to do something like

Dim myImage as Image

and then load an image from a file into myImage.
How is this done
0
DennisKeeling
Asked:
DennisKeeling
2 Solutions
 
_agj_Commented:
use an image/picturebox control.

u can then use the loadpicture function to load from a file.
0
 
mladenoviczCommented:
Dim p As IPictureDisp
Set p = LoadPicture("c:\pic.jpg")
Set Picture1.Picture = p
0
 
nichiaCommented:
Dennis?
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now