StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Shared Settings File on a web serverExpand / Collapse
Author
Message
Posted 12/06/2007 7:37:30 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame 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

Post #12908
Posted 12/06/2007 9:13:53 AM


StrataFrame Developer

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
Post #12912
Posted 12/06/2007 9:20:28 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame 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!
Post #12914
Posted 12/06/2007 9:36:49 AM


StrataFrame Developer

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
Post #12919
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:24pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.