using .net components with classic ASP web pages

R

Robert Miller

I have a quick question. I have a asp.net program but my question is
related to classis ASP programming. I am using a .Net component to
generate pdf files. I have to create an asp.net program to create these
pdf files through since it is a .Net component. My question is there a
way use the include statement to include the asp.net program (aspx file)
within my classic ASP program. I try to use response.redirect to call my
program but that halts all additional programming after the call is
made. Is there any way to do this, examples or any help would be
appreciated?

Thanks.
 
K

Kyle Peterson

call the .net page using an IMG tag... feed it querystring info so it knows
what to do.. output a blank 1x1 pixel image if you want to keep the IMG tag
call from showing a broken image if applicable

that is one way... course make it clever so people cant hack it and make
PDF's on you/whatever

you .NET page will need to create and save the image file as its main
function
 
A

AnthonyWJones

Create a COM Interop DLL with the .NET component. You should then be able to
use it via the Server.CreateObject

Anthony.
 

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

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top