C# .NET 3.5
I have a console application that is being called by another application on the computer. This console app runs continuously, and listens for data on stdin from the "parent" process.
However, when the parent is stopped or killed, the console app that it started continues. Under normal circumstances, it sits and idles wa...
Hello,
I'm new in OpenGL.
I know C# has OpenGl Framework.And we can use it like this:
using CsGL.OpenGL;
Is there a framework for using OpenGL in VC++.net too ?
Best Regards...
...
The temporary directory that's used by ASP.NET is usually located under
C:\Windows\Microsoft.NET\Framework\<version>\Temporary ASP.NET Files\
Sometimes however it is overridden by the tempDirectory attribute on the compilation element in the web.config file.
How can I get the temporary directory currently used by ASP.NET regardless if...
I'm fairly new to .NET development in general. I would like to do some instrumentation on my web application to tune performance, especially in relation to caching. I've written a lot of custom dynamically generated UserControls which I'd like to try caching in different ways--possibly by ASPX Page declaration or programmatically.
I a...
We're looking at implementing a new project that will use LDAP as it's security data store. What I'm looking for is a .net based implementation of the LDAP protocol. To be clear, I know about active directory, and I don't want a .net wrapper for active directory. What I'm looking for is an LDAP implementation in .net as there are plenty ...
(Re-written question, please see history for original).
The question is right there in the title.
Why is there no managed MD5 implementation in the .NET framework?
I'm specifically talking about a purely managed code implementation of the MD5 algorithm, which does not exist within the .NET framework.
Within the System.Security.Crypto...
I have a simple class with two variables and a Close function which is called from OnTimerTick. On very rare occasions a NullReferenceException is occurring in Close() function, but I fail to understand what those occasions can be. Can somebody explain?
System.Windows.Forms.Timer timer = new Timer();
//timer.Tick is wired up in Construc...
Got a simple task to get a XPath expression and return a prefix that matches the parent of the node that (might be) selected.
Example:
/aaa/bbb => /aaa
/aaa/bbb/ccc => /aaa/bbb
/aaa/bbb/ccc[@x='1' and @y="/aaa[name='z']"] => /aaa/bbb
Because the patterns inside the square brackets might contain brackets within quotes, I d...
How can I set the opacity of the winform to something like 50% while moving the form by draging the title bar and reset its opacity to 100% once left mouse button is up.
...
I need to port some code that relies heavily on lxml from a CPython application to IronPython.
lxml is very Pythonic and I would like to keep using it under IronPython, but it depends on libxslt and libxml2, which are C extensions.
Does anyone know of a workaround to allow lxml under IronPython or a version of lxml that doesn't have th...
Hi,
I've got truncated parameters when passing very long file paths. I need to start a program and pass it everything via command params - sometimes it just truncates the command. It does it globally - so it's not only a problem for each parameter but for whole.
edit:
The problem is probably the limit on the command line length as monk...
I need to install the same assembly to the GAC for 30+ servers. I would prefer not to have to RDP to each server and install the assembly manual. Is there a straightforward way to install assemblies to the GAC over the network?
...
Do I need to call Dispose() on a Graphics object obtained through PaintEventArgs in an OnPaint event?
...
I have build a windows service using a timer which is not ideal for what i want to do. I have a methord i want to call and as soon as its finnished i want it to start again and again and again. What is the best way of doing this and can you show me an example.
...
I have been using a SharedAssemblyInfo.cs file as a linked file in my C# projects.
With the introduction of some VB.net projects into the solution I have done the same with those.
Although it does not give a compiler error, it does not 'add' the values from the linked SharedAssemblyInfo.cs file into the compiled assembly.
Any ideas?
...
In C# & .NET, can one create a DataView that includes only a proper subset of the DataColumns of a given DataTable?
In terms of relational algebra, one assigns a RowFilter in order to perform a "selection" operation (). How would one perform a "projection" operation ()?
...
For political correctness, I would like to know if there is a way to instantiate a date so that it contains the lowest date value possible in c# net v2.
...
How does the convertion to UTC from the standard DateTime format work?
More specifically: if I create a DateTime object in one time zone and then switch to another time zone and run ToUniversalTime() on it, how does it know the conversion was done correctly and that the time is still accurately represented?
Thanks
...
I have put a range validator in a asp.net text box control in my webpage; whenever the range is not meeting ; it will dispay the error message,
But it is moving to the next page. how i can prevent it from moving to the next page after the click of submit button while the range not met??
...
I created and installed a .NET Windows Service and now that I deleted its executable file I can't remove it from services.msc anymore with
InstallUtil.exe /u executablefilename.exe
How do I remove it?
...