Re: Add a reference to an exe from activex dll?

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

From: Tim (no_at_spam.please)
Date: 07/26/04


Date: Mon, 26 Jul 2004 14:24:22 -0700


I'm not sure why this error did not crop up before, but now I'm getting:

"Class does not support Automation or does not support expected interface"

Any suggestions?

"Paul Bobrowski" <pbobrowski-nospam@basictechnologies.com> wrote in message
news:%23x8BUP1cEHA.2384@TK2MSFTNGP09.phx.gbl...
> I think the msgbox isn't popping up because your trigging them from ASP
code
> which is running under different permissions that prevent that from
> happening.
>
> A good test would be to have a log file where the IIS User account has
write
> permission, and just do a date/time stamp stating that the function was
run.
> Heck you could even output session ids, client machine name, etc if you
> desire.
>
> "Tim" <no@spam.please> wrote in message
> news:OHdCeH1cEHA.2688@TK2MSFTNGP11.phx.gbl...
> >
> > Thanks. The only thing I have in my exposed class (from my activex exe)
is
> > the following:
> >
> > Public Function newArticle(articleType, articleTo)
> > MsgBox ("test")
> > End Function
> >
> >
> > Here is what I'm passing from my DLL:
> >
> > Dim x As Project1.Class1
> > Set x = New Project1.Class1
> > x.newArticle 1, 5
> >
> >
> > When I first ran my ASP page I got a permission denied error for the
> activex
> > exe, so I know it's working somewhat, except my test box is not popping
up
> > and my asp page runs endlessly.
> >
> > Should my test msg box pop up?
> >
> > Thanks
> >
> >
> >
> >
> >
> >
> >
> > "DNagel" <NOTGrandNagel@hotmail.com> wrote in message
> > news:Oi2gQt0cEHA.2724@TK2MSFTNGP12.phx.gbl...
> > > Tim wrote:
> > >
> > > > I can add my activex exe to my dll now, thank you.
> > > >
> > > > I have created a class called "Class1" in my activex exe which
appears
> > in my
> > > > object browser. How can I access a function named "newArticle" in
> > "Class1"
> > > > from my dll?
> > > >
> > > > I tried:
> > > >
> > > > Class1.newArticle itemType, userID
> > > >
> > > > But got an error.
> > > >
> > >
> > > You need to fire up the EXE... Create an object instance of the
> > > class module and then call it's function...
> > >
> > > Dim x as prjName.Class1
> > > set x = new prjName.Class1
> > > x.newArticle itemType, userID
> > >
> > > D.
> > >
> > > D.
> > >
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004
> >
> >
>
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004


Relevant Pages

  • Re: Add a reference to an exe from activex dll?
    ... I think the msgbox isn't popping up because your trigging them from ASP code ... permission, and just do a date/time stamp stating that the function was run. ... The only thing I have in my exposed class (from my activex exe) is ...
    (microsoft.public.vb.general.discussion)
  • Re: Migrate ASP application from Win2000 to Win2003 but ADO connection error!!!
    ... problem cause maybe the invalid permission for IUSR_xxx. ... IIS6 in the Web ... >when I access my ASP script via the browser. ... >> So,, in the ASP file position error is ... ...
    (microsoft.public.inetserver.iis)
  • Re: Adobd errors Permission denied IIS6
    ... > denied similar on the ASP pointing to SQL pages. ... > from IWA login as admin and switch back to anonymous works for a while? ... >> permission to this account? ... >> Bernard Cheah ...
    (microsoft.public.inetserver.iis.security)
  • OWA Form registration Exchange 2000 vs 2003
    ... I'm placing the asp pages in the Public folder, and there seems to be some ... security problem with that. ... What permission magic do I need to get the form registration to work ...
    (microsoft.public.exchange.development)