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, 11:30 PM #11
Drake
<3 SGC
Originally posted by UP View Post
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


So there is a button called btnstart also a text box called tbUrl. Basically I want it so if you type in sgvfksedhfui.com it will start [url]https://www.(whats[/url] in tburl).com
12-12-2010, 11:35 PM #12
Default Avatar
Oneup
Guest
Originally posted by Mr.
So there is a button called btnstart also a text box called tbUrl. Basically I want it so if you type in sgvfksedhfui.com it will start [url]https://www.(whats[/url] in tburl).com


Ok so this is what you would do, same code for process.start
but instead use

process.start(tbURL.text)

If https:// and .com are not part of the box (which really it should be)

you could do some concatination.

So

Dim urlString as string

urlString = "https://" & tburl.text & ".com"

process.start(urlString)
12-12-2010, 11:48 PM #13
Drake
<3 SGC
Originally posted by UP View Post
Ok so this is what you would do, same code for process.start
but instead use

process.start(tbURL.text)

If https:// and .com are not part of the box (which really it should be)

you could do some concatination.

So

Dim urlString as string

urlString = "https://" & tburl.text & ".com"

process.start(urlString)


genius. thanks ill try again now.


worked thanks.
Last edited by Drake ; 12-12-2010 at 11:53 PM.

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo