Jump to content
Sign in to follow this  
diogoarsousa

[Resolvido] 'UPGRADE_WARNING: Couldn't resolve default property of object - um Array

Recommended Posts

diogoarsousa

Fiz o upgrade da 1ª versão do VB.NET para o VB 2008 e surgem-me estes avisos. Porquê e como é que os resolvo? Obrigado.

If array_horas_logger(n) <= 400 And array_horas_logger(n) > 300
  array_caudais_qmn_60(1) = array_caudais_qmn_60(1) + array_caudais_logger(n)


'UPGRADE_WARNING: Couldn't resolve default property of object vezes(). Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"'

'UPGRADE_WARNING: Couldn't resolve default property of object vezes(0). Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"'
vezes(0) = vezes(0) + 1


ElseIf array_horas_logger(n) <= 500 And array_horas_logger(n) > 400 
  array_caudais_qmn_60(2) = array_caudais_qmn_60(2) + array_caudais_logger(n)


'UPGRADE_WARNING: Couldn't resolve default property of object vezes(). Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"'


'UPGRADE_WARNING: Couldn't resolve default property of object vezes(1). Click for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1037"'
vezes(1) = vezes(1) + 1


End If

 

Share this post


Link to post
Share on other sites
diogoarsousa

Porque é que alguns arrays me pedem uma default property e outros não?

Alguma ajuda?

E na formatação neste editor em Visual Basic?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.