Simple Form Problem(hopefully)
I am brand new to C# and am having problems. I need my Main form to open my FileDialog
form. I need the file dialog box to stay on top of my Main form(Preferably not on top of other
applications forms, but i can live with out this). I need the FileDialog form to be a child ( not MDI)
of the first form (a modal, I believe it is called). I tried Google, Microsoft, various others, and
I know it's something simple I am overlooking.
Here is my code. I have 2 designed forms frmMain and frmFileImport.
frmFileImport FileDialog = new frmFileImport();
frmMain MainForm = new frmMain();
FileDialog.TopMost = true;
FileDialog.ShowDialog(MainForm);
The new form gets created (automatically minimized for some reason) and is just like any
plain form. I can keep clicking my Main form button(the one that opens the FileDialog) and
new FileDialofg window will appear. I only want one FileDialog and have my Main form locked
until FialDialog closes!
I am using Visual C# Express 2010. I think in VB its just frmName.Show(OwnerName).
Answers (6)
0 LDAP is mostly used by medium-to-large organizations. If you belong to one that has an LDAP server, you can use it to look up contact info and the like. Otherwise, if you were just wondering about this acronym, you probably don't need it. But feel free to read on to learn the story of this bit of Internet plumbing.
http://www.gracion.com/server/whatldap.html
https://stackoverflow.com/questions/239385/what-is-ldap-used-for
http://searchmobilecomputing.techtarget.com/definition/LDAP
Accepted 0 LDAP stands for Light weight Directory Access Protocol. It is mature, well-defined, open and industry protocol accessing and maintaining the entries(user info) over internet protocol. It helps to add new, update and delete entries. It is mostly used authentication purpose. If you work in MNC you will have AD user account, this nothing but your LDAP user account.
More info, follow below link,
https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol
For sharepoint integration, follow below links that may help you:
http://www.c-sharpcorner.com/uploadfile/Roji.Joy/sharepoint-form-authentication-using-ldap/
https://blogs.msdn.microsoft.com/spblog/2014/09/26/configure-a-sharepoint-2013-web-application-with-forms-based-authentication-with-a-ldap-membership-provider/