As the title states; how much work (as a rough percentage figure, if that's possible) does the .Net BCL do for a typical Windows application that isn't strictly required as far as Windows itself is concerned? Presumably everything that Winforms does that has an analogous functionality in MFC, the latter is the ultra-efficient implementat...
This is a Windows Forms Application project using Visual Studio 2010. That being said:
I've an unmanaged 'Vector' implementation, something like:
template<class T>
class Vector {
public:
T* data;
unsigned len;
(...constructors and operators overloading like =, [], == and !=)
};
It works great. I've done several tests bef...
Hi,
I have a .NET app with buttons which use numbers for mnemonics. (e.g. "&1 - Check" and "&2 - Cash") When I hit Alt+1, I expect the Check button to be clicked. This works when I use the standard number keys on a keyboard. However, when I hit Alt+1 using the number pad, Windows takes over and inserts the symbol that matches the "alt c...
I'm writing a Windows application that basically runs in the background with a notification icon to interact with it. The notification icon can do basic things like exit the application or show information about it. It can also launch a modal configuration dialog.
The code that creates the dialog is pretty straightforward:
using(var fr...
I have been working on making our .NET application FIPS compliant, and have found that the Managed Cryptography classes (such as AESManaged) are not FIPS compliant. I have read several other articles and questions on which classes are compliant, such as http://stackoverflow.com/questions/939040/when-will-c-aes-algorithm-be-fips-compliant...
Hi,
Does the Netbeans Rich-Client Platform Development provide the same in Java as MEF in .NET?
Is there is any other built-in easy way in JAVA to do pluggable applications?
Thanks
...
I pass a 2dimensional array as a property to my user control. There i store this values in another 2dimensional array:
int[,] originalValues = this.Metrics;
Later i change values in this.Metrics. But now if I retrieve values from originalValues, i get the changed values from this.Metrics. How do I make a deep copy and don't just copy ...
I have been a developer for many years and have used several different programming languages. However, the one I love the most is C#. I think it and the .Net framework make development quick and enjoyable.
With that said .Net works, with MS full support, only on windows machines. I would love to natively use C# on android, iPhones, and ...
I have the following code:
_WSPassword = Config.Get("pwinconfig");
_WSUsername = Config.Get("uninconfig");
UsernameToken token = new UsernameToken(_WSUsername, _WSPassword, PasswordOption.SendPlainText);
MyService serviceProxy = new MyService();
//serviceProxy.Url = Config.Get("urlinconfig");
...
I'm starting to develop applications that handle chip cards - banking - and I need to use the library EMV. Does anyone know give me some information about it? Where can I download it?
Thanks
...
Referring to this topic: http://stackoverflow.com/questions/4038836/minimize-linq-string-token-counter
And using the following provided code:
string src = "for each character in the string, take the rest of the " +
"string starting from that character " +
"as a substring; count it if it starts with the target s...
I'm wondering if there is a way to automagically fire off an Application Start for a web site/application whenever the Application Pool for that site is recycled?
Are there any canned solutions for this problem?
I would really like to avoid having one of my end users have to go through the application start of the site if they can avoi...
I am trying to write on Console let's say "Enter your User Name:" and what I know is to use Console.WriteLine("Enter your...");
But I want this message of prompt appears as its' being typed like Aliens or star trek computers.
Your expert answer with best practices is much appreciated. Thanks
...
I have a program that has a ton of sensors producing data at a fairly high rate, and consumers that need to consume it. The consumers consume at very different rates.
Since I am using IObserver/IObservable, the trivial solution was to simply create a Task for each event and wrap the OnNext() call and the data in a lamda. This worked v...
I just ran into an issue where my code was parsing xml fine but once I added in a second node it started to load incorrect data. The real code spans a number of classes and projects but for the sample I've put together the basics of what's causing the issue
When the code runs I'd expect the output to be the contents of the second Task n...
I have a WCF service that is load balanced on multiple boxes. We have setup host headers in IIS for the service website so that the host name, not the machine name, will show up in the WSDL (like this: http://forums.asp.net/p/1096811/1659596.aspx).
Now we have a requirement that an internal process needs to be able to hit a page on eac...
Does this ever happen to you?
You are sitting at your development machine and you are made aware of an unhandled exception in a deployed asp.net application. You visit the deployed web app. You can't see the exception detail in your browser, because custom errors is set to remote only. So you have to login to the web server and instigat...
Does anyone know how to determine the security mode (Mixed Mode or Windows Authentication) in .NET?
EDIT: I am using normal ADO.NET objects (SqlConnection, SqlCommand, etc) to connect to the database.
Thanks for any and all advice.
Steve
...
Hi everyone,
For reasons that don't make a lot of sense (Read: Not my decision) I need to keep a large number of rows, about ~90,000, in a DataTable and I do not have the option of using a database.
I need to be able to search the DataTable efficiently to find rows that match some basic criteria. For example, I might be looking at a ro...
I'm trying to get access to Excel 2003 Chart copied into the clipboard.
The chart image pastes fine into mspaint or wordpad.
The problem is that I don't see the chart's data on my System.Windows.Forms.Clipboard object.
I've read the following post:
http://stackoverflow.com/questions/1405756/pasting-image-from-excel-2003-clipboard
an...