Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing.... VB6 Vs VFP6
Message
From
29/05/2002 10:15:40
 
 
To
29/05/2002 09:44:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00662416
Message ID:
00662455
Views:
16
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?...

Previous
Reply
Map
View

Click here to load this message in the networking platform