Solved

Browse option in toolbox in Dot net

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now