[MI-L] Callbacks with VB.NET2005

2006-05-29 Thread David Hebblethwaite
I am trying to get an integrated mapping application working with Mapinfo 7.8 and VB.NET2005. I have created similar applications before with VB6 and MapInfo but I have been unable to get the callback function working with vb.NET. I have created a standard Windows project and a class contain

RE: [MI-L] Callbacks with VB.NET2005

2006-05-30 Thread SCISOFT
...   }   public static bool DoSomething2( String value )   {  Console.WriteLine( "\nCallback called with param: {0}", value );  ...   }   } [ End of code example ] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Hebblethwaite Sent: Tuesday,

Re: [MI-L] Callbacks with VB.NET2005

2006-05-31 Thread David Hebblethwaite
al sStr As String, ByVal sDel As String, _ ByVal iItem As Integer) As String 'sStr is string with items delimited by the sDel character 'Returns the Item found at Position iItem in the String sStr End Function End Class'clsHandleMI END OF CODE SNIPPET

RE: [MI-L] Callbacks with VB.NET2005

2006-05-31 Thread SCISOFT
IL PROTECTED] Sent: Thursday, June 01, 2006 8:31 AM To: [EMAIL PROTECTED]; mapinfo-l@lists.directionsmag.com Subject: Re: [MI-L] Callbacks with VB.NET2005 IL Thomas, Thanks very much for the information - it has enabled me to get everything working except that, while I can extract a value from a

Re: [MI-L] Callbacks with VB.NET2005

2006-06-06 Thread David Hebblethwaite
"'David Hebblethwaite'" <[EMAIL PROTECTED]>; Sent: Thursday, June 01, 2006 2:10 PM Subject: RE: [MI-L] Callbacks with VB.NET2005 David Sorry, an important omission in my earlier very sketchy post was the need to register for COM in the .NET assembly (and, I don'