Just tell me how to do this..
Make a picture variable
Store a picture from a file in the Hdrive
Put the picture onto the screen from the var..
Thanks!
Printable View
Just tell me how to do this..
Make a picture variable
Store a picture from a file in the Hdrive
Put the picture onto the screen from the var..
Thanks!
Picture Varible
:)Code:Public Yourvar as IPictureDisp
---------------------------------------
Store a Picture from HD
:)Code:Set Yourvar = LoadPicture("Picture_Name")
---------------------------------------
Put the Picture onto the screen from the var
What do you mean by that? Can you express it more clearly?:confused:
I loaded a picture with that code and
it said the object does not support
that method.. being the IpictureDisplay
controll does not have the Picture
property.
I then tried the property of HPal
and then I got error 91
Thanks.
He didn't say IPictureDisplay he said IPictureDisp
I have found it next to impossible loading graphics on the "inside" by creating your own variables be they in this format or in StdPicture format.
The best way I have found is to place a PictureBox on your form that is always invisible and use that.
Not really. PicBoxes and Image Ctls cost a ton of memory, so I'd recommend against using them for heaven's sake if you want speed over ease.
Evan - I abbreviate names and these things, but I NEVER abbreviate code, so you don't have to figure out what it really is.
Oh, and :confused:Where did you get the idea of HPal?
I was just tried different
ways to store a picture
with that ctrl.
:)
:rolleyes:
OK, just making sure you understood that.