D.Hadi
unread,Aug 17, 2009, 5:51:09 AM8/17/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ff-activex-host
the following script work fine in IE but in ff & chrome
objNBioBSP.Device & objNBioBSP.Extraction is always 'undefined'
var objNBioBSP = document.getElementById("nbiobsp");
var objDevice = objNBioBSP.Device;
var objExtraction = objNBioBSP.Extraction;
i've tried using objNBioBSP.Device() but got error "objNBioBSP.Device
() is not a function"
below is the type definition from oleview
[
uuid(F66B9251-67CA-4D78-90A3-28C2BFAE89BF),
helpstring("NBioBSP Class")
]
coclass NBioBSP {
[default] interface INBioBSP;
[default, source] dispinterface _INBioBSPEvents;
};
[
odl,
uuid(4511B19F-37BC-437B-B18E-2106A9AF7083),
helpstring("INBioBSP Interface"),
dual,
oleautomation
]
interface INBioBSP : IDispatch {
[id(0x00000001), propget, helpstring("property ErrorCode")]
HRESULT ErrorCode([out, retval] long* pVal);
[id(0x00000002), propget, helpstring("property
ErrorDescription")]
HRESULT ErrorDescription([out, retval] BSTR* pVal);
[id(0x00000003), propget, helpstring("property Device")]
HRESULT Device([out, retval] VARIANT* pVal);
[id(0x00000004), propget, helpstring("property Extraction")]
HRESULT Extraction([out, retval] VARIANT* pVal);
[id(0x00000005), propget, helpstring("property Matching")]
HRESULT Matching([out, retval] VARIANT* pVal);
[id(0x00000006), propget, helpstring("property FPData")]
HRESULT FPData([out, retval] VARIANT* pVal);
[id(0x00000007), propget, helpstring("property FPImage")]
HRESULT FPImage([out, retval] VARIANT* pVal);
[id(0x00000008), propget, helpstring("property NSearch")]
HRESULT NSearch([out, retval] VARIANT* pVal);
[id(0x00000009), propget, helpstring("property
CheckValidityModule")]
HRESULT CheckValidityModule([out, retval] long* pVal);
[id(0x0000000a), propget, helpstring("property MajorVersion")]
HRESULT MajorVersion([out, retval] BSTR* pVal);
[id(0x0000000b), propget, helpstring("property MinorVersion")]
HRESULT MinorVersion([out, retval] BSTR* pVal);
[id(0x0000000c), propget, helpstring("property BuildNumber")]
HRESULT BuildNumber([out, retval] BSTR* pVal);
[id(0x0000000d), helpstring("method SetSkinResource")]
HRESULT SetSkinResource(BSTR bszSkinPath);
[id(0x0000000e), propget, helpstring("property IndexSearch")]
HRESULT IndexSearch([out, retval] VARIANT* pVal);
};
any help is appreciated.
regards
dhadi