A sub procedure in Visual Basic that sets the vertical and horizontal sizes of a form named
DemoForm to half the vertical size of the screen and to three-quarters the horizontal size of the screen

A program that can be used to generate and display the following multiplication table in a text box
control. Don’t use arrays
Multiplication Table
* 1 2 3 4 5 6 7
1 1 2 3 4 5 6 7
2 2 4 6 8 10 12 14
3 3 6 9 12 15 18 21
4 4 8 12 16 20 24 28
5 5 10 15 20 25 30 35
6 6 12 18 24 30 36 42
7 7 14 21 28 35 42 49


A Visual Basic program that incorporates a function to return the character which follows the input
character according to the ASCII table. For example, if the user specifies “A”, the function has to return
“B”. No error checking necessary. Use inputbox dialog for inputs and messagebox dialog for outputs
perform the task after a click of a button.

A program to solve the Towers of Hanoi problem. Allow the user to enter the number of disks in a
TextBox. Use a recursive Tower method with four parameters:
1. the number of disks to be moved
2. the peg on which these disks are threaded initially
3. the peg to which this stack of disks is to be moved
4. the peg to be used as a temporary holding area
Your program should display in a TextBox with scrolling functionality the precise instructions for
moving the disks from the starting peg to the destination peg. For example, to move a stack of three
disks from peg 1 to peg 3, your program should print the following series of moves:

Recommended Answers

All 4 Replies

And a program to read the rules of DaniWeb perhaps?

where are the solutions, am intrested

Read the rules, read the rules, read the rules.
Yes, written 3 times in case the first and second time you forget to read them, maybe the third time you will?

Also only put one problem in a post. This way each can get the attention it deserves and also helps other people with the same problem find a solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.