Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 04 AUG 2011 12:34:42AM Barry Stevens wrote:

I am using OleCreateInstance("Word.Application") and associated olegets puts and methods

How do I get msword to request a printer selection

have found this but cant work out how to convert it.

prntDlg :=

wrdApp.Dialogs.item(wdDialogFilePrint);

printDlg.Show;


At 04 AUG 2011 08:22AM Hank Huizinga wrote:

Try this:

wdDialogFilePrint = 88 ;* &H58

objDialogs = OleGetProperty(oWrd, "DIALOGS")

objPrint = OleCallMethod(objDialogs, "ITEM", wdDialogFilePrint)

x= OleCallMethod(objPrint, "SHOW")


At 04 AUG 2011 06:07PM Barry Stevens wrote:

Thank you very very much, I shall try this and also analyze how this is translated and hopefully file where I can find it again<s>. I am sure Bob had something somewhere!

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/697b037b0004ee017673a9d00.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1