How to ensure network drives are connected for an application?

前端 未结 5 2020
小蘑菇
小蘑菇 2021-01-18 15:03

I have a desktop Windows application that is installed in small office environments.

The application uses an .MDB database file as its database which is

5条回答
  •  臣服心动
    2021-01-18 16:01

    You asked, "Would a solution be to use \machine_name\share instead of drive letters?"

    I think, yes, it could be. A UNC path avoids 2 problems:

    1. share not connected to a drive letter
    2. share is connected, but mapped to a different drive letter than you expect

    The unknown is whether anything in your application makes a UNC path for the MDB either a complication or a flat out deal-breaker.

提交回复
热议问题