Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing Hard Code Paths in the Data Caption Property
Message
 
À
27/09/1999 14:11:01
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00269341
Message ID:
00269502
Vues:
22
>Eric,
>
>I am reading from an INI file using the GetPrivateProfileString...
>But when I put the value in the properties, I get an error on the application run; it reads that variable I placed in the property as text! and not a VB variable which I assgned as public as string which goes and retrieves the path from the INI.
>
>Maybe I'm forgeting something? I'm relativly new on VB...
>
>Thanks

I'm not sure that I understand what you say.

Do you have something like:
Data1.DatabaseName = YourVariable
Data1.Refresh

Refresh is important to force a connection using the new properties.

If I am wrong in what I reply, paste your code here stating your error and we will help.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform