BTW: To get the oldfashioned printer dialogue for that SYS(1500....) stuff, you need to do this once for every user:
RUN "REG add HKCU\Software\Microsoft\Print\UnifiedPrintDialog /v PreferLegacyPrintDialog /t REG_DWORD /f /d 1" Change that trailing "1" to "0" for restoring the new print dialogue Instead of that onpopping dos-window, real PROs of course would use that nifty registry class of VFP :=) But that one can't read/write values other than strings, and we need numeric. Therefore this one would be more modern than a CMD window flashing by: oWSH = CreateObject("WScript.Shell") oWsh.RegWrite("HKCU\Software\Microsoft\Print\UnifiedPrintDialog\PreferLegacy PrintDialog", 1, "REG_DWORD") to check for that Value use nResult = oWSH.RegRead("HKCU\Software\Microsoft\Print\UnifiedPrintDialog\PreferLegacyP rintDialog) wOOdy _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/004001da342a$d934d500$8b9e7f00$@wondzinski.de ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.