Page 1 of 1

GFL_SDK and VB.NET

Posted: Sun Apr 09, 2006 2:56 pm
by JR
Has anyone worked on getting this control to work with VB.NET? I can't even get the it to load an image into a picturebox.

Ctrl = New GflAx.GflAx

With Ctrl
.LoadBitmap(My.Application.Info.DirectoryPath & "\image.jpg")
Picture1.Image = .GetPicture
End With

Posted: Tue Jul 11, 2006 12:17 pm
by Mowen
I was looking for it too. And I found it. The correct syntax to use with VB.net is:

Code: Select all

PictureBox1.Image = Image.FromHbitmap(Ctrl.GetPicture.Handle)
Works great for me in VB.Net 2005