×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Lots of data

Lots of data

Lots of data

(OP)
Im working in some hydraulics calcs.(using lots of loops) that produces lots of
data, where can I send this data to be easy readable.
I tried with rictextboxes but it only accepts one line.
I was triying to send the data to a blank page but the help is horible.
What Can I do?

RE: Lots of data

How about writing the data to a text file, then when complete, display the file in a text box or fire up notepad and display it in that?

RE: Lots of data

(OP)
How can I do that?

RE: Lots of data

Well to start with read the VB help file related to the "Print" statement and look at the example (I've copied it below).  Then look up the "Input" statement.

From the VB5 help file

This example uses the Print # statement to write data to a file.

Open "TESTFILE" For Output As #1    ' Open file for output.

Print #1, "This is a test"    ' Print text to file.
Print #1,    ' Print blank line to file.
Print #1, "Zone 1"; Tab ; "Zone 2"    ' Print in two print zones.
Print #1, "Hello" ; " " ; "World"    ' Separate strings with space.
Print #1, Spc(5) ; "5 leading spaces "    ' Print five leading spaces.
Print #1, Tab(10) ; "Hello"    ' Print word at column 10.

' Assign Boolean, Date, Null and Error values.
Dim MyBool, MyDate, MyNull, MyError
MyBool = False : MyDate = #February 12, 1969# : MyNull = Null
MyError = CVErr(32767)
' True, False, Null, and Error are translated using locale settings of
' your system. Date literals are written using standard short date
' format.
Print #1, MyBool ; " is a Boolean value"
Print #1, MyDate ; " is a date"
Print #1, MyNull ; " is a null value"

Print #1, MyError ; " is an error value"

Close #1    ' Close file.

RE: Lots of data

You could also check that your RichTextBox has its MultiLine property set to True. It should then accept as much text as you need

Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376 before posting

RE: Lots of data

usually I output to a *.dat file; i often work with databases of a few million columns. Avoid plotting in Excel though! this has always been my main problem.

RE: Lots of data

You might also want to consider a grid.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close