Aditya Rao wrote: can you tell how to list the contents of the drives in the list controls ( for the local ones). To obtain the files in a given directory, you can use FindFirstFile[^], FindNextFile[^], and FindClose[^]. For each file you find you can add an item to the list. Aditya Rao wrote: and i am not able to use the combo box in my application ( my application is a SDI application with the view class derived from CFormView. Is that a constraint for using combo box. i get an exception everytime i am trying to add something in the combo box I don't think it has anything to do with your application being SDI or your view being a CFormView. Rather, the problem may be at what point in time you are trying to access the combobox. I seem to remember reading in some other post that you are trying to add an item to the combobox from your view's OnCreate function. At that point, the combobox is most likely not already created, and thus you won't be able to add any item. If that's the case, try accessing the combobox from your view's OnInitialUpdate, after calling the base class implementation. -- jlr http://jlamas.blogspot.com/[^]