-
Help calling HTML page
I have a VB6 app that I want to display HTML directions. The Shell command seems to require a .EXE to run. It will not accept just the target html page such as:
Shell "C:\Data\Page.htm", vbNormalFocus
This returns a "File not Found" error. Is there any way to make a webpage display using just the page info?
The command:
Shell "IEXPLORE.EXE c:\data\page.htm", vbNormalFocus
does not work either, as the Shell command needs the full path to the .EXE. The only way I could get this to work at all was with the command:
Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE c:\data\page.htm", vbNormalFocus
Is there any way to call the default HTML viewer (IE, Mozilla, etc)? I do not want to hard code a path to IE in the code. The user's installation may be non-standard or have IE removed all together.
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
Replies: 1
Last Post: 05-04-2005, 12:10 PM
-
By steve hamilton in forum Web
Replies: 3
Last Post: 05-20-2002, 07:00 PM
-
Replies: 1
Last Post: 05-07-2002, 10:32 AM
-
By Iain Munro in forum ASP.NET
Replies: 0
Last Post: 02-22-2002, 07:44 AM
-
By K.Balaraman in forum ASP.NET
Replies: 2
Last Post: 02-10-2001, 02:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks