Private Sub Command1_Click()
Dim str As String
Dim nsize As Long
str = String(MAX_PATH, 0)
nsize = GetSystemDirectory(str, MAX_PATH)
str = Left(str, InStr(str, Chr(0)) - 1)
MsgBox "windows system ·¾¶=" & str, , "Ìáʾ´°¿Ú"End Sub
Dim str As String
Dim nsize As Long
str = String(MAX_PATH, 0)
nsize = GetSystemDirectory(str, MAX_PATH)
str = Left(str, InStr(str, Chr(0)) - 1)
MsgBox "windows system ·¾¶=" & str, , "Ìáʾ´°¿Ú"End Sub
解决方案 »
- 监控其他软件内容的程序,运行几个小时就崩溃了。。。
- MScomm控件在ComInputModeBinary模式下,收到的BYTE数组,下标越小,代表越先收到吗
- 如何判断vb控件DataGrid新加的行不为空
- 窗体透明
- DNS问题
- 不用activeskin是否能做到让窗体边框出现阴影效果!!
- DBcombo的属性中,有无类似: combo.listindex?
- 一个简单问题?100分
- 我想在VB中将一个按钮加上键盘接口,即按下一个键后,让某个按钮自动按下
- 在用ACCESS数据库保存数据时,总是出现万位小数以下的误差!
- VB6窗体的背景色可以用RGB()函数,那么色调、饱和度、亮度用什么函数呢?
- 100分求三次B样条的程序
nSize ---------- Long,lpBuffer字串的最大长度