Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Excel
Message
From
08/11/2001 10:00:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00578968
Message ID:
00579064
Views:
27
>Cetin
>Many Thanks, I have found the offending line of code, it was .PrintQuality = 300. Still not sure why it works on one machine but not the other when they are both connected to the same printer. I have commented it out and it works fine
>
>Thanks again
>
>Derek...

Derek,
In that line index is not specified. Then it waits for an array. Might that be a problem ? (PrintQuality(nIdex) where nIndex is 1 - horizontal 2- vertical )

I wonder if this would work w/o errors:

dimension myQuality[2]
myQuality = 300
.PrintQuality = @myQuality

Or :
.PrintQuality(1) = 300
.PrintQuality(2) = 300

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform