Solved

Browse option in toolbox in Dot net

Posted on 2011-03-14
5
389 Views
Last Modified: 2013-11-27
Hi,

Browse option in toolbox in Dot net

Whats the name of the tool that can be userd as a browse feature in Dot net.

Something like attach file in EE>

I want a box where we can browse a file and attach it. i want to know where we can find it.

Regards
Raja
0
Comment
Question by:bsharath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35134968
I assume you want it for a windows forms project ?

In the dialogs section there is the openfiledialog is that the kind of thing you are after.
0
 
LVL 11

Author Comment

by:bsharath
ID: 35134976
I guess yes. But when added to the windows form it goes to the bottom and not the form. How can i see how it looks or activate it on the form
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 35134995
Normally you would have a textbox on the form that will get  the result of the openfiledialog and a button to open the openfiledialog.

Have a look here : http://www.homeandlearn.co.uk/csharp/csharp_s4p9.html
0
 
LVL 11

Author Comment

by:bsharath
ID: 35135263
I want a option that when clicked a button browse it popup's the box where i can select a file and click open and it gets the path to the text box
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35139580
That's exactly what the link I have posted tells you.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Part One of the two-part Q&A series with MalwareTech.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question