VB basics

  • Thread starter Thread starter BobS
  • Start date Start date
B

BobS

I'm new go VB --- I'm new to programming. I have VB.net
and I've been tasked with creating a program that reads a
data file takes the information in the file and draws a
colored square on a form. It's for a computer inventory
that draws squares on a map to show the location of
equipment. the data file has information to show
building, floor, x_cord, y_cord, cpu_speed. Different cpu
speeds get different colors.
whats the best way to read information from a text file
into an array??
Any help to get me started is appreciated
 
Look at the System.IO.StreamReader class for reading from the files. Then
declare a string array and place the text file contents into the array.
 
Hi Bobs,

You can even get more help than from Scott, but than I think you have to
show the structure from your datafile (the recordlayout). Without that it is
not well to be answered in my opinion.

And place than the question not in this newsgroup but in
Microsoft.public.dotnet.languages.vb

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top