View Single Post
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#96
What is the point of having thigns actually be just files in the filesystem if it's just a mess of things piled up in the same place? If there is a whole layer of software making that mess not be a mess, then whats the point of using the file system ?


The point is having things be organized, if there is need to always know where somthing is, don't hardcode a path, use a way that no matter where the things is, you know it (like an environment variable, or identifying the path for the thing somewhere, be it a registry, or a filesystem abstraction like symlinks that always have the same name, under a folder that is always the same etc). Hardcoding values that people might have some reason (even reasons you can't think off) to want to change, is a bad habit.




Regarding messing with the registry with Visual Basic, a quick google search led me to this: http://msdn.microsoft.com/en-us/libr...8VS.80%29.aspx ; i don't think that was the approach i used at the time, it involved a few more steps to have things set up, but either way, it's somthing quite simple, about as simple as messing with text files in arbitrary paths.

Last edited by TiagoTiago; 2010-10-12 at 19:34.