cap211

Visual Basic .NET weblog

&
 
  •  

    December 2007
    S S M T W T F
         
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  

Dec 24 2007

Opening a web link

Published by cap211 at 4:11 pm under Examples Edit This

This example will simply open a web link.

http://www.4shared.com/file/32912042/72ee8064/WebLink.html?dirPwdVerified=94310c6e

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
Possibly-related Articles:                                        (auto-generated)

3 Responses to “Opening a web link”

  1. Sarahon 26 Dec 2007 at 3:08 pm edit this

    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.

  2. Amanion 26 Dec 2007 at 3:52 pm edit this

    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 ?

  3. cap211on 31 Dec 2007 at 8:27 pm edit this

    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

Comments RSS

Leave a Reply

You must be logged in to post a comment.
Not A Member? Register for Free!

Some Today.com contributors may have received a fee or a promotional product or service from a manufacturer for promotional consideration, while others receive no consideration at all. Each contributor is responsible for disclosing any such promotional consideration.