Home Forums Software Development [Solved] vb.net Reply To: [Solved] vb.net

#2516
Patrik [Tobii]
Participant

Hello David,

I’ve updated the example. Since the [ and ] characters surrounding the Next property just is a way of telling the compiler that “I know that this is a keyword, but I want to use it anyway” (just like the @-prefix for variables in C#), and since it’s not actually needed here, you should be able to delete those characters and it should compile.

It’s strange that you get a compilation error though.
What does the error say?

/ Patrik