????? ??? ??? ??????? Word ?? ????? BackgroundPrintingStatus

?????? ????????? ?????? ?????????
???? ???????: 241942 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

??????

??? ??????? ????? OLE ??? Microsoft Word 2000 ?? Microsoft Word 97 ?? Windows SR-1 ?? ???? ???? ???? ??? ?? ?????? ????? ?? ????? Word ??????? ?? ???? ????? ??????? ???????:
Word ?????? ????????. ????? ????? Word ??? ????? ???? ???? ??????? ???????. ?? ???? ?????
????? ????? BackgroundPrintingStatus ?????? Word.Application ??? ?????? ?? ????? ?????? "??????? ???????" ?? Word. ?? ???? ?????? ?? ???? ??? ??????? ????? ???? ????? ????? ???? ????? "??????? ???????".

??????? ????

????? ????? ????????? ???????? ?????? ????? ??????? ??? ???????:
oWord = CREATEOBJECT('Word.Application')
WITH oWord
   .Documents.Add()
   .Visible = .T.
   .Selection.InsertAfter("Mark, why does that crate have air holes?")
   .PrintOut()
   DO WHILE .BackgroundPrintingStatus > 0
      DOEVENTS()        && Make sure you leave the OS enough time to update 
                        && the property
      *!* =INKEY(.1)	&& Use INKEY if you're running under VFP 3.0 
  ENDDO
   .Application.Quit(0) && Quit, don't save and don't prompt
ENDwith
				

?????

?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ??? ????? suppressing ?? Word ????? ???? ??????? ??? ????? ??????? ?? Word ?? "????? ??????? ?? Microsoft:
170393????? ??? ??? ??????? Word ?? ????? OLE

???????

???? ???????: 241942 - ????? ??? ??????: 23/???? ??????/1435 - ??????: 2.2
????? ???
  • Microsoft Visual FoxPro 3.0 Standard Edition
  • Microsoft Visual FoxPro 3.0b Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition
????? ??????: 
kbnosurvey kbarchive kbmt kbautomation kbhowto KB241942 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????241942

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com