1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help with making hyper link

Discussion in 'Programming Chat & Support' started by Trigger-happy, July 23, 2008.

  1. Trigger-happy

    Trigger-happy FS Member

    can someone help me about how to make a hyper link? I have already made the link text. Its my first time making this so i really need help, I'm a noob at this lol. I got this idea from exrix920 GCF downloader, sorry if I'm copying it, I'm just trying to learn, also can you please tell me how to put the progress bar when downloading and also how to link the downloads with the drop down box and also the button.


    [​IMG]

    Thanks for reading,

    Trigger-happy
     
  2. Renegade334

    Renegade334 New Member

    What is the hyperlink supposed to do?
    Simply navigate to an url?
    Then you could simply use the Hyperlink.NavigateUrl property ;)
     
  3. Trigger-happy

    Trigger-happy FS Member

    oh yea thanks alot man!
     
  4. WorldWarIII

    WorldWarIII Guest

    You can also do. Process.Start("Link here") or Shell("link here")
    Either of those should also work.
     
  5. EriX920

    EriX920 FS Administrator

    No, shell will not unless the link points to file://whatever.exe. Use start for all instances that you want to load a webpage.

    So double click the URL you made in the designer and for the code put:
    Code:
    Start(Hyperlinklabel.Text)
    
    Of course the hyperlinklabel part has to match the name of the control.
     
  6. Trigger-happy

    Trigger-happy FS Member

    thanks man :) also how did you do the download thing where you select a file from drop down box and then downloaded it.
     
  7. EriX920

    EriX920 FS Administrator

    Oh, sorry for the late reply.

    Well, I did..
    Code:
    Dim mDir As String = http://www.whatever.com/filefolder/
    Download(mDir + fileSelect.SelectedItem)
    
    That should get you started, need anything else post back ;).
     
  8. Trigger-happy

    Trigger-happy FS Member

    cheers man! :)
     
  9. Trigger-happy

    Trigger-happy FS Member

    still having problem, download is not declared. also can you give an example, like if i want to do base source engine 2.gcf
     
  10. deltatsunami

    deltatsunami New Member

    How about learning a language that doesn't rely on dragging and dropping?
     
  11. hot_wired13

    hot_wired13 FS Member

    There're many tutorials on web controls, read up a lil :)
     
  12. lark

    lark Full Member

    or you could open a new window for Firefox or any other web browser with whatever URL you want to visit.
     

Share This Page