The process cannot access the file \'F:\\copy back up\\system\\HRM 2-5-2013\\HRM\\HRM\\lanbased.txt\' because it is being used by another process. This is my code in sub main
Looks like you need to close your streamReader before opening the new form:
objReader.Close()
That will free the file.