标题:请教 !!
只看楼主
lg581
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2007-3-9
 问题点数:0 回复次数:0 
请教 !!
Dim k, f, l As String, b As Long,
Dim a As New Compatibility.VB6.FixedLengthString(128, 0)
k = "inHospital"
f = "Server"
l = " C:\WINNT\pcwrHIS.ini"
b = GetPrivateProfileString(k, f, "", a.Value, 128, l)
MsgBox(a.Value, MsgBoxStyle.MsgBoxHelp)

这段程序运行后为空
我配置文件的Server=192。168。1。5
请问我哪里用错了,高手指点一下谢谢!!
搜索更多相关主题的帖子: 配置文件 
2007-03-26 17:01



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-126968-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.290570 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved