Solved

MSHTML Reference

Posted on 2006-11-05
2
491 Views
Last Modified: 2012-08-13
Hi

im going to build a small html editor in windows.form useing a usercontrol - in vs 2005 / net 2.0

and have been looking a bit around on the net to find the easiest approach to this.

What is preferrable to use with net 2.0?

AxSHDocVw.AxWebBrowser and the MSHTML/dom methods

Or use the

windows.system.forms.Webbrowser and MSHTML/dom methods

and/or is there a upgrade to mshtml ?

any  help , links , sample code , and info is appreciated

vbturbo


0
Comment
Question by:vbturbo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Mohamed Zedan earned 250 total points
ID: 17876215
They are both the same but considering that you are using NET 2.0 I'd go for windows.system.forms.webbroswer method because it's already included in the framework ...

I already did something similar in NET 1.1 but using the first method because that was what's available to me .... :)

as for an example here is one that you'll like

This code uses AxSHDocVx.AxWebBrowser but it's easily converted to the NET 2.0 webbrowser control as you'll find all the method calls translate to their counterparts in the NET Framework

http://www.codeproject.com/csharp/HtmlEditor.asp

0
 
LVL 18

Author Comment

by:vbturbo
ID: 17877464
Thanks

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question