One last try. Error when using #include file=

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill

    One last try. Error when using #include file=

    I have perhaps not explained myself clearly, so I'll try it this way.
    In the code below, where it says "I'd like to include my navigation
    bar here" is the place I'd like to insert a navigation bar from a page
    I have called navbar.asp

    For some reason, when I insert the <! #include file="navbar.as p" -->
    in that place, I get an error, a long, hairy error. Can you please
    look at the code below, and tell me how I should write the code so
    that the include statement will work?

    No, I cannot include the error message, because the email crashes when
    I include it.

    Thanks,
    Bill

    response.write "<table border=1 align=center width=900>"
    response.write "<tr bgcolor=CC3300> <td colspan=5 align=center><f ont
    face=verdana size=2 color=ffffff>Ca tegory ID goes here </td></tr>"
    response.write "<tr><td colspan=5 align=center>"
    response.write "I'd like to include my navigation bar here"
    response.write "</td></tr><tr bgcolor=ffffcc> <td valign=top width=150
    rowspan=5>Categ ories Here</tr>"
  • Curt_C [MVP]

    #2
    Re: One last try. Error when using #include file=

    1) Stick to one thread PLEASE
    2) <! #include file="navbar.as p" --> is FINE

    Try replacing that navbar.asp with a SIMPLE one once... I'll bet it works
    fine.
    Odds are your navbar.asp simply has a bug in it

    --
    ----------------------------------------------------------
    Curt Christianson (Software_AT_Da rkfalz.Com)
    Owner/Lead Designer, DF-Software

    ---------------------------------------------------------
    ...Offering free scripts & code snippits for everyone...
    ---------------------------------------------------------

    "Bill" <billzimmerman@ gospellight.com > wrote in message
    news:8da5f4f4.0 308061541.4091c 4fb@posting.goo gle.com...[color=blue]
    > I have perhaps not explained myself clearly, so I'll try it this way.
    > In the code below, where it says "I'd like to include my navigation
    > bar here" is the place I'd like to insert a navigation bar from a page
    > I have called navbar.asp
    >
    > For some reason, when I insert the <! #include file="navbar.as p" -->
    > in that place, I get an error, a long, hairy error. Can you please
    > look at the code below, and tell me how I should write the code so
    > that the include statement will work?
    >
    > No, I cannot include the error message, because the email crashes when
    > I include it.
    >
    > Thanks,
    > Bill
    >
    > response.write "<table border=1 align=center width=900>"
    > response.write "<tr bgcolor=CC3300> <td colspan=5 align=center><f ont
    > face=verdana size=2 color=ffffff>Ca tegory ID goes here </td></tr>"
    > response.write "<tr><td colspan=5 align=center>"
    > response.write "I'd like to include my navigation bar here"
    > response.write "</td></tr><tr bgcolor=ffffcc> <td valign=top width=150
    > rowspan=5>Categ ories Here</tr>"[/color]


    Comment

    • Ray at

      #3
      Re: One last try. Error when using #include file=

      Shouldn't it be:

      <!-- #include...

      Ray at home

      --
      Will trade ASP help for SQL Server help


      "Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message
      news:OCEOaTHXDH A.1004@TK2MSFTN GP12.phx.gbl...[color=blue]
      > 1) Stick to one thread PLEASE
      > 2) <! #include file="navbar.as p" --> is FINE
      >
      > Try replacing that navbar.asp with a SIMPLE one once... I'll bet it works
      > fine.
      > Odds are your navbar.asp simply has a bug in it
      >
      > --
      > ----------------------------------------------------------
      > Curt Christianson (Software_AT_Da rkfalz.Com)
      > Owner/Lead Designer, DF-Software
      > http://www.Darkfalz.com
      > ---------------------------------------------------------
      > ..Offering free scripts & code snippits for everyone...
      > ---------------------------------------------------------
      >
      > "Bill" <billzimmerman@ gospellight.com > wrote in message
      > news:8da5f4f4.0 308061541.4091c 4fb@posting.goo gle.com...[color=green]
      > > I have perhaps not explained myself clearly, so I'll try it this way.
      > > In the code below, where it says "I'd like to include my navigation
      > > bar here" is the place I'd like to insert a navigation bar from a page
      > > I have called navbar.asp
      > >
      > > For some reason, when I insert the <! #include file="navbar.as p" -->
      > > in that place, I get an error, a long, hairy error. Can you please
      > > look at the code below, and tell me how I should write the code so
      > > that the include statement will work?
      > >
      > > No, I cannot include the error message, because the email crashes when
      > > I include it.
      > >
      > > Thanks,
      > > Bill
      > >
      > > response.write "<table border=1 align=center width=900>"
      > > response.write "<tr bgcolor=CC3300> <td colspan=5 align=center><f ont
      > > face=verdana size=2 color=ffffff>Ca tegory ID goes here </td></tr>"
      > > response.write "<tr><td colspan=5 align=center>"
      > > response.write "I'd like to include my navigation bar here"
      > > response.write "</td></tr><tr bgcolor=ffffcc> <td valign=top width=150
      > > rowspan=5>Categ ories Here</tr>"[/color]
      >
      >[/color]


      Comment

      • Curt_C [MVP]

        #4
        Re: One last try. Error when using #include file=

        he had that in one of the 3 threads he started on the subject....
        Figured he typo'd it and has it right in the actual code.

        But good eye :}

        --
        ----------------------------------------------------------
        Curt Christianson (Software_AT_Da rkfalz.Com)
        Owner/Lead Designer, DF-Software

        ---------------------------------------------------------
        ...Offering free scripts & code snippits for everyone...
        ---------------------------------------------------------

        "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
        news:u#$iwlHXDH A.2640@TK2MSFTN GP09.phx.gbl...[color=blue]
        > Shouldn't it be:
        >
        > <!-- #include...
        >
        > Ray at home
        >
        > --
        > Will trade ASP help for SQL Server help
        >
        >
        > "Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message
        > news:OCEOaTHXDH A.1004@TK2MSFTN GP12.phx.gbl...[color=green]
        > > 1) Stick to one thread PLEASE
        > > 2) <! #include file="navbar.as p" --> is FINE
        > >
        > > Try replacing that navbar.asp with a SIMPLE one once... I'll bet it[/color][/color]
        works[color=blue][color=green]
        > > fine.
        > > Odds are your navbar.asp simply has a bug in it
        > >
        > > --
        > > ----------------------------------------------------------
        > > Curt Christianson (Software_AT_Da rkfalz.Com)
        > > Owner/Lead Designer, DF-Software
        > > http://www.Darkfalz.com
        > > ---------------------------------------------------------
        > > ..Offering free scripts & code snippits for everyone...
        > > ---------------------------------------------------------
        > >
        > > "Bill" <billzimmerman@ gospellight.com > wrote in message
        > > news:8da5f4f4.0 308061541.4091c 4fb@posting.goo gle.com...[color=darkred]
        > > > I have perhaps not explained myself clearly, so I'll try it this way.
        > > > In the code below, where it says "I'd like to include my navigation
        > > > bar here" is the place I'd like to insert a navigation bar from a page
        > > > I have called navbar.asp
        > > >
        > > > For some reason, when I insert the <! #include file="navbar.as p" -->
        > > > in that place, I get an error, a long, hairy error. Can you please
        > > > look at the code below, and tell me how I should write the code so
        > > > that the include statement will work?
        > > >
        > > > No, I cannot include the error message, because the email crashes when
        > > > I include it.
        > > >
        > > > Thanks,
        > > > Bill
        > > >
        > > > response.write "<table border=1 align=center width=900>"
        > > > response.write "<tr bgcolor=CC3300> <td colspan=5 align=center><f ont
        > > > face=verdana size=2 color=ffffff>Ca tegory ID goes here </td></tr>"
        > > > response.write "<tr><td colspan=5 align=center>"
        > > > response.write "I'd like to include my navigation bar here"
        > > > response.write "</td></tr><tr bgcolor=ffffcc> <td valign=top width=150
        > > > rowspan=5>Categ ories Here</tr>"[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Ray at

          #5
          Re: One last try. Error when using #include file=

          Three threads, eh? I see how things are going to be around here. ;]

          --
          Will trade ASP help for SQL Server help


          "Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message
          news:%23QxM%23u HXDHA.1384@TK2M SFTNGP10.phx.gb l...[color=blue]
          > he had that in one of the 3 threads he started on the subject....
          > Figured he typo'd it and has it right in the actual code.
          >
          > But good eye :}
          >
          > --
          > ----------------------------------------------------------
          > Curt Christianson (Software_AT_Da rkfalz.Com)[/color]


          Comment

          • Some One

            #6
            Re: One last try. Error when using #include file=

            <snip>[color=blue]
            > No, I cannot include the error message, because the email crashes[/color]
            when[color=blue]
            > I include it.[/color]

            If you can't be bothered to tell us the error, why should we fix it? I
            hope you aren't trying to post a screenshot!

            BTW, if your email program crashes just because you typed a line of
            text, you have bigger problems to worry about!


            Comment

            Working...