GetDotted Domains

Viewing Thread:
"Visual Basic Tab and Text Box Controls"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sat 02/04/05 at 18:07
Regular
"the burning sky"
Posts: 4,984
Right I'm using VB for Access. I have a text box on a tab page. How the heck to I reference to it, so that I can change it's value? I've tried Forms!FormName!TabName!TextBoxName = "Whatever" but I get a variety of errors. I was just wondering if any kind soul out there knew how to do it. Cheers.
Sun 03/04/05 at 16:45
Regular
"Devil in disguise"
Posts: 3,151
Chipseh wrote:
> Print msgbox("Blah blah blah")

That executes the msgbox and then prints what msgbox returns if anything.
MsgBox("Blah blah blah") on its own works fine in VB.
Sun 03/04/05 at 16:16
Regular
Posts: 5,323
I can never remember using the Print command.
..its been a while since using VB, I created a crappy Trojan - which I am going to re-program in Delphi.
Sun 03/04/05 at 10:32
Regular
"Jog on, sunshine"
Posts: 8,979
Yep, they are. For instance, if you wanted a msgbox in Access you'd type:

Msgbox "Blah blah blah"

whereas in the real VB environment you type:

Print msgbox("Blah blah blah")
Sun 03/04/05 at 00:20
Regular
Posts: 5,323
VB and the VB that you use for access are different in some ways.
Am I right? I have always wondered this.
Sat 02/04/05 at 18:55
Regular
"the burning sky"
Posts: 4,984
Nevermind i've cracked it. You didnt even need to specify the tab name, just the textbox name and it found it. Damn me for overcomplicating things.
Sat 02/04/05 at 18:07
Regular
"the burning sky"
Posts: 4,984
Right I'm using VB for Access. I have a text box on a tab page. How the heck to I reference to it, so that I can change it's value? I've tried Forms!FormName!TabName!TextBoxName = "Whatever" but I get a variety of errors. I was just wondering if any kind soul out there knew how to do it. Cheers.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.