help for gflax and tga
Posted: Sun Jan 30, 2011 10:30 pm
Hi,
I try to use gflax on visual Basic 2010.
It's ok but I can't load TGA files
Dim gf As New GflAx.GflAx
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
gf.LoadBitmap("C:\Digital_Fighters_V045B\effets\explo.tga")
PictureBox1.Image = Image.FromHbitmap(gf.GetPicture.Handle).GetThumbnailImage(PictureBox1.Height, PictureBox1.Width, Nothing, Nothing)
End Sub
error : unknow format
it's ok with bmp, png... but not with tga. Can you help me ?
I want also use libgfl but it's impossible to register it. I have try with 334 or 311.
regsvr32 libgfl340.dll
Same message :
Echec de chargement du module. Le module spécifié n'existe pas.
Thank you for your help.
Neoxeo
I try to use gflax on visual Basic 2010.
It's ok but I can't load TGA files
Dim gf As New GflAx.GflAx
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
gf.LoadBitmap("C:\Digital_Fighters_V045B\effets\explo.tga")
PictureBox1.Image = Image.FromHbitmap(gf.GetPicture.Handle).GetThumbnailImage(PictureBox1.Height, PictureBox1.Width, Nothing, Nothing)
End Sub
error : unknow format
it's ok with bmp, png... but not with tga. Can you help me ?
I want also use libgfl but it's impossible to register it. I have try with 334 or 311.
regsvr32 libgfl340.dll
Same message :
Echec de chargement du module. Le module spécifié n'existe pas.
Thank you for your help.
Neoxeo