General information
Category:
ActiveX controls in VFP
You must to use between à with endwith.
PUBLIC A
A = CREATEOBJECT("MSCOMDLG.COMMONDIALOG")
WITH A
.SHOWPRINTER()
?.HDC
ENDWITH
Cut 'n paste my code in a .PRG file and run it, you'll see.
Don't try to access method or properties after the endwith instruction.
Note: You also can add a ole control in your form with commondialog and use it.
bye
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only