Re: Strange problem when using a class module in VBScript



Problem: Binary compatibility issues

Read on: http://www.vbsight.com/BinaryComp.htm

Help with: http://www.vbsight.com/ComGuard.htm

--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--


"Ragnar Midtskogen" <ragnar_ng@xxxxxxxxxxxxxx> wrote in message
news:e9Zz9mLuFHA.4080@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I have an ActiveX dll created in VB6, which contains a class module.
> I recently updated the class module in it and now when I try to run the
code
> from a VBScript I get an error 429 'ActiveX can't create object' for the
> line with the CreateObject call..
>
> The dll is also called from Web pages so I would have to stop IIS to
replace
> the dll with the new version, so for debugging purposes I included the
class
> module in a VB Standard EXE application. When I compiled the debug app I
got
> some kind of message about the class module but I clicked OK too fast so I
> did not read the message. Everything worked fine so I did not hink more
> about it.
> When through debugging I copied the class module back into my dll, and now
I
> get this error.
> Looking through the dll project I noticed that the Instance property for
the
> class module is missing, could that be the problem?
>
> I am not sure how to restore the property so I am going to try bringing
the
> updated class module into the original version of the project by copy and
> paste. Is there a simpler way?
>
> Any help would be appreciated.
>
> Ragnar
>
>
>


.



Relevant Pages

  • Re: Icon in system tray doesnt process mouse clicks for a dll form
    ... In order to make your DLL reusable (after all, that is one of the main ... If this DLL is only ever going to be used by this ONE app, ... can only raise events from a class module. ... needs a reference to the class module. ...
    (microsoft.public.vb.winapi)
  • Re: Icon in system tray doesnt process mouse clicks for a dll form
    ... > In order to make your DLL reusable (after all, that is one of the main ... > in your main app cleaner since the events will occur in that app. ... > subclassing) is that you can only raise events from a class module. ... > reference to the class module. ...
    (microsoft.public.vb.winapi)
  • Re: ZIP code module without DLL dependencies???
    ... but those will require installing at least some version of WinZip. ... without having to register the dll? ... possible creation of a 'zip' module / class module. ...
    (comp.databases.ms-access)
  • Re: Strange problem when using a class module in VBScript
    ... > I have always had the project set to No Compatablity and never had any ... That's "fine" in your case, but each time you try to replace the DLL, you ... >>> I have an ActiveX dll created in VB6, which contains a class module. ...
    (microsoft.public.vb.general.discussion)
  • Re: Strange problem when using a class module in VBScript
    ... > Looking through the dll project I noticed that the Instance property for ... When you run an ActiveX project in the IDE, ... > I have an ActiveX dll created in VB6, which contains a class module. ...
    (microsoft.public.vb.general.discussion)