I am very experienced with MS Access, but I am trying to transition to to VB.net and SQL Server. I am trying to build a multi-user database. The mdf file would be on some computer on the LAN, and each connected computer would have the application. I need a way to let the end users select the path to the mdf file, so only one mdf file is used. I've got a working method, but I want to make sure I'm on the right track. When a form loads, I have this:
My.Settings("mslConnectionString") = "Server=(localdb)\v11.0;Integrated Security=true;AttachDbFileName=E:\Documents\Visual Studio 2013\Projects\WindowsApplication3\WindowsApplication3\msl.mdf;"
Is that an appropriate way to link to the backend mdf file? What I envision doing is making a form where the end user can navigate to the correct network path, and then I guess I'd store that path in a text document. When the form is opened, it would first look at the text document and change the path at runtime. Thanks in advance.