convert Console to Winform

beby

New member
Joined
Dec 20, 2006
Messages
2
Programming Experience
Beginner
helo,
May i know how to convert console application to Winform application?
I have the console code...but i'm fail to translate it to Winform code.
I'm using VB.NET 2005.
Please help..
 

Attachments

  • ConsoleServer.zip
    379.9 KB · Views: 23
Would there be any point to doing that? All it currently does is start the server, after which console waits for user to press Enter to stop it again.

If still, you could pretty much put all classes into a winforms app, put half of Sub Main in a 'start' button event and the rest to stop the server in a 'stop' button event. Also look at 'writeLogSystem' method, all output goes to this, where you could change the Console.Writeline to a different display.
 
Thanks for your reply.

I have tried to modify it .. but i get fews error and i don't knowhow to solve it. One of the error is when i change console.writeline to lstStatus (a list box to display message), it shows me a error.
Please guide me.. thank you a lot.
 

Attachments

  • ConsoleServer.zip
    380.8 KB · Views: 19
Back
Top