answersLogoWhite

0


Best Answer



TextBox1.Multiline = True


Dim amount As Integer = 200






For index As Integer = 1 To amount






TextBox1.Text = TextBox1.Text & " " & index ^ 2 & ","


Next
~


Note: make sure you have a textbox called textbox 1

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a program that counts by powers of 2 in visual basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you write a XComputer program that counts?

What is XComputer


How do you write a program in visual foxpro?

Same with other Visual Basic program, programming in FoxPro will require you to have the right syntax.


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999


What is Visual Basic Editor?

There have been many versions of Visual Basic. It is a program which allows you to write other computer programs. Each version of Visual Basic has come with an editor to allow you to write and edit code. This is called the "IDE", or "Integrated Development Environment".


What are the steps involved in creating visual basic programs?

The traditional way to learn any programming language is to start by writing a "Hello, World" program; this program should write "Hello, World" to the screen. To write such a program, you have to work out how to edit text, and run it through the compiler. Visual Basic, is almost like that, but window environment programs are event driven - they consist of routines that react to events - a button being clicked, a timer expering and so on. Visual Basic is also object orientated. Windows, buttons, every component of a program are objects or part of objects. With this in mind, its useful to read up on events and objects to see how to approach Visual programming. With a little knowledge, think of a project and try and write a program. Writing programs is by far the quickest way to become proficient in a language.

Related questions

How do you write a XComputer program that counts?

What is XComputer


How do you write a program in visual foxpro?

Same with other Visual Basic program, programming in FoxPro will require you to have the right syntax.


A program c plus plus on automorphic numbers or not?

how to write a program that counts automorphic number from 1 to 999


How do you write a C program in visual studio 2012?

Start a new Visual C++ project then begin writing your C code.


How do you write a program using function that counts the number of vowels in a string in java language?

Use text-editor notepad++


What is Visual Basic Editor?

There have been many versions of Visual Basic. It is a program which allows you to write other computer programs. Each version of Visual Basic has come with an editor to allow you to write and edit code. This is called the "IDE", or "Integrated Development Environment".


Where do you find the applications such as visual basic or visual C plus plus in visual studio 2010 there appears to be no actual applications?

Once you have the Visual Studio program open, go to File->New Project and select the language you want to write your program in. If one or more languages do not appear, you probably didn't choose to have them installed when you installed Visual Studio.


How much math is needed to program Visual Basic?

You don't really need math to write programs in Visual Basic or most any other language unless the program is about mathematical situations. Understanding of mathematical logic concept (AND OR NOT IMPLIES) does makes thing easier.


Why is visual basic is known as window program?

Because it cannot be used to write anything except Windows programs. The language is not cross-platform.


What are the steps involved in creating visual basic programs?

The traditional way to learn any programming language is to start by writing a "Hello, World" program; this program should write "Hello, World" to the screen. To write such a program, you have to work out how to edit text, and run it through the compiler. Visual Basic, is almost like that, but window environment programs are event driven - they consist of routines that react to events - a button being clicked, a timer expering and so on. Visual Basic is also object orientated. Windows, buttons, every component of a program are objects or part of objects. With this in mind, its useful to read up on events and objects to see how to approach Visual programming. With a little knowledge, think of a project and try and write a program. Writing programs is by far the quickest way to become proficient in a language.


How do you change the pre-recorded sound on something like the Staples Easy Button to different sound of your choice from the computer?

You would have to use a command script program, and write a program that could be programmed into the micro processing chip inside. Using a program like Visual Basic.


How do you use the parallel port in Visual Basic 6?

i want to Control Some External Hardware outside of my computer, I want to write program in VB language for LPT port.