CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: About MWord

  1. #1
    Join Date
    Oct 2003
    Posts
    72

    About MWord

    Hi guys

    I know that this:


    <%
    Response.ContentType = "application/msword"
    Response.AddHeader "content-disposition", "inline;filename = MyFile.doc"
    %>


    allows me to obtain -the code that I write- into a word page

    I've got a problem
    Is there some function or command that allow me -When I want- to finish write in a page and "jump" another page?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: About MWord

    Quote Originally Posted by elektroman
    Is there some function or command that allow me -When I want- to finish write in a page and "jump" another page?
    Well, since ASP is a server-side language you can simply add a JavaScript redirect on page load because the server-side will already by completed.

    Code:
    <body onload="window.location='index.html'">
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

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