Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

a Link to a web in a Visual Basic Program

How can I put a link to a internet web in a Visual Basic 6.0 program?
0
ppt
Asked:
ppt
1 Solution
 
rdrunnerCommented:
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"
0
 
lj75Commented:
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.
0
 
JoaTexCommented:
Hi

You can Try This:

Dim Res,F

F=http://neteurooeiras.com.sapo.pt
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
Jo
0
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!

 
pptAuthor Commented:
Thanks for help :))
0
 
rdrunnerCommented:
Accept a comment as answer please ;)
0
 
CleanupPingCommented:
ppt:
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?
0
 
DanRollinsCommented:
Moderator, my recommended disposition is:

    Split points between: rdrunner and JoaTex

DanRollins -- EE database cleanup volunteer
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now