473,385 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Referencing MSHTML Library

Ok, I'm stumped. I'm working with the axWebBrowser control and all of the
samples talk about adding a reference to the MSHTML library. I have the
..dll in my \windows\system32 directory, but when I'm trying to add the
reference to my VB.Net application I keep getting a "namespace or type
'mshtml' for Imports 'mshtml' cannot be found."

The code looks like:

Imports System
Imports Mshtml

Public Class Form1
....

End Class

Any help on how I can force a reference to this library into Visual Studio??
Nov 20 '05 #1
3 5930
Cor
Hi Pat,

To set a reference (one method) is clicking on project in top of your Ide
and than choose "add reference". Mshtml is in the normal .Net box the rest
must be simple for you.

As exception. do not set an import with this MSHTML reference, it has so
many interfaces that your IDE freezes.

Just put everytime mshtm.xxxx before the things you use.

I hope this helps?

Cor
Nov 20 '05 #2
Cor, Thanks for the information. That got me onto the right track. The
only difference is that I found the reference under the COM tab, not the
..NET tab. Thanks again.
Nov 20 '05 #3
Hi Pat

I think the reference referred to under the .NET tab is actually
Microsoft.mshtml.

HTH

Charles
"Pat Mac" <do****@mcclellon.com> wrote in message
news:0K*******************@newssvr25.news.prodigy. com...
Cor, Thanks for the information. That got me onto the right track. The
only difference is that I found the reference under the COM tab, not the
.NET tab. Thanks again.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: | last post by:
Hello, I have written an application in .NET (C#) which uses some stuff from the Microsoft.mshtml. Unfortunately some customers reported that they are missing this DLL. Therefore we now...
3
by: Zürcher See | last post by:
I've wrote an application that use internet explorer to download some html page, to get the document I use the Microsoft.mshtml library. mshtml.IHTMLDocument3...
3
by: Sharon | last post by:
Hi all I have a .net bundle (MSI installation package) that my client (.net user) will download to his computer threw the internet, The main problem is this package size! It's something between...
7
by: Robert May | last post by:
I have an application that uses the Ax web browser object. When I call the IHTMLElement.click() method on an input button (<input type="submit"> or <input type="button">), the click fires...
2
by: Chang | last post by:
Actually I am not sure how to word this question, I will try my best. Remove all the HTML code from a give *.html file and show it as text file. I am using WebBrowser to open (local) html...
0
by: John Bowman | last post by:
Hi, I've got a simple C# (.NET 1.1) app that will run only on Win2K and WinXP (min IE ver. 5.01) that uses the ax webbrowser control to display a simple hmtl page and disables the right click...
2
by: J Williams | last post by:
I'm using the WebBrowser control and mshtml library to modify the HTML in a web page. E.g. the code below is meant to change all .txt links to .zip, but doesn't because mAnchorElement is just a...
1
by: bernhard schelling | last post by:
Hi, I'm using Visual C# Express and I'd like to build a project available from http://download.microsoft.com/download/f/2/7/f279e71e-efb0-4155-873d-5554a0608523/WSRP.exe Somehow the Refernce...
1
by: zion | last post by:
My C# webservice uses the mshtml reference. On my local computer it works fine but on my host server I get the error: Parser Error Message: Could not load file or assembly 'Microsoft.mshtml,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.