[2089]Another Incorrect VB Code analysis???
In the solution i'm currently working, methods of some Forms are accessed static (Classname.Methodname). R# flags this as error "Cannot access non-shared sub 'Show' in shared context". In VB there is always a default instance of a form which can be accessed in that way, so the code is valid.
Another annoying code analysis problem is, that some implicit conversions are marked as errors. The solution i'm working on does heavy Interop with Excel. Each time when a value is assigned to an Excel-property the error "Cannot convert 'xxx' to ???", for example![]()
Regards
Klaus
Please sign in to leave a comment.
Please could you create small solution which demonstrates this problem? Thank you in advance.
here is the sample :)
Attachment(s):
ExcelCom.sln.zip
Hmm.... The archive contains only .sln file....
oops...?:|
didn't know what happened. Here comes the solution again.
Attachment(s):
ExcelCom.zip
Danke schön
Fixed