[MonoDevelop] VB Code Completion and monodoc

Rolf Bjarne Kvinge rolflists at ya.com
Mon Apr 13 09:24:05 EDT 2009


I finally had time to look at your project:

You are using Option Strict Off (possibly without realizing it since it
looks like you're using VS2008):

        Dim strSQL = "SELECT Count(*) AS ID FROM PG WHERE PG.ID_CAMPAGNA=" &

This statement is not legal in VS2005 with Option Strict On, you need to:

        Dim strSQL As String = "SELECT Count(*) AS ID FROM PG WHERE
PG.ID_CAMPAGNA=" & idCampagna

and I get this too:

d20MasterTools_Enhanced.BackEnd/Utils.vb (292,14) : Error VBNC30574: Late
binding is not allowed when Option Strict On is in effect.

which corresponds to:
		s = sender.text
and sender is defined as 'Object' (another example of Option Strict Off).

As a sidenote the encoding isn't detected correctly by vbnc, you need to set
"Compiler Code Page" in the Build/General project property page to
Windows-1252 (this can be avoided if you save your file as UTF8 in VS)

Regarding the MonoDevelop errors, which version of MonoDevelop are you


> -----Original Message-----
> From: monodevelop-list-bounces at lists.ximian.com [mailto:monodevelop-
> list-bounces at lists.ximian.com] On Behalf Of Alessandro Accardo
> Sent: viernes, 27 de marzo de 2009 20:43
> To: monodevelop-list at lists.ximian.com
> Subject: Re: [MonoDevelop] VB Code Completion and monodoc
> Hi all,
> No it isn't a encoding problem, I've tried many types of encoding but
> problem
> persists. I can try to talk with Mike Krueger and when I've done I'll
> post
> back his reply.
> Rolf I'm not using late binding, my variables are all declared with
> their
> types, so this is not the error MD shows... anyway I don't use Option
> Strict
> Off and so on... Unfortunately for me this is an error for MD so my
> code
> can't build.
> Thanks for the reply, I hope you can help me.
> Alessandro Accardo.
> P.S.: You can download the latest version of my app from
> http://boxstr.com/files/5075100_cu150/d20MasterTools%20Enhanced.zip
> in this way you can see problems in building if you want to help.
> Thanks for all guys.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

More information about the Monodevelop-list mailing list