| | |
FolderBrowseDialog Box
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
why you need to develop it yourself as it exists? just add reference to System.Windows.Forms and use it in your web-based application.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
•
•
Join Date: Mar 2008
Posts: 13
Reputation:
Solved Threads: 0
Ya that's the great idea.
But iam getting this execption , can you please suggest me for this.
Exception : "Current thread must be set to single thread apartment(STA) before OLE calls can be made. Ensure that your main function has STAThreadAttribute marked on it . This exception is only raised if adebugger is attached to the process."
Thanks a lot,
Anjali
But iam getting this execption , can you please suggest me for this.
Exception : "Current thread must be set to single thread apartment(STA) before OLE calls can be made. Ensure that your main function has STAThreadAttribute marked on it . This exception is only raised if adebugger is attached to the process."
Thanks a lot,
Anjali
Just because you debug, run your web-based application (Ctrl + F5) there is no exception.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
•
•
Join Date: Mar 2008
Posts: 13
Reputation:
Solved Threads: 0
Its not working properly with (ctr + f5) also. Its very slow and FolderDialog is opening but does not contains anything..
Please check out the bellow code n please suggest me for the same.
private void btnBrowse_Click(object sender, EventArgs e)
{
FolderBrowserDialog RootFile = new FolderBrowserDialog();
if(RootFile.ShowDialog() == DialogResult.OK)
{
txtRootFolder.Text = RootFile.SelectedPath.ToString();
}
}
Thanks a lot,
Anjali ...
Please check out the bellow code n please suggest me for the same.
private void btnBrowse_Click(object sender, EventArgs e)
{
FolderBrowserDialog RootFile = new FolderBrowserDialog();
if(RootFile.ShowDialog() == DialogResult.OK)
{
txtRootFolder.Text = RootFile.SelectedPath.ToString();
}
}
Thanks a lot,
Anjali ...
Authentication problem, I'll reply you ASAP.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
![]() |
Other Threads in the C# Forum
- Previous Thread: how to retrive the data
- Next Thread: Problem binding ComboBox.SelectedValue
| Thread Tools | Search this Thread |
.net access ado.net algorithm animation array barchart bitmap box broadcast buttons c# check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datastructure datetime degrees development directrobot draganddrop drawing encryption enum event excel file form format forms function gdi+ hash httpwebrequest image index input install java label lisp list listbox mandelbrot math mouseclick mysql native operator path photoshop picturebox pixelinversion post print process programming radians regex remote remoting richtextbox safari serialization server sleep snooze socket sql statistics stream string table tables tcp text textbox thread time timer update usercontrol usercontrols validation visualstudio webbrowser windows winforms wpf xml






