| | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: Yesterday @ 1:18:28 PM Posts: 11, Visits: 146 |
| | 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 . Thanks! Doug |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| | 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.
www.bungie.net |
| | | | StrataFrame Beginner
       
Group: StrataFrame Users Last Login: Yesterday @ 1:18:28 PM Posts: 11, Visits: 146 |
| | Thanks Ben! I thought of the connections.dat and appkeys.dat deployment option but wanted to verify there were not better approaches. Thanks! |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/01/2008 8:53:41 AM Posts: 2,671, Visits: 1,879 |
| | No problem... The only other option would be to set the connection string programmatically and store it somewhere else.
www.bungie.net |
| |
|
|