473,408 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Complete Beginner

Hi, a complete idiot would like some help with the following: I have 17 command buttons, which I would like to assign 17 text boxes to. The boxes are to be hidden, until the appropriate button is pressed. When the text box appears, I need to be able to add data to it, and then save it somewhere for future reference. I have tried using the combo box, but I cannot get it to work, even following examples in the books. Can anybody help me with this? :confused:
Jul 17 '06 #1
5 1816
sashi
1,754 Expert 1GB
Hi Steven,

see the below code on hiding a textbox..

in your form load
Expand|Select|Wrap|Line Numbers
  1.   Text1.Visible = False
  2.   ...
  3.   Text17.Visible = False
  4.  
in each command button (click event)
Expand|Select|Wrap|Line Numbers
  1.   Text1.Visible = True
  2.  
Jul 17 '06 #2
thanks very much, will try
Jul 17 '06 #3
Hi thanks very much for replying to a junior member. I understand your code, but when I apply it and then press run, I get a blank screen. What am I doing wrong?
It seems anything stronger than a command button and I'm lost, even when using tutorisals.
Jul 17 '06 #4
I, have sorted that bit! A result! The next thing is, when I go to enter text in the text box, it disappears, when I press the command button again, it reappers, oddly enough, with the text still in it. What is the way to keep the text box visible all the time?
Jul 19 '06 #5
Hi..Am doing Retailer software using VB 6.0 with ms-access..

Actually i have many form(sales entry form,purchase entry form ,stock form, etc..) in my project which all are in MDI except Log in form.

my problem is,,, when am loging in using my user id through log in form,then MDI form will b getting loaded..

my Doubt is......

now each form should have the userid which was currently logged in.. i have to use this id in all of my form where ever i want...Plz let me know the solution..

Thanks&Regards,
Bremanand.S
Jul 20 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Grrrbau | last post by:
I'm a beginner. I'm looking for a good C++ book. Someone told me about Lafore's "Object-Oriented Programming in C++". What do you think? Grrrbau
7
by: Rensjuh | last post by:
Hello, does someone have / know a good C++ tutorial for beginnners? I would prefer Dutch, but English is also fine. Hoi, heeft / kent iemand nog een goede C++ tutorial voor beginners? Het liefste...
9
by: UnixUser | last post by:
I am looking for some source code to run on Linux that will enable me to calculate and return a CRC32 value from a string of text. I have found one from snippets.org, but I cannot get it to...
27
by: MHoffman | last post by:
I am just learning to program, and hoping someone can help me with the following: for a simple calculator, a string is entered into a text box ... how do I prevent the user from entering a text...
18
by: mitchellpal | last post by:
Hi guys, am learning c as a beginner language and am finding it rough especially with pointers and data files. What do you think, am i being too pessimistic or thats how it happens for a beginner?...
3
by: jyck91 | last post by:
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> main() { float num; int i, temp, remainder, baseM, j; printf("Enter a number:"); scanf("%f",&num);
2
by: cob98tp | last post by:
Hi all I a complete beginner when it come to using HTML code so please help me out! All I want to do is create a link in my document that will add my page to the browers' favorites list. What I...
0
by: Alex | last post by:
Hi, I am a complete beginner with Oracle 9i and XML within it, not XML alone though. I am trying to do a regular SELECT statement using the SQL Scratchpad within the Oracle Enterprise Manager and...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.