Ask the Expert

Can I add custom controls to the common file dialog classes?

I would like to create a user control much like the FileSaveDialog. However, I would like to include graphic options for "Overwrite" and "Append" (of course, being options, only one is selectable). I would also like this control available for VB6. Can this be done in VS.NET?
Looking at the common file dialog classes in .NET, it doesn't look like you can add controls to the dialogs. What you are looking for is the 'Customizing Common Dialog Boxes' section on the MSDN. In there, it'll show you how to add custom templates and controls to the common dialogs. To be honest, it's much easier to do custom common dialogs in native C++. If you have Visual Studio .NET Professional or higher, you've got the compiler.

This was first published in June 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: