API函数定义好:
RegQueryValueEx(hKey, "path", 0, nValueType, sValue, nLength)获取注册表的一个健值sValue,为什么sValue要先赋空格,请问一下不先赋空格可以吗?
解决方案 »
- 高手求求你们 帮帮我....我是新手.不会come on帮忙!
- 这是一段VB6的代码,谁能给翻译成C语言
- 有关VB的网站不多了,精品网站就更少了.大家常浏览哪些网站呢?
- 高手帮忙???反编译器
- SETUP FACTORY 安装的问题
- 为什么提示我 至少一个参数没有赋值
- 如果通过窗体句柄获得窗体对象
- 如何用VB 6.0 利用Windo 读写并口
- 如何用vb将选择的图片复制到制定文件夹
- ADO中的adCmdTable和adCmdTableDirect有什么区别呢?
- 请问那些离线流览的软件获取网站的目录结构(包括文件)是怎么作的啊
- 向各位请教一个问题,是关于和ORACLE数据库的连接判断问题?在线等待.......
dim str as string *256 或者 dim str as string :str=string(256,chr(0))
dim str as string*256
RegQueryValueEx hKey, Name, 0, typedata, ByVal Str, Len(Str)
If typedata = reg_sz Then
Str = Left(Str, InStr(Str, Chr(0)) - 1)
End If