Solved

Dynamic VB Forms

Posted on 1998-10-13
2
130 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

734 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