StrataFrame Forum

Shared Settings File on a web server

http://forum.strataframe.net/Topic12908.aspx

By Douglas Riley - 12/6/2007

Is it possible to have winform users access a shared settings file located on a web server (example: via http://www.sitename.com) instead of an internal network drive?

If not, is it best to include a shared settings file during deployment to each user and send out settings file updates when necessary?  I am trying to avoid having to give users database account info (username, password) during initial win app setup Unsure

Thanks!

Doug

By StrataFrame Team - 12/6/2007

No, you cannot place the shared settings file on a web resource.  If your users do not have access to the same network resource, then you could just deploy the Connections.dat and the AppKeys.dat files to the All Users\MicroFour\ConnectionData folder.

Also, if you don't want the users to enter the connection data at all, then don't use the ConnectionManager class.  Just store the connection string anywhere... even in an app.config file and set it programmatically rather than using the ConnectionManager class.

By Douglas Riley - 12/6/2007

Thanks Ben!  I thought of the connections.dat and appkeys.dat deployment option but wanted to verify there were not better approaches.  Thanks!
By StrataFrame Team - 12/6/2007

No problem...

The only other option would be to set the connection string programmatically and store it somewhere else.