Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cost for .Net
Message
From
10/02/2002 20:13:45
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00609123
Message ID:
00618127
Views:
23
http://www.kamalpatel.net/VFPDotNetDocumentation/VFPDotNet/VFPDotNet.HTM

>I knew there was an effort underway in VB. At least, I thought it was in VB.
>
>Do you have the URL for this???
>
>
>
>>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