VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Geting The Path which is in the ini file

by OMKAR K. YADAV (4 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 19th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Geting The Path which is in the ini file

API Declarations



Public SRESULT As String * 180
Public NRESULT As Integer



Rate Geting The Path which is in the ini file



'THAN COPY THAT FILE IN WINDOWS DIRCTORY OR IF YOU HAVE WINDOS-NT THAN COPY  WINNT  DIRECTORY
'FOR EXAM..
'INIFILE NAME IS (PAT.INI}

';CONFIGURATION
'[OMKAR]
'APPATH=C:\VB
'************************


 NRESULT = GetPrivateProfileString("OMKAR", "APPATH", " ", SRESULT, Len(SRESULT), "PAT.INI")
APPATH = UCase(Left(SRESULT, NRESULT))



Download this snippet    Add to My Saved Code

Geting The Path which is in the ini file Comments

No comments have been posted about Geting The Path which is in the ini file. Why not be the first to post a comment about Geting The Path which is in the ini file.

Post your comment

Subject:
Message:
0/1000 characters