| Thread | Last Post | Replies |
|
| ActiveDirectory - finding & creating security groups | 30 Nov 2006 02:58 GMT | 9 |
Hi; Is there any sample code anywhere that shows: 1) How to find if a given security group exists on the domain. 2) How to create that group if it doesn't exist.
|
| SmtpClient accepts bogus values. | 29 Nov 2006 03:10 GMT | 3 |
The following throws no exceptions - why? SmtpClient client = new SmtpClient("bogus"); client.UseDefaultCredentials = true; MailMessage mail = new MailMessage("bogus", "bogus", "Windward test email",
|
| run as a user. | 28 Nov 2006 21:21 GMT | 12 |
I am trying to run impersonating another user (I prompt for the domain admin uname & pw to use that). But when I ask for the CurrentPrincipal, it's still me, not the domain user. IntPtr tokenHandle = new IntPtr(0);
|
| test - am I on a domain? | 28 Nov 2006 14:20 GMT | 3 |
Hi; In my code I want to test if the CurrentPrincipal is a domain user. What is the best way to do this?
|
| How do I tell if .NET 2.0 is installed | 27 Nov 2006 21:24 GMT | 13 |
Hi; 1) From our setup program (in C++) how can I tell if .NET is installed? 2) Is there a url we can then redirect them to which will show the .NET selection to download & install? We have trouble with using the Windows
|
| security violation in code, but ok from services applet | 27 Nov 2006 15:28 GMT | 9 |
Hi; I am trying to change a registry entry for a ervices in a C# forms (not ASP.NET) app. When I call the following I get an UnauthorizedAccessException: RegistryKey key =
|
| How to retrieve application icon | 23 Nov 2006 11:55 GMT | 5 |
How do I retrieve my application icon (set in the project properties) through code (using Framework 1.1). Using Icon constructors is possible but I don't know the icon name to pass to it.
|
| Where are the J# language packs | 22 Nov 2006 20:58 GMT | 2 |
Hi; The url http://msdn2.microsoft.com/en-us/library/aa480243.aspx lists several language packs for J# - but I can't find where to download them. Any ideas?
|
| How do I tell if the J# redist is installed | 17 Nov 2006 12:10 GMT | 1 |
Hi; 1) From C# code how can we tell if the J# redistributable is installed? 2) If not, what url should we use to take them right to downloading it?
|
| CreateDirectory bug ? | 17 Nov 2006 09:26 GMT | 2 |
I am having a problem with the Directory.CreateDirectory method. I want to use this function to create a new directory and set a security descriptor at the same time. This works fine except the new directory never inherits aces from it's
|
| TcpClient ReceiveTimeout only works in first call | 15 Nov 2006 21:58 GMT | 1 |
could you please help me with the following problem: I'm using a TcpClient to connect to a server. When I send a message and the server doesn't reply in time, I send the same message again until a given number of loops is reached or the server sends a reply.
|
| How to use Win32 MOUSEHOOKSTRUCT structure with C# ? | 14 Nov 2006 20:35 GMT | 4 |
I'm writing a .NET program which is using a mouse hook but everytime the filter function is invoked a argumentException is thrown. Here is the part of code i'm using to convert the structure : this.MouseData = (MouseHookStruct)Marshal.PtrToStructure(lParam,
|
| hashtable & lock | 10 Nov 2006 16:38 GMT | 4 |
Hi; I have a hashtable that I am using in my codebehind in ASP.NET. In that codebehind the hashtable is read, written to, and enumerated. Each entry in the hashtable is tied to a session - the SessionId is the key for the entry.
|
| Big problem with GAC and local | 10 Nov 2006 15:50 GMT | 8 |
Hi; We have another problem with GAC vs local. We have a library that our users want to install with the libraries in the GAC (as recomended by Microsoft). These are programmers only.
|
| UdpClient.Receive - polling or blocking | 01 Nov 2006 18:22 GMT | 2 |
Hi; I assumed that UdpClient.Receive() blocks and uses no CPU cycles until bytes are received. However the ANTS profiler says it is taking a ton of time. Is it polling or is this an ANTS problems where the thread is blocked but it
|