Information générale
Catégorie:
Visual FoxPro et .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")
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement