|
-
May 14th, 2000, 11:26 PM
#1
Thread Starter
Junior Member
getprivateprofilestring read same time C:\ and H:\
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|