• Welcome to Valhalla Legends Archive.
 

PictureBox

Started by TriCk, August 20, 2003, 06:59 AM

Previous topic - Next topic

TriCk

Language: VB6

Ok here's my problem
I have a skin thing happening, the only part i am having trouble with is loading a "gif"/"bmp" into a picturebox on a form.

To elaborate, i have a file located in:
App.Path & "\skins\" & SkinName & "\main_bottom.bmp"

I've tried various ways to try and load it, first off i tried the most obvious "Picturebox1.Picture = App.Path & "\skins\" & SkinName & "\main_bottom.bmp""

Then tried to do it with ImageList's all were insuccessful, so any help would be very much appreciated!

Thanks
-TriCk

K

You were close.

Picturebox1.Picture = LoadPicture(App.Path & "\skins\" & SkinName & "\main_bottom.bmp")


TriCk