>How can i change the default windows printer programatically in VFP5.0.
>
>Thanks
There are two ways to change the Windows default printer from VFP. Both involve API function calls. The old way was to modify the WIN.INI file's device setting in the windows section. This way works in Win 95, but I can't say for certain that it will in Win 98. I've done this before, so if you want more details, I can help you here. The proper way is to modify the registry setting.
George
Ubi caritas et amor, deus ibi est