Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:37 AM
Simon Harvey
Guest
 
Posts: n/a
Default Using a COM component from ASP

Hi everyone,

I don't know to much about asp in general, I'm an ASP.net developer, but my
boss wants me to find out the following:

Is it possible to use a COM component from ASP. We have a COM component that
allows us to interact with our bank for e-commerce style functionality. Our
current site uses ASP and we know need to integrate this COM component in
order to let us to some fancier stuff, such as on the fly fraud checking for
credit cards.

Can someone advise me if ASP can use COM components and what is involved?
Does anyone know of any good resources such as a tutorial?

Thanks everyone

Take care

Simon


  #2  
Old July 19th, 2005, 11:37 AM
John Blessing
Guest
 
Posts: n/a
Default Re: Using a COM component from ASP

"Simon Harvey" <simon.harvey@the-web-works.co.uk> wrote in message
news:uIVsdia6DHA.2416@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi everyone,
>
> I don't know to much about asp in general, I'm an ASP.net developer, but[/color]
my[color=blue]
> boss wants me to find out the following:
>
> Is it possible to use a COM component from ASP. We have a COM component[/color]
that[color=blue]
> allows us to interact with our bank for e-commerce style functionality.[/color]
Our[color=blue]
> current site uses ASP and we know need to integrate this COM component in
> order to let us to some fancier stuff, such as on the fly fraud checking[/color]
for[color=blue]
> credit cards.
>
> Can someone advise me if ASP can use COM components and what is involved?
> Does anyone know of any good resources such as a tutorial?
>
> Thanks everyone
>
> Take care
>
> Simon
>[/color]


Yes. Register it with regsvr32, make sure the anonymous user (assuming you
are using anonymous authentication) has execute privs on it then e.g.:

set myObj = Server.CreateObject("mycomobjectname.myclass")
lret = myObj.myfunction (whatever,params,
you,have,defined,for,myfunction)
set myObj = Nothing




--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.free-helpdesk.com - Completely free help desk software !
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook


  #3  
Old July 19th, 2005, 11:38 AM
Guest
 
Posts: n/a
Default Re: Using a COM component from ASP

you can access COM from .NET in same way as in generic ASP. just through
creating an instance with CreateObject.


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles