Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to create array of richtextbox in vb.net

Posted on 2007-11-30
4
Medium Priority
?
959 Views
Last Modified: 2013-11-26
Hi,
how to create array of richtextbox in vb.net
Regards.
0
Comment
Question by:anusdesai
[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
  • 2
4 Comments
 
LVL 21

Expert Comment

by:surajguptha
ID: 20381756
Have a for loop where you create a new richtextbox and then add it to the
this.Controls.Add(richtexttbox)
0
 

Author Comment

by:anusdesai
ID: 20382600
Can you give me a code sample
0
 
LVL 21

Accepted Solution

by:
surajguptha earned 2000 total points
ID: 20382891

        For index As Integer = 1 To 10
            Dim RichTextBox1 As New System.Windows.Forms.RichTextBox
            RichTextBox1.Name = "RichTextBox1" + index.ToString()
            RichTextBox1.Location = New Point(index * 50, index * 100)
            Controls.Add(RichTextBox1)
        Next

Open in new window

0
 

Author Comment

by:anusdesai
ID: 20387755
Ceers mate
0

Featured Post

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

722 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