代码搜索:GetPrivateProfileString
找到约 459 项符合「GetPrivateProfileString」的源代码
代码结果 459
www.eeworm.com/read/223656/14621457
bas module_api.bas
Attribute VB_Name = "Module_API"
'读写系统配置文件
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any,
www.eeworm.com/read/267363/4267773
bas dbfpublic.bas
Attribute VB_Name = "dbfpublic"
'强制变量声明
Option Explicit
'声明对两个Windows API函数的调用
Public Declare Function GetPrivateProfileString Lib "Kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationN
www.eeworm.com/read/153955/11998162
bas module1.bas
Attribute VB_Name = "Module1"
Option Explicit
'ipApplicationName为段名
'ipKeyName为键名,若指定的段中不存在该键,则创建
'nSize为ipReturnString指定大小
'ipFileName为INI文件名
Public Declare Function GetPrivateProfileString L
www.eeworm.com/read/153955/11998172
bas mout.bas
Attribute VB_Name = "Module1"
Option Explicit
'ipApplicationName为段名
'ipKeyName为键名,若指定的段中不存在该键,则创建
'nSize为ipReturnString指定大小
'ipFileName为INI文件名
Public Declare Function GetPrivateProfileString L
www.eeworm.com/read/106513/15635215
prg excel_sample.prg
SET talk off
local ckzs,cmsl,lszs,hbh1,hbh2,hbh3,hbh4,hbh5,hbh6,hbh7,hbh8,hbh9,hbL1,zdkd,i,add_hs,guest_name_temp
DECLARE INTEGER GetPrivateProfileString IN Win32API AS GetPrivStr ;
String cSec
www.eeworm.com/read/377955/9255495
bas moduleini.bas
Attribute VB_Name = "ModuleIni"
'此模块用来读/写ini文件
Option Explicit
'下面的声明是两个读写INI文件的API函数.
'此模块只是在这两个API函数的用法上做了个封装.使用时更为方便一些而已
Declare Function GetPrivateProfileString Lib "KERNEL32" Alias
www.eeworm.com/read/461985/7213364
bas moduleini.bas
Attribute VB_Name = "ModuleIni"
'此模块用来读/写ini文件
Option Explicit
'下面的声明是两个读写INI文件的API函数.
'此模块只是在这两个API函数的用法上做了个封装.使用时更为方便一些而已
Declare Function GetPrivateProfileString Lib "KERNEL32" Alias
www.eeworm.com/read/173973/9617861
bas moduleini.bas
Attribute VB_Name = "ModuleIni"
'此模块用来读/写ini文件
Option Explicit
'下面的声明是两个读写INI文件的API函数.
'此模块只是在这两个API函数的用法上做了个封装.使用时更为方便一些而已
Declare Function GetPrivateProfileString Lib "KERNEL32" Alias
www.eeworm.com/read/151211/12229553
txt 102.txt
使用INI文件
INI文件是Win16时代程序记录自身信息的方式,尽管当时的Windows 3.1也有注册表。在Win32时代,INI文件依然有其生存知道。比如一个绿色软件等等。
下面是读写INI文件的方法,为此我写了两个函数。
首先,声明两个API函数WritePrivateProfileString和<mark>GetPrivateProfileString</mark>,一下是代码:
Private Su ...