Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name default printer
Message
From
14/07/2006 10:16:26
 
 
To
14/07/2006 10:13:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01136314
Message ID:
01136396
Views:
8
Read the whole thread, and you will see that the CORRECT syntax is
?Set("printer",1)
?Set("printer",2)
?Set("printer",3)
Set("printer",0) is illegal, and was corrected and updated, but the update was overlooked in some of the other messages.

>>maybe the problem is sp2 :)
>>~M
>>>
>>>Using 8 sp2. The following line:
>>>
>>>
>>>?Set("printer",0)
>>>
>>>
>>>returns the "Function argument value, type, or count is invalid." error.
>
>Mark,
>
>It returns the same error message in VFP9. But
>
>?SET("Printer")
>
>with no second parameter returns the printer's status.
>
>Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform