Home All Groups Group Topic Archive Search About

using .net components with classic ASP web pages



Author
6 Jan 2006 4:19 PM
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.

*** Sent via Developersdex http://www.developersdex.com ***

Author
6 Jan 2006 4:52 PM
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


Show quote
"Robert Miller" <robmiller_43***@yahoo.com> wrote in message
news:edBtwztEGHA.716@TK2MSFTNGP09.phx.gbl...
>
>
> 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.
>
> *** Sent via Developersdex http://www.developersdex.com ***
Author
6 Jan 2006 5:55 PM
Kyle Peterson
I meant to say create and save the pdf file as its main function

Show quote
"Kyle Peterson" <kyle***@hotmail.com> wrote in message
news:OJHVSGuEGHA.312@TK2MSFTNGP09.phx.gbl...
> 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
>
>
> "Robert Miller" <robmiller_43***@yahoo.com> wrote in message
> news:edBtwztEGHA.716@TK2MSFTNGP09.phx.gbl...
>>
>>
>> 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.
>>
>> *** Sent via Developersdex http://www.developersdex.com ***
>
>
Author
6 Jan 2006 7:41 PM
AnthonyWJones
Create a COM Interop DLL with the .NET component.  You should then be able to
use it via the Server.CreateObject

Anthony.

Show quote
"Robert Miller" wrote:

>
>
> 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.
>
> *** Sent via Developersdex http://www.developersdex.com ***
>

AddThis Social Bookmark Button