Calling COM from asp.net application...

W

Wallace

Hai all,

Can anyone tell me how to call a COM from as asp.net application?
Please help... Urgent...
Looking forward for the response?
Thanx in advance...
 
A

Anthony Merante

Its fairly simple. You'll have to go into add references and click on the
COM tab and scroll down until you see the component you want to reference.
And then thats it.

If the COM isnt registered i think you can 'Browse' for it and VS will
register it and then create a wrapper for it.

At this point you call it as though its a managed object in the framework,
just like any other object you might use and you'll even have intellisense
at your disposal.

HTH,
Tony
 
W

Wallace

Hi,

Thanx for ur response...
I want to call a user created com+ which is written in vc++, that is
running in component services...
How to do that?
Looking forward for the response...
 
A

Anthony Merante

W,

Yea so just right click the References, Add references, click on the COM Tab
and scroll down until you see the COM you wish to use and add that
reference. I think thats it. You'll now see that COM in your references.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,161
Latest member
GertrudeMa
Top