Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Common Dialog Control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00495437
Message ID:
00495445
Views:
37
This message has been marked as a message which has helped to the initial question of the thread.
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
Map
View

Click here to load this message in the networking platform