[VB.NET] How to link button to my website ?
2014-02-27, 07:09 PM,
I need just quick help by you guys. So, I'm currently making some projects on VB.NET and need to connect button, which is in form1 to my website link.

So, to simple it more. In form1 there is a button, i need code that will fit in buttoncommand and run the website in the internet browser after clicking on button.

i think i explained it as simple as i could :D please help.
PS : I remember code was really short. few words and ("www.website.com"). smthng like that, lal

[Image: yLsq4.gif]
Share This Thread :
2014-02-27, 07:27 PM,
maybe this is what you need
MsgBox("Your message/Words", MsgBoxStyle.YesNo, "Message Title goes here")
        If MsgBoxStyle.YesNo Then
            System.Diagnostics.Process.Start("YOUR WEBSITE GOES HERE")
        End If
Latest Thanks - View all

TheMozak(2014-02-27 07:31 PM) 
2014-02-27, 07:31 PM,
System.Diagnostics.Process.Start("YOUR WEBSITE GOES HERE")

that is the code I needed. Thank you ;)

[Image: yLsq4.gif]
2014-02-27, 07:34 PM,
2014-02-28, 07:43 PM,
All you need is to add Process.Start("url") in the Button click event and the website will open automatically on the client's default browser.

"The master has failed more times than the beginner has even tried"

My VIP Shares:
How to stop Chrome from blocking PPI installers
How to make advanced, custom messageboxes that match your theme in VB.

2014-02-28, 07:46 PM,
The code you should try is:

How to implement that:
1. Create a button and call it something like: visit my site (or so..)
2. Double click
3. Add the code
4. Test it :)

Please PM me if it didn't worked and I will open the thread again for more suggestions!

Related Threads
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 32 10,869 2017-10-28, 04:51 PM
Last Post: waiphyoe
  Button + iframe hopsa 3 473 2017-09-21, 07:18 PM
Last Post: FlyingCactus
  [TUTORIAL]Get free premium fonts from myfonts website Raman saab 26 5,861 2017-07-28, 07:01 PM
Last Post: tamerimran
  How to make step content in website 5light 0 253 2017-07-24, 11:04 AM
Last Post: 5light
  Help needed - Download link freakkz 3 603 2017-01-29, 10:23 PM
Last Post: CharlieHarper

About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top