a Link to a web in a Visual Basic Program

Posted on 2003-02-20
Medium Priority
Last Modified: 2013-11-25
How can I put a link to a internet web in a Visual Basic 6.0 program?
Question by:ppt
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 11

Accepted Solution

rdrunner earned 200 total points
ID: 7986086
that is not "really" supported right now...

You have to help yourself with a Lable and a click event and then create a new Iexplorer and navigate to it...

Also make sure you put a line under your lable and color it blue so it looks like a link...

Dim ie As New InternetExplorer
ie.Visible = True
ie.Navigate2 "www.google.de"

Expert Comment

ID: 7986750
A quick way without a webbrowser object is:

shell "explorer http://www.google.com", vbMaximizedFocus

This launches windows explorer as a program and sends the URL as a parameter.

Expert Comment

ID: 7991000

You can Try This:

Dim Res,F

Res=shell("start" & F, 0)

opens in the same window

For WindowsXP
Res = Shell("c:\programas\internet explorer\iexplore.exe " & F,0)

this open other window in each command
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 8032785
Thanks for help :))
LVL 11

Expert Comment

ID: 8033068
Accept a comment as answer please ;)

Expert Comment

ID: 8901394
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
LVL 49

Expert Comment

ID: 8963871
Moderator, my recommended disposition is:

    Split points between: rdrunner and JoaTex

DanRollins -- EE database cleanup volunteer

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

770 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