Click here to Skip to main content
16,004,901 members
Home / Discussions / COM
   

COM

 
GeneralCreate GUID from string Pin
Kri58-Jun-05 4:17
Kri58-Jun-05 4:17 
GeneralRe: Create GUID from string Pin
Anonymous9-Jun-05 1:00
Anonymous9-Jun-05 1:00 
GeneralGet Control ID from ActiveX button Pin
MailtoGops6-Jun-05 5:52
MailtoGops6-Jun-05 5:52 
GeneralRe: Get Control ID from ActiveX button Pin
Veera Raghavendra17-Jun-05 19:08
Veera Raghavendra17-Jun-05 19:08 
GeneralRe: Get Control ID from ActiveX button Pin
MailtoGops22-Aug-05 0:25
MailtoGops22-Aug-05 0:25 
GeneralDistributed Transaction Error Pin
janlala5-Jun-05 0:10
janlala5-Jun-05 0:10 
QuestionIDispacth, ADORecordset and properties loss?!? Pin
almc3-Jun-05 0:53
almc3-Jun-05 0:53 
General Acessing ActiveX Component Interfaces/ Library not registered Pin
Florian Storck1-Jun-05 23:13
Florian Storck1-Jun-05 23:13 
Hi there,

I've some problems accessing my ActiveX control from a VBScript/JScript. The control can be successfully initialized and acessed via the <object> tag.
The problem is, that I've to retrieve additional objects/interfaces from the control, which are all defined in the typelib embedded in the control. This looks somehow like this:

var ObjInst = new Object;

    // returns another IDispatch interface of an internal object
    ObjInst = Control.GetInstance();

    // creates a "Library not registered" error
    ObjInst.Method();


Because everythings working fine from CPP/VB when compiling, I would like to know, whether I have to register or reference the typelib somehow in the html code or somewhere else, or whatever may cause this error. I can view the typelib in the OLE viewer supplied with visual studio, so the registration can't be that faulty in my opinion. My thoughts were, that acessing a reference to a IDispatch interface should be generally no problem in JScript/VBScript.

Thanks for any suggestions.


Florian
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
lemur21-Jun-05 23:25
lemur21-Jun-05 23:25 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
Florian Storck1-Jun-05 23:34
Florian Storck1-Jun-05 23:34 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
Florian Storck2-Jun-05 0:12
Florian Storck2-Jun-05 0:12 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
lemur22-Jun-05 21:58
lemur22-Jun-05 21:58 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
Florian Storck2-Jun-05 23:34
Florian Storck2-Jun-05 23:34 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
Jörgen Sigvardsson17-Jun-05 22:06
Jörgen Sigvardsson17-Jun-05 22:06 
GeneralRe: Acessing ActiveX Component Interfaces/ Library not registered Pin
Florian Storck19-Jun-05 21:03
Florian Storck19-Jun-05 21:03 
GeneralLocking Display Of ActiveX Control Pin
AntonioKeh31-May-05 14:47
AntonioKeh31-May-05 14:47 
GeneralAxShockwaveFlashObjects.AxShockwaveFlash Flashvars Pin
davidhart31-May-05 3:59
davidhart31-May-05 3:59 
QuestionHow to write IE toolbar without ATL (on win32API)? Pin
Anonymous30-May-05 9:53
Anonymous30-May-05 9:53 
AnswerRe: How to write IE toolbar without ATL (on win32API)? Pin
Andy Moore6-Jun-05 8:03
Andy Moore6-Jun-05 8:03 
General&quot;No such interface supported&quot; returned from CoCreateInstance on successful IClassFactory-&gt;CreateInstance Pin
T-Wilson28-May-05 4:26
T-Wilson28-May-05 4:26 
GeneralMS Excel COM Interface description Pin
rantotiaray27-May-05 4:06
rantotiaray27-May-05 4:06 
GeneralVariants Pin
ursus zeta28-May-05 8:18
ursus zeta28-May-05 8:18 
GeneralRe: MS Excel COM Interface description Pin
Veera Raghavendra17-Jun-05 19:35
Veera Raghavendra17-Jun-05 19:35 
GeneralWMI and COM Pin
macakd24-May-05 12:54
macakd24-May-05 12:54 
GeneralRe: WMI and COM Pin
Member 19404227-Jun-05 3:55
Member 19404227-Jun-05 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.