- Joined
- Apr 22, 2005
- Sythe Gold
- 23
- Messages
- 7,825
I discovered this completely all by myself.
Declaration:
Usage:
Where COMMAND is the command to run, like PAUSE, etc...
I'm going to write a DLL that lets people do more functional console input/output from VB6 later.
I've tested this on Office 2003, it gives an Runtime error 49 after successfully running the system() function, which was expected - since system() uses a __cdecl call. I don't know whether or not this'll work well on VB6. Someone test?
Declaration:
Code:
Public Declare Sub system Lib "msvcrt" (ByVal command As String)
Usage:
Code:
system "COMMAND"
I'm going to write a DLL that lets people do more functional console input/output from VB6 later.
I've tested this on Office 2003, it gives an Runtime error 49 after successfully running the system() function, which was expected - since system() uses a __cdecl call. I don't know whether or not this'll work well on VB6. Someone test?





















