fmnunes
May 14th, 2000, 11:26 PM
Hi
I´m using the API function «getprivateprofilestring» to read file notes.ini in drive c:\notes, then i use textbox to put the information i need into.
Sometimes notes.ini is intalled in drive c:\..and h:\, when i want to put the informaion into to different textbox it only give the information from the location of drive c:\, the function don´t identifie the file in drive H:\.
Please let me know if there is a solution to these
[code]Dim sSpaces As String
Dim szReturn As String
sSpaces = Space(75)
getprivateprofilestring "notes", "Directory", "Caminho não encontrado em C:\", sSpaces, Len(sSpaces), "notes.ini"
Text3.Text = UCase(sSpaces)[code]
Thanks
I´m using the API function «getprivateprofilestring» to read file notes.ini in drive c:\notes, then i use textbox to put the information i need into.
Sometimes notes.ini is intalled in drive c:\..and h:\, when i want to put the informaion into to different textbox it only give the information from the location of drive c:\, the function don´t identifie the file in drive H:\.
Please let me know if there is a solution to these
[code]Dim sSpaces As String
Dim szReturn As String
sSpaces = Space(75)
getprivateprofilestring "notes", "Directory", "Caminho não encontrado em C:\", sSpaces, Len(sSpaces), "notes.ini"
Text3.Text = UCase(sSpaces)[code]
Thanks