Solved

Webbrowser control with no images

Posted on 2004-10-08
8
612 Views
Last Modified: 2011-10-03
Hi,
Has anyone been able to use this control:

http://www.mvps.org/emorcillo/vb6/inet/index.shtml

to load a webpage with no images.  I tried installing the type libraries and the webbrowser project and
can't get them to run.  I use vb 6 and currently use the standard webbrowser control but would like to be able to turn images off and on for particular pages during a browser session in my project.  I noticed all references seem to point to windows\system rather than windows\system32.  Whether I keep them that way or change them to point to the correct files I still can't get the project to load.  In the test project for form1 I get the following log:

Line 13: Class WBC.WebBrowser of control WebBrowser1 was not a loaded
control class.
Line 19: The property name _ExtentX in WebBrowser1 is invalid.
Line 20: The property name _ExtentY in WebBrowser1 is invalid.

The ocx appears not to be loaded, showing only a picturebox rather than the actual control and having nothing on the toolbox.  When I try to redo the reference to the component I get "Unexpected Error (32810)".  I noticed a posting on google groups saying the same error with the same control.  Thanks.
0
Comment
Question by:jodyglidden
[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
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 12272028
Did you download OLELIB.TLB and register is properly?  You can use this tool to register it:
http://www.vbaccelerator.com/home/VB/Utilities/Type_Library_Registration_Utility/article.asp
0
 
LVL 1

Author Comment

by:jodyglidden
ID: 12273215
Hi,
Thanks for the link.  I tried the type library utility and unregistered and re-registered version 1.81 of the library.  It still seems to give me the same error though when I try the sample project or try to draw the control on a form.  Anyone have any different experiences getting it to work?

0
 
LVL 28

Expert Comment

by:AzraSound
ID: 12275879
If you open a new project and add the Microsoft Internet Controls component and try and draw it on a form do you still get an error?
0
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!

 
LVL 1

Author Comment

by:jodyglidden
ID: 12276543
Do you mean add Ednamo's webbrower control?  If so, yes, I get the same error.

0
 
LVL 28

Expert Comment

by:AzraSound
ID: 12276572
I admit I haven't looked at his sample in a long while, but, he used to have it setup where you dropped a "regular" webbrowser on your form, and then used his type library to add all of these extra functionalities to it.  He has compiled his own control (with the webbrowser control embedded into it) now?
0
 
LVL 1

Author Comment

by:jodyglidden
ID: 12282583
Yes, there's now a control that he compiled.  If anyone can figure out how to turn off imagies with either his type libraries in combination with the normal control or the webbrowser embedded control let me know.  Thanks.
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 500 total points
ID: 12282701
I would try dropping him a line if you don't get any further support here.  I have written him in the past regarding his samples and he was usually quite prompt in his response.
0
 
LVL 1

Author Comment

by:jodyglidden
ID: 12293665
Thanks.  I tried emailing him last week notifying him of the error that I got as well as the similar error that I found a user had on google groups with his component and he doesn't respond unfortunately.  Oh well.  It looked like a good solution if only it were still active.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

724 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