Solved

Web Browser woes

Posted on 1998-12-28
12
242 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
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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now