• +91 9723535972
  • info@interviewmaterial.com

VB.Net Interview Questions and Answers

Question - Suppose If We Display The "c:\" Or "d:\" Of The Computer In A Web Browser And We Want To Get Any Folder Details But Not Ny Rigth Clicking The Folder. How To Do That Plz Help

Answer -

I think you want the openfiledialog, unless your saving, then savefiledialog. Add one to your project. the simplest usage allowing you to use in any fashion would be
Dim OPEN as New Openfiledialog
open.showdialog()
then when you hit open on the dialog, you can pass that information such as
Dim a as string
a = open.filename()
a will then = D:/Filename.smt, or whatever its real directory is Ofcourse there more recomended approaches to this method, but that should get you somewhere.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners