Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cost for .Net
Message
From
10/02/2002 18:29:26
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00609123
Message ID:
00618113
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform