| | |
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 activedirectory ado.net algorithm array barchart bitmap box broadcast buttons c# chat check checkbox client color combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener listview mandelbrot math mouseclick mysql networking operator path photoshop picturebox pixelinversion post programming radians regex remote remoting richtextbox save saving serialization server sleep socket sql statistics storing stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualbasic visualstudio webbrowser windows winforms wpf xml






