Solved

Webbrowser control with no images

Posted on 2004-10-08
8
608 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 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