473,395 Members | 2,467 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Accessing .NET assemblies from classic ASP/VBScript?

Hi All,

I'm wondering if there is any way to access .NET assemblies from
classic ASP/VBScript?

We have a legacy app that was written using classic ASP and VBScript,
and there's a new facility that one of our developers did in .NET that
we'd like to use with our legacy app. Specifically, we have an online
signup process that is a multi-page form written using classic ASP.
When the user finally completes the signup process, we'd like to
package up the form values and send them off to several objects that we
have defined in our new .NET DLL.

Any thoughts on how to do this?

-Josh

p.s. please observe Followup-to: microsoft.public.dotnet.general --
thanks!

Apr 10 '06 #1
5 1725
Read up on the framework tools like tlbexp, tlbimp and the concept of COM
Interop. tlbexp will enable you to create COM compliant wrappers for your
..net assembly so you can call it from asp.

http://msdn2.microsoft.com/en-US/lib...2c(VS.80).aspx

--
Regards

John Timney
Microsoft MVP

<jo*******@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
Hi All,

I'm wondering if there is any way to access .NET assemblies from
classic ASP/VBScript?

We have a legacy app that was written using classic ASP and VBScript,
and there's a new facility that one of our developers did in .NET that
we'd like to use with our legacy app. Specifically, we have an online
signup process that is a multi-page form written using classic ASP.
When the user finally completes the signup process, we'd like to
package up the form values and send them off to several objects that we
have defined in our new .NET DLL.

Any thoughts on how to do this?

-Josh

p.s. please observe Followup-to: microsoft.public.dotnet.general --
thanks!

Apr 10 '06 #2
Hi Josh,

There's a good MSKB article about this:
http://support.microsoft.com/?kbid=817248

HTH,

Chris

Apr 10 '06 #3
Hello, jo*******@gmail.com!

j> Any thoughts on how to do this?

IMO the simplest way will be creating aspx page that will receive form values, and then in the code behind it will invoke .NET objects and pass obtained info to them.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Apr 11 '06 #4
Hi Josh,

check out

http://www.codeproject.com/useritems...nentandasp.asp

Kaustav.

"jo*******@gmail.com" wrote:
Hi All,

I'm wondering if there is any way to access .NET assemblies from
classic ASP/VBScript?

We have a legacy app that was written using classic ASP and VBScript,
and there's a new facility that one of our developers did in .NET that
we'd like to use with our legacy app. Specifically, we have an online
signup process that is a multi-page form written using classic ASP.
When the user finally completes the signup process, we'd like to
package up the form values and send them off to several objects that we
have defined in our new .NET DLL.

Any thoughts on how to do this?

-Josh

p.s. please observe Followup-to: microsoft.public.dotnet.general --
thanks!

Apr 11 '06 #5

Vadym Stetsyak wrote:
Hello, jo*******@gmail.com!
IMO the simplest way will be creating aspx page that will receive form values, and then in the code behind it will invoke .NET objects and pass obtained info to them.


I thought of this solution, and I think it's what I'm going to wind up
doing; I was just wondering what the other options were.

Apr 11 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Keith | last post by:
I have been using ASP in it's VBScript form for some time, but I only tend to learn what I need to know as I need to know it, so I am by no means an expert and spend a lot of time on here asking...
36
by: Thomas | last post by:
after spending countless hours trying, i give up and hope to get some help in here. on server1 i got the web myweb.com with my test.asp. in the test.asp, i'm trying to read a file from an UNC...
6
by: ASPfool | last post by:
Hello everyone, Please help me before I throw my computer out of the window: I'm working on a web application in classic ASP (vbscript), which is making calls to some webservices. The calls...
3
by: AdamM | last post by:
Hi all, When I run my VbScript, I get the error: "ActiveX component can't create object: 'getobject'. Error 800A01AD". Any ideas what I did wrong? Here's my VBScript: dim o set...
1
by: Joe | last post by:
Is it possible to access VB.Net Assemblies from VBScript? I have a Visual Basic DLL that is accessed from VBScript. I would like to rewrite the dll in VB.Net. How would I do this, if it is...
5
by: Kent.Gallinger | last post by:
I have a web application that contains asp.net and classic asp pages. I have a vb.net function that I would like to use in one of the classic asp pages. How can I do this? Can I do this? ...
1
by: joshbeall | last post by:
Hi All, I'm wondering if there is any way to access .NET assemblies from classic ASP/VBScript? We have a legacy app that was written using classic ASP and VBScript, and there's a new facility...
7
by: skeddy | last post by:
In a nutshell, I'm trying to dynamically create a select box with ResultSet code in vbscript and then need to be able to access the value of that select box later with a Save button. I've got...
5
by: =?Utf-8?B?SmltIFJvZGdlcnM=?= | last post by:
My question is simple: How does one debug ASP Classic with Microsoft Visual Web Developer Express 2005 ("VWD")? Looming in the back of anyone's mind when you see a posting like this on any...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.