Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDL files and FILETOSTR()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
UDL files and FILETOSTR()
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01333299
Message ID:
01333299
Vues:
75
Hi gang,

I'm attempting to create an interface which allows a user to select from a list of available back-end database connections. I have a group of UDL files which contain the connection information (this encompasses some non-SQL Server backends as well), and I'm attempting to read these files with the FILETOSTR() function and parse some of the information in order to build the list.

HERE'S THE PROBLEM: When each file comes in using FILETOSTR(), it's high-order-bit garbage (either Unicode or some other unreadable stuff). Each file opens in Notepad without a hitch, and shows the text as expected.

There's no additional parameters on the FILETOSTR function, and I can't seem to locate a way to successfully convert this junk out of Unicode (or whatever it is) and back to ANSI.

HHEEEELLLLLLLPPPP !!! :)

TIA,
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform