954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to output this VB code in Console?

How to output this VB code in Console?

Get the numbers from a txt file:
1
4
7
15
1000

This is the output:
1 *
4 ****
7 *******
100 (not largeat than 20)

Please help, I'm new in VB.

leticiasue
Newbie Poster
2 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

Here's a line to a site that shows how to read from a text file:

http://www.astahost.com/info.php/text-file-operations-vb-net_t6372.html

As far as writing to console, you can use this code:

Console.WriteLine("Hi")
timothybard
Posting Whiz
322 posts since Mar 2007
Reputation Points: 27
Solved Threads: 29
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You