Dec 24 2007
Opening a web link
This example will simply open a web link.
http://www.4shared.com/file/32912042/72ee8064/WebLink.html?dirPwdVerified=94310c6e
Possibly-related Articles:                                        (auto-generated)
3 Responses to “Opening a web link”
Leave a Reply
You must be logged in to post a comment.
Not A Member? Register for Free!






I have made a web link in the RichTextbox by using LinkLabel and it worked well , but I couldn’t place the LinkLabel in the location that I want.
In this example you used LinkLabel,
How can I open a web link using RichTextBox?
I want the user have the ability to write the text, the refer it to the web link that he choose, can I ?
Sarah:
There are basically two ways to relocate an object on a form:
1. Using the (x,y) coordinates seperately using top(y) or left(x), for example:
PictureBox1.Left = 300
PictureBox1.Top = 200
2. Define a new point by typing the following code as an example:
PictureBox1.Location = New Point(300,200)
P.S. You may check the moving icon example in CAP211 homepage.
——————————————
Amani:
keep in mind, you can always open a web link using the following statement System.Diagnostics.Process.Start(”http://www.google.com”) either with a Button, RichTextBox, a LinkLabel or even a Label.
In order to make the user enter the required link, you can save it in a variable and pass it in the parameter.
Yours,
Shada Al-Salamah