Dredwick
asked on
Working Directory and File issues
I'm running into working directory issues where I need to open a file from the base directory/templates. If you click on the shortcut the installation creates, the file can't be found. I figure this is because the program is trying to open /teamplates/file and the working directory is who knows where! My solution is to read from the registry to get the installation base directory and go from there. This seems kind of stupid to have to read the registry whenever I need to access a file. Is there any easier way. I suppose I could read the variable once when my View gets created, then pass it to all its members who need it... And what about testing? Am I going to create a fake entry for now until I get towards final testing where installwizard creates its own entries? Comments anyone?!
Justin Deltener
deltener@mindtremors.com
Justin Deltener
deltener@mindtremors.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER