Surendra Sharma

Surendra Sharma

Search This Blog

Tuesday, July 23, 2013

'Me' cannot be the target of an assignment.

During migration from VB to VB.NET if you are getting error as "'Me' cannot be the target of an assignment." with following type of code

'UPGRADE_NOTE: Object frmDSNs may not be destroyed until it is garbage collected. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6E35BFF6-CD74-4B09-9689-3E1A43DF8969"'
Me = Nothing

Solution: - Just find and replace
Me = Nothing
'Me = Nothing

in entire project

No comments:

Post a Comment