How to use witeconsole in VB.NET?

  • Thread starter Thread starter PaulT
  • Start date Start date
P

PaulT

Hello,
how can i declare writeconsole function in VB.NET?
There are a lot of answers in web but all for VB6 with "Any" data type which
is not supported in VB.NET more.
I need to write to x,y position in console window.

Help me, please.

Paul Tuka
 
Paul,
how can i declare writeconsole function in VB.NET?

I think the following should work

Declare Auto Function WriteConsole(ByVal hConsoleOutput As HandleRef,
ByVal lpBuffer As String, ByVal nNumberOfCharsToWrite As Integer,
ByRef lpNumberOfCharsWritten As Integer, ByVal lpReserved As IntPtr)
As Boolean



Mattias
 
Back
Top