Results 1 to 1 of 1

Thread: VB - Generic INI file Handler ..

  1. #1

    Thread Starter
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    VB - Generic INI file Handler ..

    A Generic INI file Handler:

    Public Declare Function HandleINIOperations Lib "_INIOP.dll" (ByVal OperationType As Long, ByRef FileName$, ByRef ApplicationName$, ByRef Key$, ByRef DefaultValue$) As String

    Param - OperationType = 1 ' Read from the INI file ..
    Param - OperationType = 2 ' Write to the INI file ..
    Param - OperationType = 3 ' Delete a complete section from the INI file ..
    Param - OperationType = 2 ' Delete a key from the INI file ..

    Param - FileName ' Name of the INI file ..
    Param - ApplicationName ' Name of the section header..
    Param - FileName ' Name of the INI file ..
    Param - ApplicationName ' Name of the section header..
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width