Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Question?
Message
From
16/04/2003 15:04:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
Simple Question?
Miscellaneous
Thread ID:
00778525
Message ID:
00778525
Views:
55
Hi, I am attempting to learn Visual Basic .Net and I have downloaded the Visual FoxPro Toolkit for .NET

If you don't know about it, it's a nice set of VFP functions written in Visual Basic. The documentation for the download states the following:

It is not pseudo-VFP syntax, it is "real" VFP syntax and works most naturally in Visual Basic .NET since it no namespacing is required.

Well, that's my question. I can use the GETFILE(), ALLTRIM(), and GETPRINTER() from the class without referencing the entire name, but the MESSAGEBOX() call must use namespacing.

All the functions I mentioned are part of the VFPToolkit.Dialogs class. Here's sample code...can anyone tell me why I can use some native (no namespacing) and some have a name a mile long? Thanks.

Dim lcContents As String
lcContents = GetFile()
VFPToolkit.dialogs.MessageBox(lcContents, 32, "Sample VB.Net")

lcContents = AllTrim(" >>>" + lcContents + "<<< ")
VFPToolkit.dialogs.MessageBox(lcContents, 32, "Sample VB.Net")
Next
Reply
Map
View

Click here to load this message in the networking platform