Solved

Web Browser woes

Posted on 1998-12-28
12
247 Views
Last Modified: 2008-02-01
I have an activex control that has a webbrowser on it. It is supposed to bring up some vbd's for viewing, but it (for some reason) starts internet explorer and a dialog box going through a download of the path name. IE never loads it and the webbrowser ends up showing a "Navigation Cancel" text in it.
0
Comment
Question by:Yobb
[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
12 Comments
 
LVL 1

Expert Comment

by:jeffcameron
ID: 1452783
two questions - what is a vbd and are you using microsoft internet controls
0
 
LVL 4

Expert Comment

by:idcanada
ID: 1452784

If you set the starting path properly, you will never get the Navigation Canceled.
Review this.
As for its Splash screen, cancel the new Window event.

Best of luck.
0
 

Author Comment

by:Yobb
ID: 1452785
A vbd is a file extension for a compiled user document, and yes I am using the webbrowser out of the MS Internet Controls components
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!

 

Author Comment

by:Yobb
ID: 1452786
The starting path, can you explain that further
0
 

Author Comment

by:Yobb
ID: 1452787
I have taken the webbrowser out of the ActiveX control project and still IE launchs and tries to go to an html file named after my project in the vb folder of visual studio.
0
 
LVL 1

Expert Comment

by:jeffcameron
ID: 1452788
Try to open a vbd your program with this syntax.  webbrowser.navigate "c:\projects\test\filename.vbd"  

A word of advice if you are using the webbrowser activex control in another activex control project you may experience some liscensing problems when deploying it to a computer without vb.  I had this problem with another ActiveX control.  So I would do some testing first before you devote a lot of time as I did.
0
 

Author Comment

by:Yobb
ID: 1452789
Tried that already, the behavior is still the same.
0
 
LVL 1

Expert Comment

by:jeffcameron
ID: 1452790
that is odd, it works on my computer.
0
 

Author Comment

by:Yobb
ID: 1452791
Okay, here's something. Giving a pathname works for a quick vbd I did, but if I give the pathname for the vbd I want it to show, it just gets stuck showing the "download" dialog box.
0
 
LVL 1

Expert Comment

by:jeffcameron
ID: 1452792
Does your vbd work when you hit run in the VB IDE.  
0
 

Author Comment

by:Yobb
ID: 1452793
Yes, the vbd will come up in IE.
0
 

Accepted Solution

by:
sulli earned 200 total points
ID: 1452794
remove the vbd from VSS
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

734 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