Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Question?
Message
De
16/04/2003 15:04:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
Simple Question?
Divers
Thread ID:
00778525
Message ID:
00778525
Vues:
54
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
Fil
Voir

Click here to load this message in the networking platform