大家在做项目的时候经常会用到这个 像什么学生信息管理系统啦 小弟在此汇总一下 供大家参考
最简单的方法:
结果显示在文本框中 其他同理
获取计算机名:
Text1.text = VBA.Environ("computername")
获取用户名:
text1.text=VBA.Environ("username")
用API取计算机名:
用API获取用户名:
大家在做项目的时候经常会用到这个 像什么学生信息管理系统啦 小弟在此汇总一下 供大家参考
最简单的方法:
结果显示在文本框中 其他同理
获取计算机名:
Text1.text = VBA.Environ("computername")
获取用户名:
text1.text=VBA.Environ("username")
用API取计算机名:
用API获取用户名:
上一篇:VB记录窗体的大小和位置
【计算机网络】第一章——计算机网络体系结构详细介绍计算机网络的概念……
【计算机组成原理】第一章——计算机系统概述详细介绍计算机的发展历程……
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M