Opening default browser from VC++


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Opening default browser from VC++

  1. #1
    Join Date
    Mar 2005
    Posts
    1

    Opening default browser from VC++

    Hi,

    I am new to VC++
    How to open the default web browser from the VC++? Is there any system command available.

    I hope ShellExecute can be used. But whether there is any other command that can be used instead of this?

    Thanks in Advance for your help

    -Vijay-
    :WAVE:

  2. #2
    Join Date
    Dec 2003
    Posts
    3,366
    If you want to cheat, make an empty html file and do system("whatever.html"); (or shellexecute) and it will do the job.
    You can also read the registry, find the default, and call that executable, harder way to get the same result.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center