Home > Net >  after converting c# to vb.net there is an error "properties" is not member
after converting c# to vb.net there is an error "properties" is not member

Time:07-12

I tried to open in the original project built-in c# there is no error but after I convert to vb.net then there is an error "'Properties' is not a member of" even though the png file is still in the resources folder

thanks jack

            Me.BtnCerrar.Image = Global.COMPLETE_FLAT_UI.Properties.Resources.Close
error :Error    1   'Properties' is not a member of 'COMPLETE_FLAT_UI'. C:\Users\ADMIN2\Desktop\ModernFlat-GUI-Version-Completa-C-Sharp-master\COMPLETE_FLAT_UI\FormListaClientes.designer.vb   133 34  COMPLETE_FLAT_UI

'Properties' is not a member of

view

CodePudding user response:

This is the answer from @dr.null . He is indeed the best teacher for me.

Me.BtnCerrar.Image = My.Resources.Close
  • Related