VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

save-get settings from textfile-demo

Ranma Saotome  (6 Submissions)   Files/File Controls/Input/Output   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Teaches how to store custom settings in your application to a textfile, cause its much easier than the registry.
Store textentries, checkvalues, colors, filepaths and more. See Screenshot! Its easy and every beginner should know about "writeprofilestring".

API Declarations
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpstring As Any, ByVal lpFileName As String) As Long

Rate save-get settings from textfile-demo (6(6 Vote))

Download save-get settings from textfile-demo

save-get settings from textfile-demo Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters