Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi i'm creating a control or component better

that has a

 

property FileName as string

 

this control can be configured in disign time so

wat i would like to do is the same as in some Microsoft Controls

like when you have to change a color in design time

and you click on the small button at the right of the propertygrid item you get a form the makes this possible

 

now i would like it to apear a openfiledialog so the user can browse to it's file and dousn't have to enter the enormes paths these days

 

anyone who can help me out here???

 

i think it has something to do with

 

<System.ComponentModel.Editor(GetType(System.Windows.Forms.FileDialog), GetType(System.Drawing.Design.UITypeEditor))> _
       Public Property FileName() As String

 

but that pease of code dousn't work so HELP ME PLZ I'M STUCK

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...