Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VFP Data
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00940097
Message ID:
00940413
Vues:
14
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform