Legacy APIs RRS feed

  • General discussion

  • Ignore this question; I created a new thread for my question.

    Sam Hobbs

    • Changed type Simple Samples Friday, April 20, 2012 6:43 AM Unnecesary clutter; off-topic responses
    • Edited by Simple Samples Friday, April 20, 2012 6:56 AM
    Thursday, April 19, 2012 7:49 PM

All replies

  • Hi Sam,

    Your question would be better answered in the IE Extension Developer forum



    Thursday, April 19, 2012 8:17 PM
  • Are you sure? When I search the Internet Explorer Development Forums for queryCommandValue I get 8 results, all from here, not the other forum. Also, the description of this forum states HTML explicitly.

    The purpose of these two forums are confusing, but I did try to use the correct one. It is very, very easy to say this is incorrect. Can you explain the logic for why you say this is not the correct forum? That explanation would be very useful.

    Sam Hobbs

    Thursday, April 19, 2012 8:58 PM
  • Hi,

    these are public forums.... we do not work for nor represent MS.... Your interpretation of MS documentation is yours.

    this forum is for questions about html, css and scripting for webdevelopers using MSIE browsers.

    legacy - This section describes DOM features supported in earlier versions of Internet Explorer that are not widely supported in other browsers. Application that rely on these features should be updated to use featured based on current standards.

    web search for online html edit controls


    take your pick... there are hundreds to choose from.... whether you want an online html editor (hosted in a web page) or a windows form html editor (written in C++/VB) is your choice...

    I use http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

    for newsletters on my web sites... mail cliients render html using quirks mode, so the methods used by the control are not standards and may not work in other web browsers.

    However, with the telerik control you can create standards compliant templates that users can use without having to know the the standards syntax....


    Thursday, April 19, 2012 11:09 PM
  • Rob, I can read. There is no need to quote the documentation that I provided a link to. If you know of some other relevant documentation then that would help.

    I realize I did not state explicitly that I am using C# for this. I should have said that but I did imply that.

    I also am not asking about third-party software. I am capable of searching for that. I am asking what Microsoft has provided.

    Sam Hobbs

    Friday, April 20, 2012 12:43 AM
  • Hi Sam,

    It is a complicated answer to perhaps a simple question.... the main drawback of using a html editor with the legacy functions of OLEWBexec is that it uses depreciated Quirks syntax for elements...

    for example.... setting the font on a selection uses the depreciated <font> tag instead of a <span style="font-family:Verada"> (style rules)...

    the content of the html editor is essentially a <body> tag without a document type declaration or <head> block....

    If you want to use it for common applications... like a newletter writer or an email authoring tool the Quirks syntax is ok....

    However if you want to use it for a full blown web page editor you have to abandon the legacy OLEWBexec methods and use DOM methods to add elements to a fully formed DOM (dtd<html><head><body>)

    It is no mean feat.....

    Content managers like Jumla or Wordpress have taken years of development to allow users to use standards compliant markup and scripting on their web pages.

    MSIE browsers have a number of document Modes (Quirks, IE7 Emulation and Standards) to allow them to render legacy web pages and emails as the author intended...

    To develope a standards compliant, cross browser html editor you will need an excellent understanding of the w3c standards (w3.org)

    I use the telerik asp.net controls because this has already been done for me... I don't have to get bogged down with re-inventing a wheel.

    this forum is realy for web developers who have a question about the markup, css or scripting that they use on their web page....

    the w3c standards apply equally to web pages and html editors... both browser vendors and html editing IDE's make representations on the committees.

    The Sea Monkey web browser has a quirks mode html editor built-in to the browser...


    Friday, April 20, 2012 6:03 AM
  • Rob, please go away. I tried to be nice about. You are not helping at all. You are cluttering up this thread. I will create a new thread; please ignore it. If you do not and instead you respond to my new thread then I will not respond to your response.

    Sam Hobbs

    Friday, April 20, 2012 6:42 AM
  • Sam...

    these are public forums... we do not work for or represent MS... the documentation that Ms provide is all you get...

    for paid support go to support.microsoft.com

    go fish


    Friday, April 20, 2012 8:50 AM