index > Visual Studio Guidance Automation Toolkit > Using FileNameEditor as a Value Editor

Using FileNameEditor as a Value Editor

I have a custom wizard page.  I am trying to use a FileNameEditor as the valueEditor.  I have added a value editor UI component to the page and I have placed the following line for one of my arguments:

<Argument Name="FileName" Type="System.Windows.Forms.Design.FileNameEditor, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

But, when I run the code, there is no button in the value editor.  What am I doing wrong?

Thanks!
dwj
The type of the argument is always the type of the data you need, in your case, a file name is almost surely a string (could be a FileInfo, should you need to). The editor is specified in the wizard section.

From the GAT Wiki, you can read the following articles for more information:



Daniel Cazzulino [Solutions Architect MVP]
kzu
reply 2

You can use google to search for other answers

 

More Articles

• Thanks for the tip
• Wizard size and colors
• How to execute actions after solution template was unfolded
• *.vstemplate for and *.csproj/*.vbproj must be kept in sync.
• Guidance actions are gone
• Help with an error message
• Minor bug in VszWizard.FindAddItem
• Newbie Problem
• enable/disable - wizard navigation buttons
• Problem Loading Package
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Generic argument types
• how to add website project
• Tools.GenerateLocalResource
• Type of Document objects retrieved from
• How do you pass arguments from previous
• ProjectReference
• Alter Name of Solution
• Smart Client Software Factory (Recipe Fr
• configured attribute T3 - no property o
• Problem Loading Package
• Beta 2 Class Wizard does not work
• How should I deploy additional binaries?
• Guidance Package Build
• How to get SysListView32 of hiding objec
• Creating projects in a subdirectory

Hot Articles

• Parameterising ProjectType in VS2005 tem
• Access Denied (On Windows XP SP2)
• CodeDom -Error when Run Recipe
• How to gather data without wizard
• Nested Project Templates
• Installation error
• GAT is VS Solution Centric
• Conditional Branching of Recipe Actions
• Package version
• GAT fails to install, claims GAX is miss
• GuidancePackage Solution Will Not build
• Error 1001: Item has already been added.
• Can we checkout file under ClearCase as
• Sharing gpState in TFS Source Control
• Error unfolding a project template

Recommend Articles

• Creating projects in a subdirectory
• Project templates do not appear in VS 20
• GuidancePackage Solution Will Not build
• What is the benefit of using GAT versus
• GAT not compatible with W2K?
• Error Installing to RTM Version of VS2005
• June 2006 CTP and Hands On Lab
• Can't download GAT, GAX?
• Loosing Item Template Information
• Is GAT dead?
• Recipe spawning on pretty much anything
• Reality Check?
• Support for the June or July CTP of VS .
• Can't Drag Controls onto CustomWizPages
• Unable to install GAX June CTP - States