) Form1Inter Active 14 17 but i am adding the reference as u said ?? thnx i make it it should write MSHTML in capital but i want to add audio , flash files ??
how can i make this also i want to ask how i make the user inter the url of the image or the audio file or its location in the PC when i add this Now that we have the reference to the HTML object library, which resolves to 'mshtml', just add a using mshtml; to our Form1file.
This tutorial will demonstrate how to create a wysiwyg (visual) HTML editor using IHTMLdocument2 class in mshtml.The first thing we need to do is create a windows forms application in C#, using an IDE such as Visual Studio or Sharp Develop.Insert Input Hidden Inserts a hidden control on the text selection. Insert Input Image Overwrites an image control on the text selection. ) Form1Inter Active 8 14 Error 2 The type or namespace name ' IHTMLDocument2' could not be found (are you missing a using directive or an assembly reference?
) Form1Inter Active 14 17 but i am adding the reference as u said ?? when i add this there is 2 errors appers Error 1 The type or namespace name 'mshtml' does not exist in the namespace ' System' (are you missing an assembly reference?Absolute Position Sets an element's position property to "absolute." Back Color Sets or retrieves the background color of the current selection. Create Bookmark Creates a bookmark anchor or retrieves the name of a bookmark anchor for the current selection or insertion point. Font Size Sets or retrieves the font size for the current selection. Insert Button Overwrites a button control on the text selection.Create Link Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection. Fore Color Sets or retrieves the foreground (text) color of the current selection. Indent Increases the indent of the selected text by one indentation increment. Insert Fieldset Overwrites a box on the text selection.Insert Image Overwrites an image on the text selection.Insert Input Button Overwrites a button control on the text selection.Exec Command("Bold", false, null); HTMLEditor.document. Exec Command("Underline", false, null); HTMLEditor.document. Exec Command("Italics", false, null); HTMLEditor.document. Exec Command("Strike Through", false, null); HTMLEditor.document. Exec Command("Font Name", false, "Times New Roman"); HTMLEditor.document.