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
GFL_SDK and VB.NET
Moderators: helmut, XnTriq, xnview
I was looking for it too. And I found it. The correct syntax to use with VB.net is:
Works great for me in VB.Net 2005
Code: Select all
PictureBox1.Image = Image.FromHbitmap(Ctrl.GetPicture.Handle)