>>>My program was written by foxpro for dos 2.0
>>>because user need to use it soon in windows os,
>>>now it is urgenly needed to convert it to windows program
>>>so I use Visual Foxpro 3.0 to convert it.
>>>I don't have time to rewritten it by using VFP3 oop.
>>>I have problem now.
>>>- the program use SET PRINTER and SET DEVICE TO PRINTER and some @...SAY to print the report. I want to prompt the user to select printer and paper orientation, how can I do?
>>>
>>>thanks
>>
>>Not sure if VFP3 supported this but can you do a SET DEVICE TO PRINTER PROMPT ?
>yes, but how I know the user click 'cancel', the printer selected, the paper orientation??
I guess you don't. That's a pretty tough thing to do, especially with VFP3. And I don't think Active-X stuff works all that great with VFP3, either, so you probably can't use the Common Dialog OCX.