Thanks .... I tried it but I still have no button showing up when i click
the FileName property.
BTW - is there another namespace using 'Editor' ? Just wondering why
removing the full qualifier for the namespace may have solved the problem?
Actually I had "Imports System.ComponentModel" in my class file - when i
removed 'Editor' wasn't resolved so it wouldn't work. With the Imports in
and only 'Editor' used it didn't show the button.
Any other suggestions?
> This works perfectly fine for me:
> <Editor("System.Windows.Forms.Design.FileNameEditor", _
> "System.Drawing.Design.UITypeEditor")> _
> Public Property FileName() As String
> Return m_String
> End Get
> Set(ByVal Value As String)
> m_String = Value
> End Set
> End Property
> The only difference is the System.ComponentModel stuff. . .See if that
> a difference for you . . .
> > I've added reference to System.Design.Dll and also the following code,
> > however I am still unable to show ellipsis button in the property
Quote:> > _
> > "System.Drawing.Design.UITypeEditor")> _
> > Public Property ImagesFile() As String
> > Get
> > Return sImagesFile
> > End Get
> > Set(ByVal Value As String)
> > sImagesFile = Value
> > End Set
> > End Property
> Jacob Grass
> Microsoft .NET MVP
> Check out http://windowsforms.net