473,386 Members | 1,606 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,386 software developers and data experts.

AxSHDocVw.AxWebBrowser && Microsoft.mshtml

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
Document=(mshtml.IHTMLDocument3)this.WebBrowser.Do cument;

This program work fine under windows xp, but under windows 2000 i gives me
the following error:

File or assembly name Microsoft.mshtml, or one of its dependencies, was not
found.

Someone can help? Thank's
Nov 15 '05 #1
3 11304
Zürcher,

I don't think it has to do with 2000, but rather, the version of
internet explorer. In previous versions, the IHtmlDocument3 interface might
not have been available (I do not know when it was introduced).

Also, the library id might have changed, because in previous versions of
internet explorer, the type library information was contained in MSHTML.DLL,
but now, it is in MSHTML.TLB. This could be a cause of the problem as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Zürcher See" <aq****@cannabismail.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
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
Document=(mshtml.IHTMLDocument3)this.WebBrowser.Do cument;

This program work fine under windows xp, but under windows 2000 i gives me
the following error:

File or assembly name Microsoft.mshtml, or one of its dependencies, was not found.

Someone can help? Thank's

Nov 15 '05 #2
You should have the files

axshdocvw.dll
microsoft.mshtml.dll (or mshtml.dll)
shdocvw.dll

in your debug/release directory ...

Try to distribute them with your app then it should work! If you don't
have them into your app directory look at the framework dirs for the
files.
Hope this will help you


Matthias

"Zürcher See" <aq****@cannabismail.com> wrote in
news:#j**************@TK2MSFTNGP11.phx.gbl:
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
Document=(mshtml.IHTMLDocument3)this.WebBrowser.Do cument;

This program work fine under windows xp, but under windows 2000 i
gives me the following error:

File or assembly name Microsoft.mshtml, or one of its dependencies,
was not found.

Someone can help? Thank's


Nov 15 '05 #3
Thanks, the Microsoft.mshtml.dll was missing.
I had thought that I did not have to copy it since it wasn't in the release
directory

"Matthias Kwiedor" <cr********@hotmail.com> schrieb im Newsbeitrag
news:Xn**********************************@207.46.2 48.16...
You should have the files

axshdocvw.dll
microsoft.mshtml.dll (or mshtml.dll)
shdocvw.dll

in your debug/release directory ...

Try to distribute them with your app then it should work! If you don't
have them into your app directory look at the framework dirs for the
files.
Hope this will help you


Matthias

"Zürcher See" <aq****@cannabismail.com> wrote in
news:#j**************@TK2MSFTNGP11.phx.gbl:
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
Document=(mshtml.IHTMLDocument3)this.WebBrowser.Do cument;

This program work fine under windows xp, but under windows 2000 i
gives me the following error:

File or assembly name Microsoft.mshtml, or one of its dependencies,
was not found.

Someone can help? Thank's

Nov 15 '05 #4

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

Similar topics

0
by: Denny Rue | last post by:
How does one recognize that a popup window (like "File Download" or a redirect) has occurred when using the InternetExplorer object in a Windows form and VB .Net? And then respond accordingly? ...
3
by: dricks dr | last post by:
Hi, I'm using the AxWebBrowser Control from microsoft in a C# application. It works fine, but i have many problems to hide the javascript error windows that appear when u visit a website with......
3
by: Simon CJC | last post by:
Hello I use AxSHDocVw.AxWebBrowser in a windows application. But sometimes the url I browsed in AxSHDocVw.AxWebBrowser contains error caused by javascript. Can I prevent javascript from running in...
8
by: Nabor Gilgalad | last post by:
Hello Newsgroup, I have a simple question I think, but after a long time searching, get no answer. I want to get the original html source code from a page loaded in the AxWebBrowser Control. ...
2
by: eXtreme | last post by:
Does anyone know how to get the full URL filename from a Microsoft Web Browser control? I can use wbBrowserObj.LoctionURL to get the path but it seems to be missing the file name... I need the...
5
by: Atara | last post by:
I am trying to convert the following code to VB .Net, I still have some gaps (the lines that are marked with (*)) and also I need an ending condition for the while loop. any help would be...
0
by: sagar.jawale | last post by:
Hi, In my c# windows application, i am using AxSHDocVw.AxWebBrowser. I am displaying a generated receipt html in this browser. Also, for printing the same html, i am using the following command...
6
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the...
3
by: David | last post by:
I would like to use a AxSHDocVw.WebBroswer control in a Windows service- is this possible without creating a form? I added the reference I usually use to add this object in a Windows Application...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.