Communicating between .net .dll and asp

P

Peter

I'm looking to pass two variables from an asp page to vb.net dll.

IE. intA= 1 intB = 4

The dll should add these two integers together and return 5.
[intA+intB]

I know this is a simple example that could be done within asp easily
but I'm trying to understand how the DLL communicates with asp.

If someone would be kind enough to post the .dll code and the asp code
it would be greatly appreciated. I'm just not finding what I need in
the MS help files.

-Peter
 
C

Cowboy

With .NET, you have to create a COM callable wrapper (tlbexp.exe) or place
the DLL in COM+ (component services) to have it callable by ASP (which uses
COM). With VB6, you can more easily call the DLL, as it is COM, not .NET.

Hope this makes sense.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
S

Sven Groot

Peter said:
I'm looking to pass two variables from an asp page to vb.net dll.

IE. intA= 1 intB = 4

The dll should add these two integers together and return 5.
[intA+intB]

I know this is a simple example that could be done within asp easily
but I'm trying to understand how the DLL communicates with asp.

If someone would be kind enough to post the .dll code and the asp code
it would be greatly appreciated. I'm just not finding what I need in
the MS help files.

I'm sorry but I don't have the time to write complete examples like that.
Try looking in the documentation/MS website for COM Interop and regasm.exe,
you should be able to find what you need.
 
C

Cor Ligthert

Hi Peter,

I still want to try this, however I think that remoting is the route to
search for in this case.

Cor
 

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

Top