- Upvotes Received
- 4
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
i'm developing application in .net using c# that has 1 dropdown list .I want to take data in it .to show in list.please suggest me some help |
|
Re:
Hello guys! I am developing simple desktop application that suppose to connect to SQL DB launched on remote server. Everything going fine, exept that when connecting to DB I get exeption "Login failed for user 'guest'." So, looks like i need to create some user with password and give him … |
|
Re:
hi, Is it possible to query WMI to take only the owner of the processes? My test, but it does not work: [CODE=C#] ObjectQuery query = new ObjectQuery ("Select * from Win32_Process where Owner = 'LolaLola'"); [/CODE] |
|
Re:
how to get printer information like printer name,IP and location using c-sharp?? |
|
Re:
Hi, I ask you for a problem I can't resolve. I'm developing a form application in C# and I need to access a web application (IIS) within the intranet and not to insert crediantials manually (I keep them in code). I tried using both Win32NativeMethods.LogonUser and advapi32.dll's Logon User methods, … |
|
Re:
Hello There seems to be different methods to create a text file in C#. I am getting a byte array from USB device. I need to store this as text file which is to be read, updated, and saved for future usage. The data comes in different packets not in … |
|
Re:
hi! I am trying to insert data from textboxes in sql server 2005 database using dataset(table adapters) in c# windows application herez the simplest coding that i know but its not working. I have made two tables in my database i.e. product and country table. In country table adapter i … |
|
Re:
Do you guys know a better way to write this? [CODE] bool a = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_1"); bool b = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_2"); bool c = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_3"); bool d = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_4"); bool ee = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_5"); bool f = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_6"); bool g = Directory.Exists("C:\\Program Files\\Java\\jdk1.6.0_7"); bool h = Directory.Exists("C:\\Program … |
|
Does anyone know how to get the adspath attribute value to a better looking string. Active Directory returns the following: "LDAP://contoso.com/CN=Sanch01R,OU=Managers,OU=Users,OU=InfoTech,DC=contoso,DC=com"; I would like it to read: contoso.com/infotech/users/managers/sanch01r The IndexOf and Substring methods do not work consistently as we never know how many OU's would be returned, any ideas would … |
|
Re:
So, what I'm trying to do is to check if a letter already exists within an array, so I use a for loop and it works very well. So if the character exists within the array, it will not add the letter you put in the input box into the … |
|
Re:
hi, to read from a notepad i hv used the following code. bt the problem is, it will not read the next line. so how to read line by line..... [code] using (StreamReader sr = new StreamReader("c: \\key.txt")) { string s = sr.ReadLine(); //etc. Console.WriteLine(s);//its showing the output string[] variables … |
|
Hey guys, I am writing an Active Directory Tool and I created a Dictionary<> that iterates through all of the available attributes from the LDAP server. The Keys are the names of the attributes (displayname, samaccountname, gn, sn, etc), the TValues are the associated values to the keys. I am … |
|
Re:
Hi, I am create one application in which i use checkedlistbox. In checkedlist box i display all employee name and calculate id of particular checked employees. but how to check which employee's name checked in checked list box and how to compare this employee is checked or selected. Regards, shailaja |
|
Re:
hi, i have some values in a notepad (.dat file). i want to store the values one by one in an variable. i dont know how to read the file and store the vaues. can u help plz... |
|
Re:
Hii every one .... I want to list out directories or folders or files which are in perticular folder or directory ... there is a control in VB 6.0 dirlistbox. Is there any control like that in C#. or open my computer and any drive of my computer.. now see … |
|
Hey guys, I am needing to find out the expiration date of a users password using the LDAP attribute "pwdlastset", I am able to retrieve the date of the last password reset. The password expiration date should be exactly 90 days from the "pwdlastset" value. For some reason I am … |
|
Hey guys, I am writing an Active Directory Tool that allows my team to read data without having to access Active Directory through a remote desktop session. I am not too familiar with the TreeView control and I was wondering if there was a way to add the Active Directory … |
|
Re:
hi, pls. tell me how to select value from a check box, & from a list box or combo box. actually i m new to c# , so sorry for this stupid question but i need your help. Thanx in advance. Happy Diwali Regards ~ Dimple |
|
Re:
Hi all, I am creating an application for Library Management Systems. I want to disable the close button initially and enable it once the user clicks on the menu item logoff. Is there any way I could accomplish this functionality in my application? I tried using the following code in … |
|
Re:
Hi, In my datagridview there are 3 columns. I am entering values in all of these but second and third column values are not compulsory. So user can escape those two columns. But, when inserting those values in database If the cell 2,3 contain value then to insert that value … |
|
Re:
Hi. I am using DirectoryEntry(string, string, string) to connect to Active Directory. The user name I used is in LDAP format. password is provided by AD team. May someone tells me what's the format for user name and password. thanks. |
|
Re:
I need a list of Active Directory fields dynamically - meaning - that i should pass the domain and it should display the list of active directory fields for that domain. thanks, jeet |