I have a .NET Windows serivce protected with {smartassembly} which works fine, except that I can't get the protected version to install. When I did the testing the service was already installed, then I copied the protected version over the original.
There are some instructions on the {smartassembly} web site regarding Windows services (...
I'm looking for ideas on how to restrict access to and log calls for an API we're delivering for business partners to interface with our Customer Care application. Should we create usernames and passwords for our external partners just as we would our own employees? Is there some kind of snap-in layer for .Net that can manage access rest...
I am new to network programming. I want to create a network blocker. which blocks an IP from the LAN. How is this possible in C#?
...
We have an application which will dynamically load some components from separate dlls. These components have a fixed name but we want localised names to be displayed to the user and so the names need to be localised.
The fact that the name needs to be localised is not a concern of the component itself, so we don't really want to poll...
I'd like to have placeholders in an .swf file that I can populate with information from .Net Membership information. Is this possible?
...
I have multiple threads starting at the roughly the same time --- all executing the same code path. Each thread needs to write records to a table in a database. If the table doesn't exist it should be created. Obviously two or more threads could see the table as missing, and try to create it.
What is the preferred approach to ensure ...
I am a little confused. I have a piece of hardware that feeds me n frames per second. I would like to add support to my program to compress these on the fly into a silverlight streaming compatible format.
I guess in general I'm asking, how do you use a codec from something like .net, so I receive raw frames and output an encoded format?...
We have an application that runs on XP64 and Vista64 multiple monitor workstations, and have a strange problem when a single form in the application is moved to certain monitors.
If the form is moved to a monitor that is to the left and above the primary monitor (it has negative coordinates in the Display Settings dialog), the users wil...
Hi
I am catching a KeyPress-Event to check for certain kinds of allowed values. To be able to delete I am using following code before the actual check
if (e.KeyChar == (char)Keys.Delete || e.KeyChar == (char)Keys.Back)
{
return;
}
...actual check for only digits or whatever
The problem is that e.KeyChar == (char)Keys.Delete is also...
Because I'm a Python fan, I'd like to learn the .NET framework using IronPython. Would I be missing out on something? Is this in some way not recommended?
EDIT:
I'm pretty knowledgeable of Java ( so learning/using a new language is not a problem for me ). If needed, will I be able to use everything I learned in IronPython ( excluding la...
The data access layer in our application is going to be using the UDT functionality of Oracle. We will only be passing UDT objects to and from the database.
At the moment, we generate the custom classes using the function provided with ODP.NET (which creates a truly horrible looking class that we really don't want in our codebase).
We ...
I have a RichTextBox control on a form with some text, some of which are URLs. The DetectUrls property is set to true. The control properly detects my URLs (they're blue, underlined and the cursor changes to a hand when I hover them). However, when I click on them nothing happens (double-click and ctrl+click are similarly ineffective)...
I want to load an html file in a browser locally (not through a web server) that runs some javascript that loads and executes an ActiveX control written in C#. The control may or may not contain .NET forms. Can this be done?
...
From the following link.
http://stackoverflow.com/questions/1290924/iphone-interaction-with-asp-net-webservice/1503206#1503206
@Pravara - Asked a Question in answer.
The question is something like this.
Hi All,
Is the XML is only way to communicate between .Net web service and iPhone? I have implemented it, in my application, ...
I'm designing a validation service and I'm debating between two different method signatures for Validate(). Both use lambda Expressions to get the object type and property of the object to validate the given value. There are defined as:
public interface IValidationService
{
/// <summary>
/// Validates the value of the property r...
In standard WinForms development I would do the following:
foreach (Control in groupBox1.Controls)
{
MessageBox.Show(c.Name);
}
How does a guy do this in WPF? I have a Grid inside the GroupBox and a number of controls in the grid (buttons etc.) but can't seem to figure out how to get each control.
...
With .NET, I have "Thursday, April 10, 2008 1:30:00 PM" and I want "dddd, dd MMMM, yyyy h:m:s t", "6:09:01 PM" and want ""hh:mm:ss tt", "Fri 29 Aug" and want "ddd d MMM", and so on. It seems I should be able to use DateTimeFormatInfo in some way.
I figured I can format the date with each pattern returned by GetAllDateTimePatterns, and ...
With .NET SAP Connector 2.0 we invoke a RFC Method.
When we pass only one character in the parameters, the values are stored in the SAP system and readable when we query the table in the SAP system.
When we pass only more then one character in the parameters, the values are stored in the SAP system and not readable when we query the tab...
Hi there,
I'm using a DataGridView binding its datasource to a List, and specifying the properties for each column.
An example would be:
DataGridViewTextBoxColumn colConcept = new DataGridViewTextBoxColumn();
DataGridViewCell cell4 = new DataGridViewTextBoxCell();
colConcept.CellTemplate = cell4;
c...