[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Webbrowser control with no images

Posted on 2004-10-08
8
Medium Priority
?
623 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
Independent Software Vendors: 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 1500 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

Industry Leaders: 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!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

656 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