Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs .NET and To C# or VB
Message
 
To
16/05/2002 17:31:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00657468
Message ID:
00658103
Views:
19
Hey Ken,

See Kamal's message #657822 for a better response to this. Again, it's more prevalent in something like the VFPToolkit, where you can simply type the function name without having to preface it with a class name.

>>Well, I meant "easier" as in "slightly easier." Have you worked with anything but the .NET framework classes yet? If not, then I understand your statement. But if you build your own classes as a separate assembly and then import them into a VB.NET program, you don't have to preface the method calls with the namespace name or an alias, like you do in C#. The VFPToolkit brings this to light also. It's a simple thing, really, but I think my code is cleaner without that stuff. For a test, try importing the Microsoft.VisualBasic namespace into C# to see what I mean. I did that as a test so I could use the VAL function instead of System.Convert.ToInt().
>
>guess I'm not following - I do have my own classes/controls - I do one "using My.Name.Space" at top and I never have to preface anything - what am I missing?
-Chuck Urwiler, MCSD, MCDBA
Previous
Reply
Map
View

Click here to load this message in the networking platform