VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Opening the Commond window and sending command line parameter from VB Form Short and simple.

Sujit Sahu  (1 Submission)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Wed 26th September 2001   Mon 8th February 2021

Opening the Commond window and sending command line parameter from VB Form Short and simple.

API Declarations



Declare Function AllocConsole Lib "kernel32" () As Long
Declare Function FreeConsole Lib "kernel32" () As Long
Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) _
As Long
Declare Function GetStdHandle Lib "kernel32" (ByVal _
nStdHandle As Long) As Long
Declare Function WriteConsole Lib "kernel32" Alias "WriteConsoleA" _
(ByVal hConsoleOutput As Long, lpBuffer As Any, ByVal _
nNumberOfCharsToWrite As Long, lpNumberOfCharsWritten As Long, _
lpReserved As Any) As Long

Public Const STD_OUTPUT_HANDLE = -11&


Rate Opening the Commond window and sending command line parameter from VB Form Short and simple. (1(1 Vote))
Opening the Commond window and sending command line parameter from VB Form Short and simple..bas

Opening the Commond window and sending command line parameter from VB Form Short and simple. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters