PDA

View Full Version : Copy a log file



fortyhideout12
14th August 2009, 20:54
So currently, after my program programs a certain a text file, it writes out a log file that is displayed on a dialog that pops up after programming is done.

I created a "copy button" in designer to will allow the user to copy the log whenever the button is clicked.

I'm having a hard time determining code to do this.



----

Also, what's a good way to format the text in html once it populates in the log file dialog.

Thank you,

wysota
14th August 2009, 21:23
To do what exactly? To program the button or to copy the log?

caduel
15th August 2009, 09:05
and what do you mean with "copy"?
make a file copy of the log file?, copy it to clipboard (ctrl+c, ctrl+v ...)?