Zdravim vas, tu je modul
Module iniModule
Declare Function ReadIni Lib "kernel32.dll" Alias "GetPrivateProfileStringA" ( _
ByVal lpApplicationName As String, _
ByVal lpKeyName As String, _
ByVal lpDefault As String, _
ByVal lpReturnedString As String, _
ByVal nSize As Long, _
ByVal lpFileName As String) As Long
Declare Function WriteIni Lib "kernel32.dll" Alias "WritePrivateProfileStringA" ( _
ByVal lpApplicationName As String, _
ByVal lpKeyName As String, _
ByVal lpString As String, _
ByVal lpFileName As String) As Long
End Module
ked chcem zapisovat/vytvorit .ini subor tak pouzijem prikaz
WriteIni(X, y, z, c)
xyz - ini c - cesta k suboru problem je s citanim tohto suboru , netusim kde robim chybu ...
|