Menu

#50 ZConnection - Relative Path

open
nobody
None
2024-07-26
2024-07-26
No

The LibraryLocation property of the ZConnection component appears to require an absolute path. It would be nice if it would also work with a relative path. That way, if we include the library files with the executable, the whole package would be much more portable.

As it is now, if I want to be able to move my project to another location, or share it with somebody else, I need to set up a directory for the library files someplace static, and make sure that anybody who ever needs the project can also access that same path on their computers.

Or I have to extract the path of the executable at runtime when it launches, modify the LibraryLocation accordingly, and then open the ZConnection and all of the ZTables, etc. programatically.

Supporting a relative path would save a lot of trouble, and greatly improve the portability of our applications.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB