Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

New instance of control..

Posted on 2000-03-18
6
Medium Priority
?
133 Views
Last Modified: 2010-05-02
What statement is used to create a new instance of a control that is defined as a control array ?

1)Instance
2)New
3)Create
4)Load

Thanks,
bhavesh
0
Comment
Question by:bhavesh55
[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
6 Comments
 
LVL 6

Expert Comment

by:Marine
ID: 2631727
use load statement.
for i = 1 to 3
     load command(i)
next
if this was a command button it would have created more command buttons ofcourse you would have had to position them so they won't be on top of another.
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2631738
Stop asking test questions!

To everyone else... This guy graded my last CORRECT answer as a "D"... Don't let him bring your grade average down...
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2631842
bhavesh55's grade ratio:  14 / 28
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Accepted Solution

by:
kram earned 20 total points
ID: 2632177
use the load statement
0
 

Author Comment

by:bhavesh55
ID: 2632312
Are you sure ?
0
 
LVL 6

Expert Comment

by:Marine
ID: 2632333
my answer showed the correct answer to your questin. TO create a control array you would have to set the index of control to 0 right. Then to add a control at runtime you would have to use a load statement . Doing that will create a control with incemented index. You can see it.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 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