Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Data
Message
 
À
21/06/2001 12:21:48
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00521989
Message ID:
00522044
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>I'm an old VFP guy learning VB. In the code below I've opened a text file.
>In VFP I could issue the BROWSE command to view the data. How can I do that in VB? TIA
>
>Paige
>
>Private Sub CommandButton1_Click()
> Const LabelFile = 1
> Open "C:\My Documents\Labels.txt" For Input As LabelFile
>
>How do I display the data???
>
> Close LabelFile
>End Sub

Things are not that easy with VB. See this example: http://msdn.microsoft.com/library/default.asp?URL=/library/devprods/vs6/vbasic/vbenlr98/vastmlineinputx.htm
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform