Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching between 3 different connection strings...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Divers
Thread ID:
00975103
Message ID:
00975129
Vues:
19
Interesting, but how are you doing this? Are you programticly chaning the .dbc's connection string somehow? This is something I've been wanting to do too, but haven't been happy with what I've come up with thus far.
Another thing you could do Julie is perhaps modify this HOSTS file so that it would point the network server's IP address to your local machine when not connected to the netowrk.

>Hi Julie,
>
>is only one connection available at a time? If so, maybe you can make a program similar to the login program I use on my laptop. My program first looks for the server at my company, where I usually use my laptop. If it doesn't find that server, it looks for my home server. If that server is also not available, my system uses local data.
>
>>I have 3 different connection strings that need to be used based and where we are on the network or disconnected laptop. I have been making three seperate exe's to date and would like to have 1 and use a confi file to help me determine which connection runs.
>>
>>Any ideas would be very helpful
>>
>>Thanks
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform