Page 1 of 1

GflaX with VB.NET project ?

Posted: Mon Jan 17, 2005 9:57 am
by ImageViewer
I tried to use Gflax in a VB.Net project (with Visual Studio .NET 2003). I imported it as COM component in the references. It's OK, I can access to all functions, but I've got an exception when the program is executed :

The COM object is not valid or not registered
(french translation of "L'objet COM avec le CLSID {A8F57566-79B7-48F3-B439-979373CFFF94} n'est pas valide ou n'est pas inscrit.")

Code: Select all

Private Sub ProcessFile(ByVal p_completepath As String, ...)
        Dim Ctrl As GflAx.GflAx
        Ctrl = New GflAx.GflAx

        With Ctrl
            .LoadBitmap(p_completepath) 
                     ...
Did I miss something in the installation of the library, is it possible to use gflax with VB.Net ?

I'm a beginner in "Windows" programmation (2 weeks) and rather experienced in Linux. But I tried to initiate myself at Microsoft World development. So if someone can help me ?!

Sorry

Posted: Mon Jan 17, 2005 10:48 am
by ImageViewer
Oups ...

the dll wasn't registered ! I thinked It was as Gflax was listed in the COM components (when importing a reference)

It seems to work now ! I can test your library which sounds very good !