General information
Category:
Visual FoxPro and .NET
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only