473,831 Members | 2,347 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AxSHDocVw.AxWeb Browser && Microsoft.mshtm l

I've wrote an application that use internet explorer to download some html
page, to get the document I use the Microsoft.mshtm l library.

mshtml.IHTMLDoc ument3
Document=(mshtm l.IHTMLDocument 3)this.WebBrows er.Document;

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

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

Someone can help? Thank's
Nov 15 '05 #1
3 11338
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.co m

"Zürcher See" <aq****@cannabi smail.com> wrote in message
news:%2******** **********@TK2M SFTNGP11.phx.gb l...
I've wrote an application that use internet explorer to download some html
page, to get the document I use the Microsoft.mshtm l library.

mshtml.IHTMLDoc ument3
Document=(mshtm l.IHTMLDocument 3)this.WebBrows er.Document;

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

File or assembly name Microsoft.mshtm l, 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.mshtm l.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****@cannabi smail.com> wrote in
news:#j******** ******@TK2MSFTN GP11.phx.gbl:
I've wrote an application that use internet explorer to download some
html page, to get the document I use the Microsoft.mshtm l library.

mshtml.IHTMLDoc ument3
Document=(mshtm l.IHTMLDocument 3)this.WebBrows er.Document;

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

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

Someone can help? Thank's


Nov 15 '05 #3
Thanks, the Microsoft.mshtm l.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********@hot mail.com> schrieb im Newsbeitrag
news:Xn******** *************** ***********@207 .46.248.16...
You should have the files

axshdocvw.dll
microsoft.mshtm l.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****@cannabi smail.com> wrote in
news:#j******** ******@TK2MSFTN GP11.phx.gbl:
I've wrote an application that use internet explorer to download some
html page, to get the document I use the Microsoft.mshtm l library.

mshtml.IHTMLDoc ument3
Document=(mshtm l.IHTMLDocument 3)this.WebBrows er.Document;

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

File or assembly name Microsoft.mshtm l, 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
1329
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? TIA. -dgr
3
10422
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... javascript errors :) I can catch errors coming from website that does not use frames using : private void NavigateComplete(object sender,AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Event e) {
3
3382
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 AxSHDocVw.AxWebBrowser Thanks Simon CJC
8
4794
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. At the Moment i use this code: IHTMLDocument3 htmlDoc3 = new HTMLDocumentClass();
2
2842
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 specific filename that a person browses to using the web browser control. Thanks,
5
10925
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 appreciated. Thanks. Atara. ------------------------- Original code:
0
2059
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 : axWebBrowser2.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER,ref empty,ref empty);
6
3773
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 AxWebBrowser.Document: When I print browser.Document.GetType().ToString() at runtime, I get "mshtml.HTMLDocumentClass". But The VS2005 compiler does not recognize the member AxWebBrowser.Document as anything other than a System.Object -- e.g.,...
3
3777
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 but only SHDocVw appears under References in the Solution Explorer. As an alternative, SHDocVw.WebBrowser may work but I am not sure how to add an event handler for it- does anyone know how to add a DocCompleted event for this object?
0
9793
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10777
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5619
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3963
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.