Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MSHTML Reference

Posted on 2006-11-05
2
Medium Priority
?
494 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 1000 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

Technology Partners: 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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

721 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