Re: ATL COM in .exe (2)

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 11/04/04


Date: Thu, 4 Nov 2004 09:52:23 -0500


"Black Banana" <my.fake@mail.net> wrote in message
news:%23YC2ZbkwEHA.2908@tk2msftngp13.phx.gbl
> Thank you very very much. However, I have small issue with calling
> my COM object from JScript (in HTML). I have this code:
>
> var ws = new ActiveXObject("MyCOM.1");
> var a = ws.verify("Something");
>
> On the second line I got JScript error "Library not registered".
> The error occur on the second line, not on the first. This is my
> verify() func in IDL:
>
> [id(1), helpstring("method verify")] HRESULT verify([in] BSTR xml,
> [out,retval] short *error);

Show the declaration of your C++ class.

-- 
With best wishes,
    Igor Tandetnik
"On two occasions, I have been asked [by members of Parliament], 'Pray, 
Mr. Babbage, if you put into the machine wrong figures, will the right 
answers come out?' I am not able to rightly apprehend the kind of 
confusion of ideas that could provoke such a question." -- Charles 
Babbage 


Relevant Pages

  • Re: .NET AddIn Question re:UserControl in Folder homepage
    ... I tried passing it via the jscript but it always comes through null. ... It's just the oAddInObject in the usercontrol Initialize method is ... This is a .NET 1.1 Shimmed Outlook Add-in written in C# ... I have a .NET winforms UserControl hosted inside a HTML page which is ...
    (microsoft.public.outlook.program_vba)
  • Re: Passing arrays as DialogArguments.. ?? VBS to JS
    ... Also using JScript in both calling and called forms, ... Script which will then pass this to the ModalDialog), ... "Christoph Basedau" wrote: ...
    (microsoft.public.scripting.vbscript)
  • How to capture WMP events with script (and not HTML)?
    ... How does one capture Windows Media Player events in JScript? ... would have to write-out HTML in order to get JScript functionality. ... With other ActiveX controls, ... This event handler even receives a parameter. ...
    (microsoft.public.windowsmedia.sdk)
  • Re: newbie document.write question
    ... but once I figured out .insertAdjacentHTML was jscript ... > It is used to inserts the given HTML text into the element ... >>sets cell backgrounds by combobox values. ...
    (microsoft.public.scripting.vbscript)
  • Re: ActiveXObject, jscript: Publishing a table as static html
    ... ActiveXObject and Excel 2007 ... I would like to create a html file containing this ... The way to see the table in the .htm form through a menu system is by ... I need an jscript method. ...
    (microsoft.public.scripting.jscript)