• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

Web Browser woes

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
Yobb
Asked:
Yobb
1 Solution
 
jeffcameronCommented:
two questions - what is a vbd and are you using microsoft internet controls
0
 
idcanadaCommented:

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
 
YobbAuthor Commented:
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!

 
YobbAuthor Commented:
The starting path, can you explain that further
0
 
YobbAuthor Commented:
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
 
jeffcameronCommented:
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
 
YobbAuthor Commented:
Tried that already, the behavior is still the same.
0
 
jeffcameronCommented:
that is odd, it works on my computer.
0
 
YobbAuthor Commented:
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
 
jeffcameronCommented:
Does your vbd work when you hit run in the VB IDE.  
0
 
YobbAuthor Commented:
Yes, the vbd will come up in IE.
0
 
sulliCommented:
remove the vbd from VSS
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now