Ok thank you i will read the documentation tomorrow. I know the app_path thing is pointless but i am so used to vb6 i cant get past using it.