Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 07:27 AM
Bill
Guest
 
Posts: n/a
Default 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.asp" -->
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><font
face=verdana size=2 color=ffffff>Category 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>Categories Here</tr>"
  #2  
Old July 19th, 2005, 07:27 AM
Curt_C [MVP]
Guest
 
Posts: n/a
Default Re: One last try. Error when using #include file=

1) Stick to one thread PLEASE
2) <! #include file="navbar.asp" --> 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_Darkfalz.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.0308061541.4091c4fb@posting.google.c om...[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.asp" -->
> 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><font
> face=verdana size=2 color=ffffff>Category 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>Categories Here</tr>"[/color]


  #3  
Old July 19th, 2005, 07:27 AM
Ray at
Guest
 
Posts: n/a
Default 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_Darkfalz.com> wrote in message
news:OCEOaTHXDHA.1004@TK2MSFTNGP12.phx.gbl...[color=blue]
> 1) Stick to one thread PLEASE
> 2) <! #include file="navbar.asp" --> 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_Darkfalz.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.0308061541.4091c4fb@posting.google.c om...[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.asp" -->
> > 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><font
> > face=verdana size=2 color=ffffff>Category 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>Categories Here</tr>"[/color]
>
>[/color]


  #4  
Old July 19th, 2005, 07:27 AM
Curt_C [MVP]
Guest
 
Posts: n/a
Default 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_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:u#$iwlHXDHA.2640@TK2MSFTNGP09.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_Darkfalz.com> wrote in message
> news:OCEOaTHXDHA.1004@TK2MSFTNGP12.phx.gbl...[color=green]
> > 1) Stick to one thread PLEASE
> > 2) <! #include file="navbar.asp" --> 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_Darkfalz.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.0308061541.4091c4fb@posting.google.c om...[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.asp" -->
> > > 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><font
> > > face=verdana size=2 color=ffffff>Category 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>Categories Here</tr>"[/color]
> >
> >[/color]
>
>[/color]


  #5  
Old July 19th, 2005, 07:27 AM
Ray at
Guest
 
Posts: n/a
Default 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_Darkfalz.com> wrote in message
news:%23QxM%23uHXDHA.1384@TK2MSFTNGP10.phx.gbl...[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_Darkfalz.Com)[/color]


  #6  
Old July 19th, 2005, 07:28 AM
Some One
Guest
 
Posts: n/a
Default 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!


 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles