Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing.... VB6 Vs VFP6
Message
De
29/05/2002 10:15:40
 
 
À
29/05/2002 09:44:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00662416
Message ID:
00662455
Vues:
15
First, you make a big mistake: printing in VB in MUCH MORE flexible as in VFP! For instance, how you can draw in VFP graphic objects (lines, dots, ellipses) on the printer???

Equivalent code in VB6.0 (will print on the default printer):

'/// These two rows are not required
Printer.CurrentX = {SomeValueForOffsetByX}'For instance, 500
Printer.CurrentX = {SomeValueForOffsetByY}'For instance, 500
'\\\
Printer.Print "Hello World"
Printer.EndDoc

*------------------------
set devi to print
set prin on
@ 5,10 say "Hello World"
eject
set prin off
set devi to scree
*-----------------------

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform