CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    28

    Adding web links to a form

    Hi all,

    I would like to get the web links from a database and display on the form. When the user clicks the link Internet Explorer opens and goes to the link. Do you know how I can do this? In which tool box element must I put the link content ? (label or what? it is not label but what then )

    Thank you

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Adding web links to a form

    I like the Rich Text Box. See this sample.
    Attached Files Attached Files
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jul 2005
    Posts
    1,083

    Re: Adding web links to a form

    I like a simple LABEL control
    See sample attached
    Attached Files Attached Files

  4. #4
    Join Date
    Jan 2007
    Posts
    28

    Re: Adding web links to a form

    jggtz you code is working perfect with the labels. I need more than one links in same label and I need it to be taken from the database. Is it possible to make it with a loop or sth? Can you give me a working example?

    I have no idea how to do that

  5. #5
    Join Date
    Jul 2005
    Posts
    1,083

    Re: Adding web links to a form

    Start your creativity with the next attachment
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured