Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing Hard Code Paths in the Data Caption Property
Message
 
To
27/09/1999 14:11:01
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00269341
Message ID:
00269502
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform