怎么实现对windows中的计算器和记事本的调用! 怎么实现对windows中的计算器和记事本的调用!最后有源代码!谢谢先! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 分不同的系统,直接用shell函数调用不就行了,一般分9x和nt系列不就够了,也不麻烦 Private Declare Function GetSystemDirectoryA Lib "kernel32" (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private Sub Command1_Click() Dim Path As String * 255 Dim strLen As Long strLen = GetSystemDirectoryA(Path, Len(Path)) '获取SYSTEM路径 Shell Left(Path, strLen) + "\notepad.exe", vbNormalFocus '记事本 Shell Left(Path, strLen) + "\calc.exe", vbNormalFocus '计算器 End Sub 關於listbox的問題 EnumWindows请教! ACCESS表的记录全被删除了,能不能恢复呀 在线求救 快(一个很简单的问题) 急,请教高手,谢谢! 关于[SetWindowLong]函数 大哥,救命呀,关于EXE通信的问题,高分!!!!!!!!!!!!!!! 哪里有realplay 控件的资料 请问VB中的StdPicture里面是DIB还是DDB啊? 到第有谁能告诉我?CSDN上有能人吗? 怎么控制对话框(Common Dialog)的弹出位置 这是怎么回事呀!
Private Sub Command1_Click()
Dim Path As String * 255
Dim strLen As Long
strLen = GetSystemDirectoryA(Path, Len(Path)) '获取SYSTEM路径 Shell Left(Path, strLen) + "\notepad.exe", vbNormalFocus '记事本
Shell Left(Path, strLen) + "\calc.exe", vbNormalFocus '计算器
End Sub