I need to obtain visual basic code to determine the "start-in" directory. The dir where the project is run from.

I cannot use the CurDir function because the directory is changed in various parts of the program and I am having a hard time determining where. Is there any other way of extracting this information.

Thanks,
Kevin