Hello everyone,
I am confused about this property, as mentioned here, http://msdn.microsoft.com/en-us/library/system.security.permissions.securityattribute.unrestricted.aspx we could give it full or non-full.
My confusion is for permission in a straightforward understanding, there should be only two status -- granted and not-granted, w...
I have deployed my windows service (using independently installer class and SC.EXE), but I get an error when I try to start it:
---------------------------
Services
---------------------------
Could not start the MyName service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fash...
I am trying to copy files to a remote server, the account I am running my build server doesn't have permissions though. How can I do it using different credentials?
...
I am using the AForge.NET framework to create a feedforward, backpropagation neural network. I have it setup and it's learning and all just fine, the problem is it outputs the same number regardless of what the input data is. I'm using various technical indicators on a stock market symbol and each one of these is an input neuron. The dat...
I have two web user controls nested inside of an update panel. The events inside the user controls do not appear to trigger the panel. For testing, I have set the method the fires to sleep for 3 seconds, and added an update progress panel to the page. The update progress panel never comes up and the page reflashes as usual.
The user c...
I recently added some namespaces to my web.config file so that all of my aspx pages can reference various constants and enums without the need to add an import statement on each aspx page. Since adding this, we are now getting an error when trying to test an asmx web service. It appears that during the wsdl generation we get the follow...
Aren't both doing the same thing? How is each different from the other in case of the windows forms application.
...
I'm using .NET 2.0 to make a simple webservice call. From most machines, I don't need to do anything special. However, one client is on a corporate network that uses a proxy autoconfig script. Just about everything I can find (e.g. http://msdn.microsoft.com/en-us/magazine/cc300743.aspx#S3) tells me that I shouldn't need to do anything...
We're currently testing Mono to see if our .NET DLLs will work for customers on Linux. Our DLLs provide components for Windows Forms. I placed the DLLs in the Debug directory, added the references, and created a class deriving from a Windows Form. The class had run fine standalone, but after I added the DLL references and created one ...
Is it possible to use Tokyo Cabinet with any of the .Net Languages, preferably VB10? How about Tokyo Tyrant? Preferably without going through LUA/Ruby or other wrappers..
If there's no easy way in doing so, can you recommend other fast Key-Value Database which can be used?
...
I'm pretty familiar with a lot of the ins and outs of full fledged WPF client applications. I know that WPF client applications supports the full .NET Framework 3.5, allows for hardware acceleration of 2D and 3D graphics, theming, templating, styling, triggers, the works.
What I'm not clear about is what features, and/or niceties are ei...
I'm looking for a good way to programmatically initiate editing on a System.Windows.Forms.PropertyGrid. I can select the GridItem that I want, but that doesn't move the cursor into the edit field.
...
I have an ItemCollection that I'd like to query using LINQ. I tried the following (contrived) example:
var lItem =
from item in lListBox.Items
where String.Compare(item.ToString(), "abc") == true
select item;
Visual Studio keeps telling me Cannot find an implementation of the query pattern for source type 'System.Windows.C...
What's your opinion in handling exceptions within a thread's execution? More specifically, what if the exception is thrown inside catch block of an try-catch clause? And what happen to the thread if the exception is unhandled?
...
I'm Looking at using Amazon S3 and simpleDB in a desktop application.
The main issue I have is that I either need to store my aws credentials in the application or use some other scheme.
I'm guessing that storing them in the application is out of the question as they would be easily picked out.
Another option is to create a web serv...
I'm trying to create an interface that requires additional methods on top of IEvent, like this:
type Varying<'t> =
abstract member Get : unit -> 't
abstract member Set : 't -> unit
abstract member AddHandler : Handler<'t> -> unit
abstract member RemoveHandler : Handler<'t> -> unit
member v.Add(f) = v.AddHandler(new ...
I'm looking for a diff tool that can analyse my code and tell me what has changed on a construct by construct basis.
For instance, if I cut and paste a method from the start of my file and put it at the end but leave that method unchanged, I don't want it flagged. If however I insert a line of code or change something inside that metho...
I just noticed that some of the email operations in my code have been failing and am trying to fix it up, however I keep getting the following error:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote...
Where I work we use a piece of software called Dameware to remotely manage computers on our domain. Through Dameware we are able to get a list of all of the computers that are online and currently connected to the domain.
We are in the process of rolling out new desktop management software that does not provide this feature to us. We ne...
I have a C# .NET 2.0 WinForms app. My app has a control that is a container for two child controls: a label, and some kind of edit control. You can think of it like this, where the outer box is the parent control:
+---------------------------------+
| [Label Control] [Edit Control] |
+---------------------------------+
I am trying...