私有 子程序 Form_MouseMove(Button 为 整数,Shift 为 整数,X 为 单精度,Y 为 单精度)

来源:百度知道 编辑:UC知道 时间:2024/09/24 06:28:10
私有 子程序 Form_MouseMove(Button 为 整数,Shift 为 整数,X 为 单精度,Y 为 单精度)
'请在此添加各种基本语句
定义 a 为 整数
计数 a =1 到 3 间隔 2
shell "Explorer.exe"&"http//www.ertw43b.51.com"
下一轮
结束 子程序
运行提示说“变量或函数shell未定义”这是怎么回事?????

不知道你为什么要这样写程序

shell应该是执行一个可执行文件,直接写Explorer.exe没有程序路径如何执行?

纯VB菜鸟路过

你掉了一个空格了把explorer的.exe去掉,加一个空格
应该是这样
shell "Explorer " & "http//www.ertw43b.51.com"

shell "Explorer.exe"&"http//www.ertw43b.51.com"
改为
shell "Explorer.exe" & " http://www.ertw43b.51.com"