Solved

Dynamic VB Forms

Posted on 1998-10-13
2
131 Views
Last Modified: 2010-04-30
Can anyone tell me if it is possible to create dynamic VB forms that only show controls according to a number parameter entered by the user?
A quick description.... I am new to VB and I want to create a small program that compiles surveys. The parameters to be entered are: number of categories on the survey form, number range for responses (eg 1 to 5 or 1 to 10, etc), number of surveys given out and number of surveys returned. What I need is for the form to show the right number of categories on the form according to the number entered. Everything else about this program is almost all straight math and file I/O. Also what is a good VB5 book out there??? I get confused with the selections out there now and I figure an expert will give me an informed choice rather than having to trust the blurbs on the book covers.

Thanks in advance for all the help....
George
0
Comment
Question by:gpequegn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
traygreen earned 150 total points
ID: 1439798
Question 1
in VB 5
Create an array of controls of each type
(set the index property to 0)

to add a control
Load <control array name>(<control array name>.Count)

some books I use
Doing Object in VB 5
Core Visual Basic 5

0
 

Author Comment

by:gpequegn
ID: 1439799
Sorry to take so long to reply to your answer.....I was suddenly compelled to stay in a hospital for two weeks and have only gotten back to my PC tonight...

Thanks for the answer and again, sorry for the delay.....

George P.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month6 days, 9 hours left to enroll

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question