Help Converting VB6 to VB.NET

digitalpariah

New member
Joined
Nov 13, 2003
Messages
1
Hello eveyone.

I have a game I am trying to convert to vb.net without using direct x. I was useing imagelists to paint bitmaps and now VS 2002 wont let me. I need to find the workaround for the imagelist storage and the shape class.

also what is the .NET equivalent of .hDc?

any help would be helpful.
 
How about an array of Bitmap objects for the ImageList?

You draw on a form using the methods of a Graphics object - DrawRectangle or DrawPolygon. Create one for a form like:

Dim gr As Graphics = Me.CreateGraphics
 
As far as the .hdc property, i dont beleive that you can get handles to device contexts in vs.net. The best you can do is use the Graphics.GetHdc() function, but the device context this returns is WRITE ONLY.
 
Back
Top