Hi. I am having to write a program which connects to an Access database across a network, on another domain from the one in which the program runs. Therefore, I need to provide network credentials in order to access the resource.
At the moment, I am using a system() call to run a 'net use' command, and map a network drive - supplying the logon details in the process.
Is there any way of incorporating that level of authorisation into a DAO open command, or is there a better way of mapping a network drive than using system() - it feels a bit clumsy to me?