borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (using windows picture and fax viewer on my vb application)Next Topic (Draw TEXT ONTO Fullscreen 3d game) New Topic New Poll Post Reply
AndreaVB Forum : Multimedia : Help using image list
Poster Message
ryansanders2002
Level: Big Cheese

Registered: 26-10-2004
Posts: 21

icon Help using image list

I have an imagelist full of pictures i want to use in my program by placing the images into picture boxes.

I have picIcon = Imagelist1.listimages(1)

when i execute this i am told i have an invalid image. How do I make this work on VB6?

Thank you,
Ryan

26-10-2004 at 02:37 AM
View Profile Send Email to User Show All Posts | Quote Reply
steve_w
Level: Moderator


Registered: 18-04-2003
Posts: 1159
icon Re: Help using image list

Hi Ryan

Try this

set picIcon.picture = Imagelist1.listimages(1).Picture


Steve




[Edited by steve_w on 26-10-2004 at 08:49 AM GMT]

26-10-2004 at 08:46 AM
View Profile Send Email to User Show All Posts | Quote Reply
ryansanders2002
Level: Big Cheese

Registered: 26-10-2004
Posts: 21
icon Re: Help using image list

Code works pefectly

Thanks,
Ryan

26-10-2004 at 08:58 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Multimedia : Help using image list
Previous Topic (using windows picture and fax viewer on my vb application)Next Topic (Draw TEXT ONTO Fullscreen 3d game) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder