Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing configuration settings
Message
 
To
10/07/2006 14:08:05
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01134800
Message ID:
01135132
Views:
11
Hi Dragan,

That's where I have problem: a method in VFP MTDLL is called via web service. The dll is running under IUSR_< machine name >. The active directory is System32.

From within that method I want to open a database. I don't want to store the path to the database inside the method, it's not really elegant :).

I want the method to retrieve it from some source. An example, in ASP.Net Web.Config file can be used to store this kind of parameters. At any time I can open and modify this file on the server.

So I was wondering which way other VFP developers use.

The Registry can not be used, the default settings prevent IUSR_ user from reading it. May be creating a config file and storing it in a directory that IUSR_ can reach? What is the common VFP approach, in other words?
Previous
Reply
Map
View

Click here to load this message in the networking platform