Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Windows Printer Setup Dialog from VFP 5.0
Message
 
To
16/09/1999 11:08:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00265478
Message ID:
00265492
Views:
16
>Thanks for the reply George. As I am somewhat new to the VFP world, I'm not sure I know what Common Dialog's is. Is it a third-party class library or package of active x controls? If so, we are attempting to not rely on any third-party products in my client's application. Any other thoughts? Any "freeware" active x controls I could download and maintain myself??

The Common Dialogs control is one of those that ships with VFP. Actually, it's one of the older ActiveX controls. IAC, it provides access to the Common Dialogs DLL from which VFP itself derives a number of the dialogs it uses (such as GETFILE(), PUTFILE(), SYS(1037), GETCOLOR(), etc.). From the Tools/Options... dialog select the Controls tab. Select the ActiveX option button. You'll get a list of all the ActiveX controls available from your machine. Simply check the check box in the list next to "Microsoft Common Dialog Control". Once set, you can then access it by indicating ActiveX controls from the libraries button of the Form Controls toolbar. Simply click and drop it on a form. To access the help, right click the control and select Help from the context menu.

I suggest that you do this to get familar with the control. In production I recommend that it be sub-classed. That's another subject, however.

Regardless of the implementation you will have to distribute the control with your application.

If you have any questions, just post, and I or someone else will help out.

>Being an old Georgia boy myself (born in Atlanta and raised in Marietta. Dad worked for Lockheed), I can appreciate the bullet you folks just dodged in Hurricane Floyd. We're actually expecting it to hit New England (RI and Mass.) as a minor, Category 1 hurricane here tonight.
>
I'm originally from Chicago, but have been in Cartersville (about 25 miles north of Marietta on Hwy 41) since 1981. The only time during my period here that a hurricane has impacted us was a few years back when Opal roared up through the Gulf of Mexico. It wasn't even a hurricane by the time it got here, but it's not an experience I'd care to repeat. Stay safe up there.

Regards,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform