Forum Discussion
mark_addinall
11 years agoOccasional Contributor
If you want to smply check that the contents of the file are what you expect then you can add the file to your stores container in your test project and use the various methods of comparison available - Files.Compare() comes to mind.
If you want to store the text of the file in memory and do something with it then you will need to have a look at the references for the FileSystemObject I mentioned earlier.
http://msdn.microsoft.com/en-us/library/aa242706(v=vs.60).aspx
or
http://www.w3schools.com/asp/asp_ref_filesystem.asp
If you want to store the text of the file in memory and do something with it then you will need to have a look at the references for the FileSystemObject I mentioned earlier.
http://msdn.microsoft.com/en-us/library/aa242706(v=vs.60).aspx
or
http://www.w3schools.com/asp/asp_ref_filesystem.asp
Related Content
- 4 years agoTommyTester
- 8 years agoWestManBruce
- 5 years agoJonathanRoux
- 3 years agokimmatsumoto