console app Q

  • Thread starter Thread starter Martin Williams
  • Start date Start date
Michael D. Ober said:
Yes - it's a property of the console class.

.... in .NET 2.0 there will be a 'Title' property, but this property does not
exist in .NET 1.0/1.1.
 
Is it possible to set the window title of a console app?

Pre-2.0...

Declare Auto Function SetConsoleTitle Lib "Kernel32" _
(ByVal lpConsoleTitle As String) As Boolean

2.0+
Console.Title

HTH
 
Thanks, that's just what I was looking for.

Tom Shelton said:
Pre-2.0...

Declare Auto Function SetConsoleTitle Lib "Kernel32" _
(ByVal lpConsoleTitle As String) As Boolean

2.0+
Console.Title

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top