Valhalla Legends Forums Archive | Visual Basic Programming | PictureBox

AuthorMessageTime
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
August 20, 2003, 11:59 AM
K
You were close.
[code]
Picturebox1.Picture = LoadPicture(App.Path & "\skins\" & SkinName & "\main_bottom.bmp")[/code]
August 20, 2003, 1:28 PM
TriCk
Thanks ;D
August 20, 2003, 9:54 PM

Search