Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using VFP Data
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00940097
Message ID:
00940413
Views:
15
>I am trying to set the data of my new app to a sub folder of it's directory, say data\

>When I try to refrence that "simple" location in app.config it barfs. If I set the full path it's ok.

OleDb needs full paths in order to connect to the data so you're stuck with this behavior. No workarounds.

What you can do is create a small utility you can have them run (from a shortcut possibly) and automatically set this up, or include it as part of the app's startup or first time configuration *before* you access data.

I do this with just about all of my apps not for data paths, but for any of the first time installation defaults that are specific to the environemnt.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform