Results 1 to 3 of 3

Thread: Hyperlinks to actions in Visual Basic?

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Johannesburg, South Africa
    Posts
    2

    Exclamation Hyperlinks to actions in Visual Basic?

    I've been programming mainly in ASP and COM components but I now have to convert on of the web applications to Visual Basic.

    Is it possible to display different fields from a database in a form, where some of them link to other reports and also print this report?

    For Example:
    Occupation:
    Software Developer

    Description:
    Write software

    Related Occupations:
    System engineer
    Web solutions architect
    etc.

    Where the related occupations are hyperlinks?
    Corne Grotius

  2. #2

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Johannesburg, South Africa
    Posts
    2
    Anyone have advice on this?
    Corne Grotius

  3. #3
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    In a standard VB app, you don't have a hyperlinlk object per se (folks - correct me if I'm wrong - I haven't done much web stuff). (I beleive VB.NET will have a built-in hyperlink control, but I don't see corporate America upgrading to that anytime soon.)

    What you could do, however, is simulate a hyperlink using a label control. On the MouseMove event of the label, you could change the appearance of the label to be a certain color and underlined (you could even change the mousepointer to a different icon, like a hand). Unfortunately, in standard VB we don't have "Mouse Leave" events, so, on the MouseMove event of the form, you could change the label appearance and mousepointer back to what they were. On the Click event of the label, you could show another form with the information related to the label.
    "It's cold gin time again ..."

    Check out my website here.

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