Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8560695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:20:07+00:00 2026-06-11T16:20:07+00:00

Can anyone tell me whether it is possible to pass the Response object from

  • 0

Can anyone tell me whether it is possible to pass the Response object from classic asp to a C# class library and if so how it is done.

I’m using C# 2010 express and JScript in ASP, but I’ll take a VBScript answer.

Or if there is another way of outputting to the http context of the classic asp page from a dll, that’ll also do.

I thinking that it can’t be done as the System.Web.HttpResponse object doesn’t seem to be available from a class library.

Thank you to those who responded. By way of a complete answer for anybody else that may have the same question, here is some sample code:

public string passObj(ASPTypeLibrary.Response r)
{
    r.Write("text from DLL");
    return "OK";
}

and on the classic asp side of things:

var x = Server.CreateObject("dllTest.test");
x.passObj(Response);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:20:08+00:00Added an answer on June 11, 2026 at 4:20 pm

    To access the classic ASP objects including Response, you can add a COM reference in your C# project to “Microsoft Active Server Pages Object Library”.

    You can then reference it from C# as:

    ASPTypeLibrary.Response
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Wondered if anyone can tell me whether the following is possible within views. I
Can anyone please tell me whether this is a singleton class or not? public
Can anyone tell me whether Helvetica is a browser base font? If so, it
can anyone tell me how to select data by date in MS.ACCESS database using
Can anyone tell me how I can correctly pass my application context to my
Can anyone tell me, how to make shadow, using UIPageViewController, around of my background
Can anyone tell me how to substring a GridView BoundField object please? I tried
Can anyone tell me whether Hibernate supports associations as the pkey of an entity?
Can anyone tell me whether we should enable or disable watch dog during the
Can anyone tell me whether code on the timeline is harder or easier to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.