Re: Strange problem when using a class module in VBScript
- From: "Ragnar Midtskogen" <ragnar_ng@xxxxxxxxxxxxxx>
- Date: Tue, 13 Sep 2005 22:14:26 -0400
Thank you Chris,
I have always had the project set to No Compatablity and never had any
problem.
I have probably updated this dll a couple of dozen times and it has run fine
on three different servers, starting with NT4 and progressing to 2003.
It is called from some VBScript files to run some data feeds once a day.
It looks like I will have to stay with the debug version and just run it as
a regular exe file.
I don't want to start messing with this compatability issue, the dll
contains two other classes that is used by a Web site so I can't afford to
take chances with that.
I think we should all be using UNIX/LINUX.
Ragnar
"Veign" <NOSPAMinveign@xxxxxxxxx> wrote in message
news:ednv13LuFHA.3660@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>>
>>
>>
>
>
.
- Follow-Ups:
- References:
- Strange problem when using a class module in VBScript
- From: Ragnar Midtskogen
- Re: Strange problem when using a class module in VBScript
- From: Veign
- Strange problem when using a class module in VBScript
- Prev by Date: Re: run-time error 5
- Next by Date: allow only one instance exe to run?
- Previous by thread: Re: Strange problem when using a class module in VBScript
- Next by thread: Re: Strange problem when using a class module in VBScript
- Index(es):
Relevant Pages
|