| Current Application Path (4 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hello, I would like to know how to fetch Current Application Path from a dotNet class / component. In VB6 we use App.Path Property for the same. Thanks, Karthik |
|
| HowTo hande AccessControlLists in .NET ? (6 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, I would like to programmatically delegate (or document delegation of) OUs in Active Directory but can not find documentation on .NET classes for SecurityDescriptors, AccessControlLists, AccessControlEntries. DirectoryEntry has no such member as a SecurityDescriptor. I know it's all there in ADSI, but that is COM not .NET. TIA Walter |
|
| Windows Form Control in IE Bug (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| If I put a strong name (AssemblyKeyFileAttribute) on the assembly that contains my control, IE will not run it. It shows up in the global assembly cache, with the PublicKeyToken, but for some reason IE won't run it. If I remove the above attribute everything works. Anyone know what the deal is here? |
|
| User Authentication (2 replies, VIP) |
| microsoft.public.dotnet.framework.sdk |
| I want to create a application in VB.NET that will authenticate the user using the NT domain account. ... does anyone out there know how I can do that?? I can't find anything (clear and concise) in the NET documentation. Sample code would be appreciated. Thanks in advance prescott ... |
|
| .res files (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| How do I use .res (Win 32 resources) files in .NET? Are there any classes or namespaces available? Thanks in advance. chalo |
|
| COMPILER ERROR CS1595 (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Compiler Error Message: CS1595: 'System.Runtime.CompilerServices.CompilerGlobalScopeAttribute' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll' I am having a fresh installation of VS.net Enterprise Architect on my Win2k Proffessional box. I cannot even compile a sample project because of this error. I found many questions about this err... |
|
| Serviced Components and Pooling - Large Crash (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, If I run a component that derives from ServicedConponent, and implements the Activate / Deactivate /CanBePooled, AND returns true for the latter, I get an exception caught in ExecutionEngine. I can tell it's around the point where the object is attempting to be returned to the pool since the actual function DoSomething() works absolutely fine. If I set the return from CanBePooled to false, all... |
|
| Installing .NET SDK on Win98 (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, When I tried to install the SDK on my 98 system, I got a message that this is not allowed. However, I managed to install it anyway, by taking the following steps: In C:\WINDOWS\TEMP, a directory is created when you run the installable. Locate this directory by opening the C:\WINDOWS\TEMP folder and then running the installable, you will see a new directory coming up. Wait until the error messa... |
|
| POSTing binary data with HttpWebRequest (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| I can't figure out how to post data to the server and properly getting the data encoded. This is both for binary data or for data that includes say upper ANSI characters right now I'm getting garbage in my POST buffers. Here's what I'm doing: this.oPostStream new MemoryStream(); this.oPostData new BinaryWriter(this.oPostStream); this.oPostData.Write(" " this.cMultiPartBoundary "\r\n" "Content Disp... |
|
| RSA howto (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi I am trying to achieve a very simple task. I have an RSA key pair that i use and i want to decrypt/encrypt data with it. What is the easiest way of achieving these? (The documentation regarding the RSA and RSACryptoServiceProvider is far from sufficient) thanks Nimrod |
|
| exec or spawn equivalent (4 replies) |
| microsoft.public.dotnet.framework.sdk |
| how can i fork, exec or spawn a non .NET exe from .NET C# code? AppDomain.ExecuteAssembly works only on .NET assemblies. I know this can cause a security breach. but i need to spawn the .EXE for backwards compatibilty. thanks for your help |
|
| System.Random (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi ! I need detailed information about the implementation of the System.Random class. Helpfull would be something like used algorithm with the parameter values and what initial seed is used, if not specified in the constructor ! Please reply to my emaiƶ adress ! Tanks in advance, Regards, Olaf |
|
| How to get the doubleclick setting from Windows? (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| In the Win32 SDK, I used to call GetDoubleClickTime to get the value of SPI SETDOUBLECLICKTIME which indicates the delay between two mouse clicks before Windows considers them a double click. How do I get that value in ..NET? It should be simple enough, but I can't find it. Thanks Andy |
|
| double new (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| how C# handle this situation treeView new System.Windows.Forms.TreeView(); treeView new System.Windows.Forms.TreeView(); double allocate. ZhangZQ |
|
| !dea: want to develop a tool like WSDL.exe to generate proxy for FLASH ActionScript (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| FLASH supports XML trasport so i believe it can also be a good Web services consumer we can write a tool (like WSDL.exe came with .Net framework) that can generate proxy as flash action script (or virtually ANY such language) to get web services rock with FLASH any help/ideas please?? sci |
|
| Determine Interface Implementation via Reflection (2 replies) |
| microsoft.public.dotnet.framework.sdk |
| Does anyone no hoe to check a type to see if it implements a specific interface? I couldn't make heads or tails of the documentation for GetInterfaceMap, if it would even help me. Thanks, Jared |
|
| RSA Cyptoprovider Parameters. (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi, Can somebody tell more about the various RSA Parameters like D, DP,DQ, Exponent,InverseQ, modulus,P,Q or give pointers where I can get more information on these. Thanks PrashanthG |
|
| Bug? (BinaryReader.ReadChars) (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| Hi All: According to the documents: BinaryReader.ReadChars Method Return Value A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached. But when I try to read charactors from this attached file(code page 936 simplified Chinese). with following code: using System; using System.IO; using System.... |
|
| aspnet_wp service error on system with DotNet distribution deploy only (5 replies) |
| microsoft.public.dotnet.framework.sdk |
| I've seen this error repeatedly in event log: aspnet wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid. When I look at machine.config under [processModel] section, the user is 'machine', password is 'AutoGenerate', which explain to use ASP.Net user and system generate password, both have not be touched since instal... |
|
| Application Domains and ASP.NET (7 replies) |
| microsoft.public.dotnet.framework.sdk |
| Can someone tell me or direct me to where I can read about or even better do both... I am guessing that each web application is it's own Application Domain, but I have no idea how I would go about getting my Server Application code loaded into the ASP.NET Application Domain containing my ASPX pages and code, or getting those pages code to "join" my Application's domain. |
|
| convert Byte array to string and vice veras (3 replies) |
| microsoft.public.dotnet.framework.sdk |
| How do I convert a String to an array of Bytes and vice versa??? Thanks. |
|