[mono-vb] if Iter isnot nothing then generates exception during compile!

Rolf Bjarne Kvinge rolflists at ya.com
Mon Nov 16 16:41:44 EST 2009


> Am Montag, den 16.11.2009, 10:28 +0100 schrieb Rolf Bjarne Kvinge:
> > Hi,
> >
> > You're checking if a structure isnot nothing, which is an error.
> >
> > MS' VB compiler shows this:
> >
> > error BC31419: 'IsNot' requires operands that have reference types,
> but this
> > operand has the value type (...)
> >
> > Rolf
> Hallo Rolf!
> I already had this idea, but = and <> did'nt work as well. I succeded
> in
> compiling with isNothing(Iter). But the programm stops now at another
> line, but at the moment I am installing my new computer and I don't
> have
> time to check this out. It is really an adventure to write code without
> code completion and all this comfort of MSVS. I haven't done this for
> about 12 years....
> Regard Hans
> By the way... How can you compile a Mono-GTK-Project with
> MS-VB-Compiler?

You should be able to just add the gtk assemblies (copy from your linux
machine) as references in VS. That won't run in Windows (for that you'll
have to install gtk# for windows, can be downloaded here:


More information about the Mono-vb mailing list