migrating fro vb6 form.hDC

  • Thread starter Thread starter bong.mau
  • Start date Start date
B

bong.mau

Guest
Hi...

upgrading my vb6 programs to visual studio 8..opening vbp file and select migrate dialogs

i get 22 errors...this is the main one

Public Handle As Long

cardTable.Show()
'UPGRADE_ISSUE: Form property cardTable.hDC was not upgraded.'

Handle = cardTable.hDC

it seems form.hdc no more supported

in the program i use "Handle" value to draw cards on the form...an example

cdtDraw Handle, offsEO, 30, 53, Format, vbWhite

how to change the code to obtain the handle ?

thanks in advance

Continue reading...
 
Back
Top