I need small help please :)

Discussion in 'Programming General' started by Hoxxy, May 26, 2009.

I need small help please :)
  1. Unread #1 - May 26, 2009 at 2:02 PM
  2. Hoxxy
    Joined:
    Aug 26, 2008
    Posts:
    69
    Referrals:
    0
    Sythe Gold:
    0

    Hoxxy Member
    Banned

    I need small help please :)

    Ok, when someone is closing my program, when they push the Exit button, a web page pops up in their browser. How do I do this?
     
  3. Unread #2 - May 26, 2009 at 3:31 PM
  4. P o ii Z oN
    Joined:
    May 24, 2009
    Posts:
    59
    Referrals:
    0
    Sythe Gold:
    0

    P o ii Z oN Member

    I need small help please :)

    Why would you want to do that?
     
  5. Unread #3 - May 26, 2009 at 3:32 PM
  6. phpMyTony
    Joined:
    Apr 12, 2009
    Posts:
    902
    Referrals:
    2
    Sythe Gold:
    0

    phpMyTony Apprentice
    Banned

    I need small help please :)

    They want to make something like them shock sites that you cant quick - eg. sourmath, nobrain
     
  7. Unread #4 - May 29, 2009 at 6:08 PM
  8. Samarkov
    Joined:
    Feb 21, 2008
    Posts:
    147
    Referrals:
    0
    Sythe Gold:
    0

    Samarkov Active Member

    I need small help please :)

    Code:
    private sub form1_closing(....yadayada...)handles form1.close
    e.cancel = true
    webbrowser1.navigate("http://bringvictory.com")
    end sub
    
    Enjoy
    ~~Samarkov
     
  9. Unread #5 - May 29, 2009 at 6:31 PM
  10. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    I need small help please :)

    ...

    He wants to open a new webpage in their default browser.

    Try using the Process.Start() function.

    e.g.

    Code:
    System.Diagnostics.Process.Start("http://www.google.com.au/")
    in your form's close event. I'm not sure if that just the address will work, but I think it opens it in your default browser.
     
< [C#] Global Variables. | Read INI Files from a webserver? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site