469,626 Members | 1,065 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

Fingerprint ActiveX

i'm building a web app for capture fingerprints with a suprema SFR300
sensor. The sdk is not an activex, is a dll and wrappers in .NET for access
dll. I need to build an activex that enable the capture in an aspx page.
Where can i find information about it or how can i do this?

Thanks a lot!!!

Feb 26 '08 #1
4 5405
You'll want to read about exposing C# objects to COM. Unfortunately, while
..NET has pretty good support for wrapping an ActiveX control in C#, it
doesn't go the other way very easily. Unless you can find a library out
there that does this already, you'll have to implement all the ActiveX
interfaces by hand, I believe. There are something like 20 interfaces
(IOleObject, IOleInPlaceObject, IOleControl, IDataObject, IViewObject2,
IConnectionPointContainer, etc...) for an ActiveX control.

I also believe I read something somewhere about .NET not being able to host
controls in ActiveX containers. I don't know what the specific problems are,
so it may not even be possible. At the very least, it is certainly a
non-trivial task.

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:D9**********************************@microsof t.com...
i'm building a web app for capture fingerprints with a suprema SFR300
sensor. The sdk is not an activex, is a dll and wrappers in .NET for
access dll. I need to build an activex that enable the capture in an aspx
page. Where can i find information about it or how can i do this?

Thanks a lot!!!

Feb 26 '08 #2
Thanks Fredo, but i really need do that. Where can i find information about
it, MSDN is not a very explicit about it and i don't see any example.

Thanks

"Fredo" <fr***@hotmail.comescribió en el mensaje de noticias
news:6p******************************@giganews.com ...
You'll want to read about exposing C# objects to COM. Unfortunately, while
.NET has pretty good support for wrapping an ActiveX control in C#, it
doesn't go the other way very easily. Unless you can find a library out
there that does this already, you'll have to implement all the ActiveX
interfaces by hand, I believe. There are something like 20 interfaces
(IOleObject, IOleInPlaceObject, IOleControl, IDataObject, IViewObject2,
IConnectionPointContainer, etc...) for an ActiveX control.

I also believe I read something somewhere about .NET not being able to
host controls in ActiveX containers. I don't know what the specific
problems are, so it may not even be possible. At the very least, it is
certainly a non-trivial task.

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:D9**********************************@microsof t.com...
>i'm building a web app for capture fingerprints with a suprema SFR300
sensor. The sdk is not an activex, is a dll and wrappers in .NET for
access dll. I need to build an activex that enable the capture in an aspx
page. Where can i find information about it or how can i do this?

Thanks a lot!!!

Feb 26 '08 #3
Well, then for information about how to implement an ActiveX control, you
can start here:

http://msdn2.microsoft.com/en-us/lib...71(VS.85).aspx

This will get you started on implementing COM servers in C#:

http://msdn2.microsoft.com/en-us/lib...38(VS.71).aspx

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:73**********************************@microsof t.com...
Thanks Fredo, but i really need do that. Where can i find information
about it, MSDN is not a very explicit about it and i don't see any
example.

Thanks

"Fredo" <fr***@hotmail.comescribió en el mensaje de noticias
news:6p******************************@giganews.com ...
>You'll want to read about exposing C# objects to COM. Unfortunately,
while .NET has pretty good support for wrapping an ActiveX control in C#,
it doesn't go the other way very easily. Unless you can find a library
out there that does this already, you'll have to implement all the
ActiveX interfaces by hand, I believe. There are something like 20
interfaces (IOleObject, IOleInPlaceObject, IOleControl, IDataObject,
IViewObject2, IConnectionPointContainer, etc...) for an ActiveX control.

I also believe I read something somewhere about .NET not being able to
host controls in ActiveX containers. I don't know what the specific
problems are, so it may not even be possible. At the very least, it is
certainly a non-trivial task.

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:D9**********************************@microso ft.com...
>>i'm building a web app for capture fingerprints with a suprema SFR300
sensor. The sdk is not an activex, is a dll and wrappers in .NET for
access dll. I need to build an activex that enable the capture in an
aspx page. Where can i find information about it or how can i do this?

Thanks a lot!!!


Feb 26 '08 #4
Thanks!

"Fredo" <fr***@hotmail.comescribió en el mensaje de noticias
news:t5******************************@giganews.com ...
Well, then for information about how to implement an ActiveX control, you
can start here:

http://msdn2.microsoft.com/en-us/lib...71(VS.85).aspx

This will get you started on implementing COM servers in C#:

http://msdn2.microsoft.com/en-us/lib...38(VS.71).aspx

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:73**********************************@microsof t.com...
>Thanks Fredo, but i really need do that. Where can i find information
about it, MSDN is not a very explicit about it and i don't see any
example.

Thanks

"Fredo" <fr***@hotmail.comescribió en el mensaje de noticias
news:6p******************************@giganews.co m...
>>You'll want to read about exposing C# objects to COM. Unfortunately,
while .NET has pretty good support for wrapping an ActiveX control in
C#, it doesn't go the other way very easily. Unless you can find a
library out there that does this already, you'll have to implement all
the ActiveX interfaces by hand, I believe. There are something like 20
interfaces (IOleObject, IOleInPlaceObject, IOleControl, IDataObject,
IViewObject2, IConnectionPointContainer, etc...) for an ActiveX control.

I also believe I read something somewhere about .NET not being able to
host controls in ActiveX containers. I don't know what the specific
problems are, so it may not even be possible. At the very least, it is
certainly a non-trivial task.

"Mario Cerón Charry" <ma******@hotmail.comwrote in message
news:D9**********************************@micros oft.com...
i'm building a web app for capture fingerprints with a suprema SFR300
sensor. The sdk is not an activex, is a dll and wrappers in .NET for
access dll. I need to build an activex that enable the capture in an
aspx page. Where can i find information about it or how can i do this?

Thanks a lot!!!


Feb 26 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by lewixlabs | last post: by
23 posts views Thread by Roel Melchers | last post: by
1 post views Thread by Roel Melchers | last post: by
3 posts views Thread by Javier Camacho | last post: by
8 posts views Thread by Jon Vaughan | last post: by
reply views Thread by durumdara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.