Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Web Page Comments

Web Page Comments

Scheduled Pinned Locked Moved C#
helpcsharpquestionhtmlvisual-studio
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gary Hyslop at home
    wrote on last edited by
    #1

    I was previously told by one of the "guru's" of this site that this was not a c# issue. That is not correct because C# is the only language that supports Web Page Comments. When I use the "Build Comment Web Pages" on the Tools MEnu of VS.NET 2003, the following type of HTML comment is generated at the top of every HTM file "" I have recently installed Service Pack 2 of Windows XP. Now when the above comment is detetected by IE6, the Internet Zone is considered to be "Restricted" instead of Local Machine. HOW CAN I GET AROUND THIS? Correcting the problem from the XP side is complicated and, as yet, I don't understand it. Thanks for your help, Gary Hyslop

    D H 2 Replies Last reply
    0
    • G Gary Hyslop at home

      I was previously told by one of the "guru's" of this site that this was not a c# issue. That is not correct because C# is the only language that supports Web Page Comments. When I use the "Build Comment Web Pages" on the Tools MEnu of VS.NET 2003, the following type of HTML comment is generated at the top of every HTM file "" I have recently installed Service Pack 2 of Windows XP. Now when the above comment is detetected by IE6, the Internet Zone is considered to be "Restricted" instead of Local Machine. HOW CAN I GET AROUND THIS? Correcting the problem from the XP side is complicated and, as yet, I don't understand it. Thanks for your help, Gary Hyslop

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Gary Hyslop at home wrote: I was previously told by one of the "guru's" of this site that this was not a c# issue. That is not correct because C# is the only language that supports Web Page Comments. Actually, he was correct. This issue has nothing to do with C#, but everything to do with the security settings in Internet Explorer. I haven't installed SP2 yet, so I can't give you an exact answer. But, the first thing to do is double check the Security settings in IE and try relaxing the security level a bit. If it says High, try lowering it to Medium and see what happens. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      • G Gary Hyslop at home

        I was previously told by one of the "guru's" of this site that this was not a c# issue. That is not correct because C# is the only language that supports Web Page Comments. When I use the "Build Comment Web Pages" on the Tools MEnu of VS.NET 2003, the following type of HTML comment is generated at the top of every HTM file "" I have recently installed Service Pack 2 of Windows XP. Now when the above comment is detetected by IE6, the Internet Zone is considered to be "Restricted" instead of Local Machine. HOW CAN I GET AROUND THIS? Correcting the problem from the XP side is complicated and, as yet, I don't understand it. Thanks for your help, Gary Hyslop

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        Actually, that is not a C# feature at all. The Microsoft Visual C# compiler supports generating document comments from the compiler. The comment XML grammar (schema) is not specific to C# at all and can be constructed manually. The VB.NET compiler in "Whidbey" (.NET Framework 2.0) will also be able to generate comments. The tool in VS.NET to build a web site simply transforms the XML file that is generated for each assembly in your solution, just as NDoc[^] - one of many successful projects I've worked on - and other commercial applications do. As Dave said, your problem is with Internet Explorer security settings and would not matter one bit if the web site you were viewing was generated from static HTML pages, PHP, ASP, ASP.NET, ol' CGI or anything else. If you don't understand something, you ask in the right forum. This cannot be corrected on the server side, otherwise that would render security moot. It has to be solved from the client. Like many, many other sites on the web, if there are security settings keeping viewers from displaying the site the way you intend, then you have a support page instructing what they should do and hope they will do it (some may not because they don't understand - which means your directions are clear enough, typically - or because they choose not to). Like it or not, that's why security measures are in place. This posting is provided "AS IS" with no warranties, and confers no rights. Software Design Engineer Developer Division Sustained Engineering Microsoft [My Articles]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups