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:

Impressive control panel
I have to say that I'm impressed with the features available having logged on... Loads of info - excellent.
Phil
I've been with Freeola for 14 years...
I've been with Freeola for 14 years now, and in that time you have proven time and time again to be a top-ranking internet service provider and unbeatable hosting service. Thank you.
Anthony

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.