Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Common Dialog
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00657801
Message ID:
00658105
Views:
28
Alexander,

I've just tested that code, but I get an OLE-Error saying that I don't have a licence to use the DLL. Do you have any advice?

TIA,
Armin


>Microsoft Visual Studio 6.0 includes also a replacement of Common Dialogs control - The Microsoft Dialog Automation Objects. This component provides Common Dialog functionality without requiring that you place a control on a form. It's a DLGOBJS.DLL in VB98\Wizards\PDWizard directory.
>You can easily get a printer name using DLGOBJS:
>
>oPrnDlg = CreateObject("DlgObjs.PrintDialog")
>If oPrnDlg.Show()    && Returns TRUE when OK pressed and FALSE when CANCEL
>	? oPrnDlg.PrinterDevice.Name
>EndIf
>
>But this tool is not supported by MS and not documented. All we have is a small readme file in \Tools\Unsupprt\DlgObj directory. If you want I can send a help file, generated from dlgobjs.dll.

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform