Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

----------------------------------------------------------------------------------

 

As for getting rid of the "My Computer" and other icons on the left hand side on the OFD, I don't think it's possible, but there is a way to set the default view in the OFD.

 

Select an OpenFileDialog component, and click it onto your form. Click on the OFD thumbnail below your form and look at its properties window.

Look for the property "InitialDirectory". Enter you directory there, for example, if you wish to set the defalut view as Desktop, enter the following in the "InitialDirectory" :

 

C:\Documents and Settings\All Users\Desktop

 

 

---------------------------------------------------------------------------------

sOMEONE'S gONNA dO iT, wHY nOT yOU ?
Posted
well, I don't think you can do so, although it is possible to set the default window directory for the OpenFileDialog, but not remove/ get rid of "my computer" and other icons on the left hand side of the ofd? Anyway, why would you want to remove those icons ???
sOMEONE'S gONNA dO iT, wHY nOT yOU ?

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...