Home > Software engineering >  VB6 run exe
VB6 run exe

Time:10-02

Such as topic, how to use VB6 called an Exe program?

CodePudding user response:

Shell "d: \ 123. Exe", vbhide

CodePudding user response:

Shell
ShellExecute
WinExec
CreateProcess
Can be

CodePudding user response:

Public Declare Function CreateProcess Lib "kernel32" Alias "CreateProcessA" (ByVal lpApplicationName As String, ByVal lpCommandLine As String, lpProcessAttributes As Any, lpThreadAttributes As Any, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Any, ByVal lpCurrentDriectory As String, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long


The Function Shell (PathName, [WindowStyle As VbAppWinStyle=vbMinimizedFocus]) As a Double

CodePudding user response:

Well, a minimum, should be the way how to use Binary call Exe

CodePudding user response:

reference 4 floor huaxiamengqing response:
well, less hair a, should be how to use Binary mode called Exe

Dare you call exe in Text way!
  • Related