Post: Need some VB help
12-12-2010, 08:06 AM #1
Drake
<3 SGC
(adsbygoogle = window.adsbygoogle || []).push({}); Basically I want the button btnTest to be greyed out and un clickable if in tbUrl it says EG: facebook.com

If you help ill give you rep

I will give you 50k vBux if you tell me how to make it so that when you click btnStart it starts a webpage on "https://tbUrl.com" so that it starts whatever is inside tbUrl but with https:// at the start.
Last edited by Drake ; 12-12-2010 at 08:27 AM.
12-12-2010, 02:29 PM #2
Default Avatar
Oneup
Guest
Originally posted by Mr.
Basically I want the button btnTest to be greyed out and un clickable if in tbUrl it says EG: facebook.com

If you help ill give you rep

I will give you 50k vBux if you tell me how to make it so that when you click btnStart it starts a webpage on "https://tbUrl.com" so that it starts whatever is inside tbUrl but with https:// at the start.


If tbUrl.text ="facebook.com" Then
btnTest.enbabled = false
end if
12-12-2010, 02:31 PM #3
its HTML Coding. so you wont the button to be clickaball ???. PM i no how.
12-12-2010, 02:34 PM #4
Default Avatar
Oneup
Guest
Originally posted by Casper92 View Post
its HTML Coding. so you wont the button to be clickaball ???. PM i no how.


Read the thread title
Originally posted by another user
Need some VB help


Nothing to do with HTML
12-12-2010, 02:37 PM #5
Originally posted by UP View Post
Read the thread title


Nothing to do with HTML


Dr-Drake. PM , i no what to do m8. i did it for my self.
12-12-2010, 02:39 PM #6
Default Avatar
Oneup
Guest
Originally posted by UP View Post
If tbUrl.text ="facebook.com" Then
btnTest.enbabled = false
end if


Originally posted by Casper92 View Post
Dr-Drake. PM , i no what to do m8. i did it for my self.


I already solved the problem with no need for a pm
12-12-2010, 10:47 PM #7
Drake
<3 SGC
Originally posted by Casper92 View Post
Dr-Drake. PM , i no what to do m8. i did it for my self.


I want also the next part I said. So if tbUrl its facebook.com ,

When you press start it starts You must login or register to view this content.. + facebook.com

50k in it for you.
12-12-2010, 10:52 PM #8
Default Avatar
Oneup
Guest
Originally posted by Mr.
I want also the next part I said. So if tbUrl its facebook.com ,

When you press start it starts You must login or register to view this content.. + facebook.com

50k in it for you.

    
Private Sub btnstart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnstart.Click
Process.start("https://tbUrl.com")

End Sub


That will start whatever url you put in to open in their default browser
12-12-2010, 11:14 PM #9
Drake
<3 SGC
Originally posted by UP View Post
    
Private Sub btnstart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnstart.Click
Process.start("https://tbUrl.com")

End Sub


That will start whatever url you put in to open in their default browser


Thanks a lot i'll try it now. :y:

---------- Post added at 10:14 AM ---------- Previous post was at 09:57 AM ----------

Originally posted by UP View Post
I already solved the problem with no need for a pm


How do I make it so if there is anything else in it it is enabled?
12-12-2010, 11:22 PM #10
Default Avatar
Oneup
Guest
Originally posted by Mr.
Thanks a lot i'll try it now. :y:

---------- Post added at 10:14 AM ---------- Previous post was at 09:57 AM ----------



How do I make it so if there is anything else in it it is enabled?


Actually a few ways, one just being an edit on the if statment

    If tbUrl.text ="facebook.com" Then
btnTest.enbabled = false

else
btntest.enabled = true
end if


Care to elaborate what exact controls you are using. I know most of what you were using but im not sure if tburl is a tab or something else

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo