Hi,

I have this program that validates error and then logs it in a text file,
but here is the problem, I want to know how show the text file that has been made after the logs have been written,

for example, I have validated all the errors, and then creates a text file that has appended all the strings, then after my pop message, I want the text file to pop also, showing all the logs that have been created..

how can this be made?

thanks

Recommended Answers

All 4 Replies

The stream reader will let you access the text in the file. Once it is a string you can do whatever you want with it

The stream reader will let you access the text in the file. Once it is a string you can do whatever you want with it

I mean I need to show the text file, not just the contents

Be a part of the DaniWeb community

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