| | |
FolderBrowseDialog Box
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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
Views: 1537 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast button buttons c# chat check checkbox class code color combobox control conversion csharp custom database datagridview dataset datetime degrees development draganddrop drawing encryption enum excel file files form format forms ftp function gdi+ http image index input install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






