Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 21st, 2007, 10:46 PM
Authorized User
 
Join Date: Feb 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Find default browser

I'm running some code called ProcessControlVB that I downloaded from somewhere. It opens Notepad, Adobe Reader, or Internet Explorer. I can change the code to open Firefox instead of Internet Explorer.

What I would like to do is be able to determine the default browser and open it (whatever browser it might be). Any help in determining what the default browser is would be greatly appreciated.

 
Old March 22nd, 2007, 07:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

there has to be a registry key that hold that info.. try to google about it...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
 
Old March 22nd, 2007, 08:21 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's a link that may be of interest (you'll see a cmd that opens the default browser):

ShellExecute: ShellExecute Madness: http://vbnet.mvps.org/index.html?cod...ellexecute.htm

- Adam Kahtava [http://adam.kahtava.com]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Query in a browser/address bar i.e. default.aspx?i takwirira ASP.NET 2.0 Basics 1 June 12th, 2008 07:58 AM
Finding Default Browser lowell Visual Basic 2005 Basics 0 March 23rd, 2007 08:36 PM
Launch default browser in a new browser window haiying Beginning VB 6 1 August 30th, 2005 05:48 PM
default browser dwz VB How-To 1 November 10th, 2003 08:55 AM
browser "Find" option does not work...w/frames. abbylee26 Classic ASP Basics 1 October 23rd, 2003 05:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.