Solved

Browse option in toolbox in Dot net

Posted on 2011-03-14
5
383 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

737 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