First of all, as Wes Aday advised in his comment to the question, just read the documentation on
ListView
. You did not tell us exact full name of the type, but it could be this one of these three:
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview%28v=vs.110%29.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.windows.controls.listview%28v=vs.110%29.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview%28v=vs.110%29.aspx[
^].
In principle, it could be some other, similar but unrelated type. Can you see now how important to indicate exact type names in your questions, as well as application type?
Now, there are no cases when hard-coded file paths, such as your ""F:\NEwFolder\FileLog.txt"", could be useful. Do you understand that the drive "F:" and even "C:" might not be available (or accessible) on the target system. Moreover, the code could be run on Mono or other CLR on some OS, such use
Unix-like, where there is not such thing as the concept of "drive letter". File paths should always be calculated during run-time, based on user input, some configuration files, environment, and so on.
Finally, you can do printing using the class named "
PrintDocument
", one or another:
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument%28v=vs.110%29.aspx[
^],
or
http://msdn.microsoft.com/en-us/library/system.windows.printing.printdocument%28v=vs.95%29.aspx[
^].
—SA