Jürgen Welz
jwelz at hotmail.com
Tue Jun 1 15:55:38 CDT 2004
I've played a bit with VB.NET and have to wonder at the code generated by the IDE. I followed some sample code for one of those 'Blocks' games where you control a paddle at the bottom of a window that is used to deflect a moving ball that strikes and eliminates a series of blocks in the upper half of the screen. I implemented an array of controls to set up the blocks and cut the code created by the IDE to a small fraction of the original size. My version also started up a good deal faster. A funny thing though. After running the application 3 or 4 times it always failed. Especially if I closed the environment and reopened it. I much preferred VB's control arrays and haven't found a similar capability. Writing an event handler and making it active for a pile of controls is managed by naming each control the procedure handles in the parameters. This was much easier using Access or VB, but then, maybe there's something I'm missing. I think I'm going to like .NET because it's so much like Java in everything from threading, garbage collection, security, object oriented capability and error handling. Ciao Jürgen Welz Edmonton, Alberta jwelz at hotmail.com _________________________________________________________________ MSN Premium includes powerful parental controls and get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines