On Tue, 2004-08-17 at 08:15, Jochen Wezel wrote: > I only tried on MS.NET, but it should be the same on Mono: > > ----SNIP----- > using Microsoft.VisualBasic; > > public class Test > { > public static void Main() > { > System.Console.WriteLine (Strings.InStr("Hello World", "W", 0)); > } > } > ----SNIP---- > > I compiled with > csc instr.cs /r:Microsoft.VisualBasic.dll > > On mono, this should be very similar: > mcs instr.cs /r:Microsoft.VisualBasic.dll >
Yep it works perfectly fine for me with mono. It might be useful to see the actual error (compilation or otherwise) that you are getting and a small snippet of the code that gives rise to this problem. > > -----UrsprÃngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von lamyae Benabdeljalil > Gesendet: Montag, 16. August 2004 19:48 > An: [EMAIL PROTECTED] > Betreff: [Mono-list] Strings.InStr > > Hell all > i cannot make Strings.InStr() method work with mono, even if i referenced > Microsoft.VisualBasic Can you give me a hint > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list