Re: Add a reference to an exe from activex dll?
From: Tim (no_at_spam.please)
Date: 07/26/04
- Next message: Ken Halter: "Re: Anyone managed to use MSComm successfully for Caller ID?"
- Previous message: Top Spin: "Re: Comparing Source Code"
- In reply to: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Next in thread: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Reply: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Ken Halter: "Re: Anyone managed to use MSComm successfully for Caller ID?"
- Previous message: Top Spin: "Re: Comparing Source Code"
- In reply to: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Next in thread: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Reply: Paul Bobrowski: "Re: Add a reference to an exe from activex dll?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|