Formatting output - Part 2

Here is a little more info, sorry should have explained what my final goal
was. I am creating a .vcs file from a form to import into Outlook. I was
just testing the output on screen then pasting that into a file, after
removing the extra white space, and inserting line breaks. The data is
valid, but the formatting into the file isn't working. Was I doing the
formatting right if I was generating a file? I need it to create the .vcs
without any white spaces and a 'return' after each line to match the output
at the very bottom. Here is the code again, and the bit to generate the
file:

This gernerates an error message in Outlook stating it can't import the
calendar file. But, again, if I paste the data into a text file with a .vcs
extension, and delete white space and insert line breaks I can double click
the file and it imports into Outlook fine, this is why I think I just don't
know how to format the 'output' correctly.

I am doing a:
'server.execute "../header.htm"
at the beginning of cal.asp, it is puttin gthe contents of that file into my
Response.Write strvCalendar variable.
Is this normal, any way to stop it from doing that? I commented out that
line and it works great!!! (but I still need to do it!)

"Tom Petersen" <> wrote in message
news:...
> Quick follow-up.
>
> I am doing a:
> 'server.execute "../header.htm"
> at the beginning of cal.asp, it is puttin gthe contents of that file into
> my
> Response.Write strvCalendar variable.
> Is this normal, any way to stop it from doing that? I commented out that
> line and it works great!!! (but I still need to do it!)
>
> TIA
>

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Os17%...
> Why would you want header HTML in a vcs file? I don't understand.
>
> Ray at home
>
> "Tom Petersen" <> wrote in message
> news:...
> > Quick follow-up.
> >
> > I am doing a:
> > 'server.execute "../header.htm"
> > at the beginning of cal.asp, it is puttin gthe contents of that file
into
> > my
> > Response.Write strvCalendar variable.
> > Is this normal, any way to stop it from doing that? I commented out
that
> > line and it works great!!! (but I still need to do it!)
> >
> > TIA
> >
>

Figured it out, had Response.End still commented out, seemed to do the
trick.

Thanks for all the help!!!

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Os17%...
> Why would you want header HTML in a vcs file? I don't understand.
>
> Ray at home
>
> "Tom Petersen" <> wrote in message
> news:...
> > Quick follow-up.
> >
> > I am doing a:
> > 'server.execute "../header.htm"
> > at the beginning of cal.asp, it is puttin gthe contents of that file
into
> > my
> > Response.Write strvCalendar variable.
> > Is this normal, any way to stop it from doing that? I commented out
that
> > line and it works great!!! (but I still need to do it!)
> >
> > TIA
> >
>

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!