Griaule Biometrics

Home » Forums » FINGERPRINT SDK » .NET Specific » Add component in form
30 replies [Last post]
alexand81
Offline
Joined: 2010-08-10
Rate this post:
0
No votes yet
Add component in form

Hello Friends

Im´m form Brazil and I´m developing a project usinf fingerprint sdk, I made test using api and I have success.

But I try another teste an I have problems, I´m creating on my application a dynamic form and add same components, for examplo textbox, button, etc. But when I try add GrFingerXCtrl I have a message erro below:

Unable to cast COM object of type 'GrFingerXLib.GrFingerXCtrlClass' to class type 'System.Windows.Forms.Control'. Instances of types that represent COM components cannot be cast to types that do not represent COM components; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface.

this is my code:

Public Function criaForm(ByVal nome As String) As Form
    Dim f1 As New Form
    Dim botao As Button = criarbotao()
    Dim pic As PictureBox = criaPictureBox()
    Dim griaule As GrFingerXCtrl = fingerGriaule()

    f1.Text = nome.ToString
    AddHandler f1.Load, AddressOf Form_Load
    f1.Size = New Size(600, 600)
    f1.Controls.Add(botao)
    f1.Controls.Add(pic)
    f1.Controls.Add(griaule) ''this line show error
    Return f1
  End Function 

Private Function fingerGriaule() As GrFingerXCtrl
    Dim griaule As New GrFingerXCtrl
    Return griaule
  End Function

 

 

 

 

 

 

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

[ENGLISH]

Dear customer,

 

try to look our sample: http://www.griaulebiometrics.com/page/en-us/downloads

There you found our code, then you see where you're missing something.

 

If your problem persists, don't hesitate to contact us.

 

[PORTUGUÊS]

Prezado cliente,

 

tente dar uma olhada em nosso sample: http://www.griaulebiometrics.com/page/en-us/downloads

Lá você encontra nosso código, então você vê onde está esquecendo ou errando algo.

 

Se o problema persistir, não hesite em nos contatar.

 

------------------------------------------------

Davi Stuart Zilli

Griaule Support Team

alexand81
Offline
Joined: 2010-08-10
Rate this post:
0
No votes yet

So. I had looked the sample, but this problem I din´t find the solution. How can I resolve?

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

[ENGLISH]

Which IDE are you using?

Did you import our control GrFingerX?

You're trying to associate something that you can't or wasn't declare.

If you don't find the error, upload your code and send heret he link.

 

[PORTUGUÊS]

Qual IDE você está usando?

Você importou nosso controle GrFingerX direito?

Você está associando algo que você não pode à outra, ou que não foi declarado devidamente.

Se você não encontrar o erro, upload o código e mande o link aqui.

 

--------------------------------------------

Davi Stuart Zilli

Griaule Support team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Hello Friends, I downloaded the SDK from Griaule and example for use in MS Access ...

The reader is working when I use the Griaule Tools, but when I open the application exmplo for MS Access ... He says there is no object in the control and error loading GrFingerxCtrl ... what should I do?

Thank's


Harysohn@hotmail.com

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Dear customer,

What's your operational system?
Which sample are you trying to run?

Try to manually load GrFingerX on your project by dragging the component into the form.
That's the most common issue our customers have.

Best regards,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

 

I'm using Access 2007 and Windows 7 ...
The reference is in the access list of references, but are not in the list of Active X controls .. How do I?
hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

 

Ever tried to register the dll again GrFinger.dll dir suswow64 through cmd regsvr32 but it gave error ...
hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Error in

' Initializing library
err = Form_FormMain.GrFingerXCtrl1.Initialize

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Dear customer,

 

Which error are you having?

Could you send a print screen?

Because  following those steps might solve your problem: http://www.griaulebiometrics.com/page/es/forum/windows-server-2008-x64-compatibility

Or http://www.griaulebiometrics.com/page/pt-br/forum/how-do-i-add-grfingerxlib-library-activex-reference-properties

 

Best regards,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

The license is installed ... The player works ...
Tested on an example of you, the reader FingerprintNetSample.exe worked perfectly, but in the example in MS Access is not working

Prints

 

http://dl.dropbox.com/u/26441349/Erros.rar

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

http://dl.dropbox.com/u/26441349/erro4.jpg

 

When trying to register the dll or lib in syswow64 gives error

lib says the version is not compatible with the system

 

 

 

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Dear customer,

 

You're trying to run a sample that use our Fingerprint SDK 2007, that's not possible because you're probably using our SDK 2009.

In downloads page you can check it: Fingerprint SDK 2007 Access ActiveX

 

And we do not support SDK 2007 anymore.

If you have another doubt, don't hesitate to contact us.

 

Best regards,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

So you no longer have access the example using the 2009?

SDK 2009 no longer serves the terminal to acces, is it?

How am I supposed to implement the access to this feature?

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Dear customer,

 

You can implement it, i.e. our SDK 2009 works with Access, but we do not have this sample.

 

Best regards,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

All I can implement it .. but does not appear in the list of active control x!!
So it appears in the list of references ... How do I ?????

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Prezado cliente,

 

Não consegui entender a sua dúvida.

Poderia escrever em português, por favor?

 

Atenciosamente,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Claro, melhor ainda... Bem eu até posso tentar implantar o SDK 2009 no exemplo que tenho de voces... em access, porem o controle não aparece na lista de controles active x do access... Ele aparece nas referencias, mas não está ativo na lista de controles active x do access..

 

Tentei registrar a dll e a lib no windows 7 mas deu erro... te enviei os prints do erro.. o que fazer então?

 

Saudações

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Prezado cliente,

 

Primeiro vamos tentar registrar o componente e depois o outro problema.

Provavelmente o senhor está especificando a pasta errada do GrFingerX.dll.

 

Exemplo levando em consideração que você usa Windows 7 x64, você deverá registrá-lo assim:

Abra o prompt como Administrador e digite C:\Windows\SysWOW64\regsvr32.exe "C:\Program Files (x86)\Griaule\Fingerprint SDK 2009\bin\GrFingerX.dll" (No caso a dll está na pasta default, mas se tiver em outra, é só mudar o destino do meu exemplo)

Assim ele usará o regsvr32.exe da pasta SysWOW64 para registrar nossa GrFingerX.dll.

 

Se o problema persistir, nos avise.

 

Atenciosamente,

 

Davi Stuart Zilli

Griaule Support Team

 

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Registrou... tentarei implantar...

 

Me diz uma coisa, caso eu consiga o SDK 2007 voce me poderia ajudar a implantá-lo e se sim... como eu faria para comprar a licenca?

 

Grato

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Prezado cliente,

 

Infelizmente não suportamos mais o Fingerprint SDK 2007.

 

Atenciosamente,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Estou encontrando muita dificuldades para postar aqui... aparece a caixa para postar.. mas clico com o mouse e o cursor não fica ativo ...

 

Bem... Consegui fazer funcionar no access... Agora o exemplo para o access, na hora que captura não aparece a digital na tela?

 

Grato

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Amigão como esconder a tela de teste do SKD? a tela do freetrial?

 

se se possivel veja o post a acima

 

Grato

davi.st1
Offline
Joined: 2010-08-26
Rate this post:
0
No votes yet

Prezado cliente,

 

É impossível esconder a popup da licença trial. Mas quando o senhor mudar para licença full, esta tela não será mais exibida.

 

O exemplo disponibilizado é para SDK 2007, o senhor está tentando usar o mesmo sample?

 

Atenciosamente,

 

Davi Stuart Zilli

Griaule Support Team

hpp
Offline
Joined: 2010-11-20
Rate this post:
0
No votes yet

Sim.. ele está lendo.. mas não mostra a digital no form...

mpramos
Offline
Joined: 2008-11-26
Rate this post:
0
No votes yet

Bom dia...

Estou com dúvidas a respeito da dll e não estou conseguindo adiantar...

Seguinte, estou desenvolvendo em VS2010 C# e peguei o exemplo de vcs e roda normal. Em seguida, abri um novo projeto coloquei os mesmos códigos e não funcionou. O que percebei é que no projeto de vcs possui 2 dlls: AxGrFingerXLib e GrFingerXLib. E a única que tenho q fiz o download do SDK, é a GrFingerXLib. Como posso resolver?

m.svol
Offline
Joined: 2010-09-02
Rate this post:
0
No votes yet

Prezado cliente,

Qual é o exemplo que você está utilizando?
É necessário importar apenas GrFingerX.dll no seu projeto, para rodá-lo corretamente, você precisa gerar apenas um objeto.
Iremos avaliar nosso exemplo para ver se há algum problema no mesmo.

Att.,

 

--
Matheus Smythe Svolenski
Griaule Biometrics Support Team 

mpramos
Offline
Joined: 2008-11-26
Rate this post:
0
No votes yet

Boa tarde Matheus!

Estou com exemplo "GrFingerX_CSharpNET2008Consolidation". Como podemo observar, lá possuiem as dlls "Interop.GrFingerXLib.dll" e "AxInterop.GrFingerXLib.dll". Visto que a GrFingerXLib.dll gera "Interop.GrFingerXLib.dll" automaticamente. Só que a "AxInterop.GrFingerXLib.dll" não consegui fazer funcionar. E sendo assim, consigo fazer uma aplicação do zero com essa dll. Este exemplo está correto? Tem algum procedimento para aplicação do zero?

Att.

trinhndth
Offline
Joined: 2012-04-03
Rate this post:
0
No votes yet

I develop the application in Vb.net 2005, use sdk 2009 trial. a build in finger print reader UPEK, by the guide of this webpage, but it does not deteck FP: sensor id: file....

  Help me!

JB
Offline
Joined: 2010-09-15
Rate this post:
0
No votes yet

Dear customer,

 

Install our latest FP SDK and test it (its located on the griaule\bin).

The sensor id comes from a callback function of our library, maybe the driver has not been installed correctly, are you sure the model is supported by the library: http://www.griaulebiometrics.com/en-us/fingerprint_sdk/supported_readers

 

Jan

trinhndth
Offline
Joined: 2012-04-03
Rate this post:
0
No votes yet

Thank alot, app didn't recorgnize my FP Scaner.