calling internet explorer from vb


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: calling internet explorer from vb

  1. #1
    charlo Guest

    calling internet explorer from vb


    Hi,

    I was wondering if there is a way to launch internet explorer from visual
    basic such that it displays an html file saved on the hard-drive.

    I haven't been able to find any i.e. launching references in msdn or online.
    Could someone please point me in the right direction ?

    Thanks,

    Charlo

  2. #2
    Phil Weber Guest

    Re: calling internet explorer from vb

    > I was wondering if there is a way to launch Internet Explorer
    > from Visual Basic such that it displays an HTML file saved
    > on the hard drive.


    Charlo: See the tip, "Launch a PC's default browser with ShellExecute API"
    at http://msdn.microsoft.com/vbasic/tec...00pasttips.asp . You should be
    able to simply pass the file name in the lpFile parameter; if that doesn't
    work, try prefacing the file name with "file://" (without the quotes).
    ---
    Phil Weber



  3. #3
    Ian Hicks Guest

    Re: calling internet explorer from vb


    I seem to remember there being a whole "Internet Pack" that you could download
    that provided all of the tools for integrating IE into VB. It's probably
    3-4 years ago that I saw and downloaded this. We trialled it and threw it
    away, but I'm sure that it integrated it much better than running a shell
    command.

    Ian

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