VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



save-get settings from textfile-demo

by Ranma Saotome (6 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (6 Votes)

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

Download save-get settings from textfile-demo

Download save-get settings from textfile-demo (5 KB)

save-get settings from textfile-demo Comments

No comments have been posted about save-get settings from textfile-demo. Why not be the first to post a comment about save-get settings from textfile-demo.

Post your comment

Subject:
Message:
0/1000 characters