Just curious... have you seem Kamel Patel's efforts to rewrite VFP functions in C#?
>Hi David..
>
>This is a pretty cool example, thanks for posting this.
>
>
>
>>>Take a look at VB's vast function list for example. Yes you can duplicate all 162 functions using C# but look at all of the code you would have to write to do it. Having these functions available saves the developer a lot of coding.
>>
>>
>>You don't need to duplicate anything. All of VB's vast function list is available to any .NET application in the Microsoft.VisualBasic namespace. Consider this C# app:
>>
>>
>>using System;
>>using Microsoft.VisualBasic;
>>
>>namespace ConsoleApplication1
>>{
>> class Class1
>> {
>> [STAThread]
>> static void Main(string[] args)
>> {
>> String mystring = "This is a string";
>> Console.Write(Strings.UCase(mystring));
>> Console.ReadLine();
>> }
>> }
>>}
>>
>>
>>
>>-Dave
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer