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 (working mechanism of cd-writer)Next Topic (Play Sequential Files WMP10) New Topic New Poll Post Reply
AndreaVB Forum : Multimedia : Loading a DIB into a picturebox
Poster Message
njshaw2
Level: Trainee

Registered: 22-12-2004
Posts: 1

icon Loading a DIB into a picturebox

Hi all,
Can anyone help me - having great difficulty with this.  I have a DIB handle (or can have an HBITMAP handle if desired) passed to me from another application, and want to display this in a picturebox on my form.

I've tried using the DrawDIB functions in gdi32.dll, but DrawDIBDraw either (a) crashes the app, or (b) draws nothing at all.

Any advice welcome.  As I said, I can have either a handle to a DIB, or a handle to an HBITMAP.

Thanks,
Nick.

22-12-2004 at 03:59 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Multimedia : Loading a DIB into a picturebox
Previous Topic (working mechanism of cd-writer)Next Topic (Play Sequential Files WMP10) 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