Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~10.8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for anjela

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

Member Avatar for asshankar
0
700
Member Avatar for Nfurman

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 …

Member Avatar for Nfurman
0
194
Member Avatar for Lolalola

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]

Member Avatar for sanch01r
0
639
Member Avatar for skinder

how to get printer information like printer name,IP and location using c-sharp??

Member Avatar for sanch01r
1
101
Member Avatar for saggiatorius

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, …

Member Avatar for saggiatorius
0
1K
Member Avatar for RoyMicro

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 …

Member Avatar for Geekitygeek
2
182
Member Avatar for aliiya

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 …

Member Avatar for Marcwolf
0
2K
Member Avatar for Jaydenn

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 …

Member Avatar for sanch01r
0
152
Member Avatar for sanch01r

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 …

0
89
Member Avatar for CyberPirate1

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 …

Member Avatar for Geekitygeek
0
142
Member Avatar for sidd.

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 …

Member Avatar for sanch01r
0
156
Member Avatar for sanch01r

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 …

Member Avatar for DdoubleD
0
172
Member Avatar for ShailaMohite

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

Member Avatar for sanch01r
0
109
Member Avatar for sidd.

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...

Member Avatar for sanch01r
0
333
Member Avatar for crazyboy

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 …

Member Avatar for sanch01r
0
149
Member Avatar for sanch01r

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 …

Member Avatar for DdoubleD
0
1K
Member Avatar for sanch01r

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 …

Member Avatar for DdoubleD
0
1K
Member Avatar for kool.net

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

Member Avatar for avirag
0
218
Member Avatar for S2009

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 …

Member Avatar for Geekitygeek
0
179
Member Avatar for VidyaYadav

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 …

Member Avatar for sanch01r
0
934
Member Avatar for shukuo

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.

Member Avatar for sanch01r
0
96
Member Avatar for havejeet

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

Member Avatar for sanch01r
0
128