Hello

I'm trying to print a Text file using Borland (example: Test.txt) without opening the file (I'm done with my program, and this is a feature I'love to have by pressing a "Print report" button) with no success. Any one done this before?

Thanks

So you want to add a new feature without doing any work? ;) Since the data is already in a file, the path of least resistance is to send it to the spooler by way of a system command:

case ON_LEFT_CLICK: system ( "print test.txt" ); break;
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.