|
-
Nov 8th, 2002, 06:07 PM
#1
How can I clear a console?
well?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Nov 8th, 2002, 07:05 PM
#2
Sleep mode
Are you sure you can clear it ????
-
Nov 8th, 2002, 07:19 PM
#3
well if I was SURE about that, then I wouldnt post this here
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Nov 8th, 2002, 08:56 PM
#4
PowerPoster
Little upset about the MCP MrPolite? Just thought I would change my sig for you...lol.
-
Nov 8th, 2002, 09:02 PM
#5
PowerPoster
To answer your question, I got this code from this sample code:
http://www.c-sharpcorner.com/Code/20...SysConsole.asp
Code:
static public void ClearScreen()
{
// First, fisical clear screen.
int writted = 0;
Win32Native.COORD start = new Win32Native.COORD();
start.x = start.y = 0;
Win32Native.FillConsoleOutputCharacter(m_hCon, ' ', m_Info.MaxSize.y * m_Info.MaxSize.x,
start, ref writted);
Win32Native.FillConsoleOutputAttribute(m_hCon, m_BackAtt, m_Info.MaxSize.y * m_Info.MaxSize.x,
start, ref writted);
// Cursor go at left/top.
Locate(1, 1);
}
I leave it to you to figure out, at least it may get you started. And of course, it is in C#....you should know it by now...lol.
-
Nov 8th, 2002, 10:20 PM
#6
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Nov 10th, 2002, 12:08 AM
#7
-
Nov 10th, 2002, 09:20 AM
#8
yay gay
in psc theres a far more complicatted example for vb.net if u want to knowlol
-
Nov 10th, 2002, 03:46 PM
#9
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|