CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2003
    Posts
    16

    ASP runtime include file name change

    Hi,

    I want to change include filename runtime,
    like in the following include pathname
    (<!-- #include file=FileName.asp-->)
    I want to change the filename (FileName.asp) runtime means that this file name will come from any other file based on certain paramiter.

    can anybody help me.

    Thanks

  2. #2
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104
    i guess you didnt get as far in the ASP book as the line that said "ASP is not java, so dont ask your questions in a java forum",
    let alone get as far as the line that says "you cannot edit a page directive at runtime"

    if you really want to include the output of another asp, write it, and forward to it or include it.. you can do this in the code section, but not in the page directives section..

    further, though i can tell you exactly how to do it in java, i dont even know which language youre asking about for your ASP, so you need to find a better place for this question than the current forum
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured