在当前桌面内创建直接用2楼说的"直接用Shell运行多个EXE文件即可",在其它桌面则可用 http://allapi.mentalis.org/apilist/CreateProcess.shtml Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As SECURITY_ATTRIBUTES, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Any, ByVal lpCurrentDriectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long如要以其它用户身份启动进程请用CreateProcessWithLogon http://allapi.mentalis.org/apilist/CreateProcessWithLogon.shtml
如果是要创建ActiveX EXE,创建工程时选择ActiveX exe..
http://allapi.mentalis.org/apilist/CreateProcess.shtml
Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As SECURITY_ATTRIBUTES, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Any, ByVal lpCurrentDriectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long如要以其它用户身份启动进程请用CreateProcessWithLogon
http://allapi.mentalis.org/apilist/CreateProcessWithLogon.shtml
还要给他传递参数呢
2.API:winexec "xxx.exe"
3.CreateProcess