TagCloud for Winforms
are there any ? found this prev question http://stackoverflow.com/questions/278342/tag-cloud-control-for-winforms-net-2-0 but that's 2 yrs old so hoping there may have been progress since ...
are there any ? found this prev question http://stackoverflow.com/questions/278342/tag-cloud-control-for-winforms-net-2-0 but that's 2 yrs old so hoping there may have been progress since ...
Hi all, My (local, windows/mono) app logs important events to a text file. In case of a sudden crash/failure/forced exit, no data should remain unwritten (as far as it's possible). Thus I currently use a simple append-to-text-file approach: Public Shared Sub LogAppEvent(ByVal EventData As String) Dim Config As ConfigHandler = Confi...
The question is that I have some HID devices that act as a keyboard (MSR, Barcode scaner, RFID reader) and I want to be able to read their input in my WPF application without the necessity for this to happen in say a text field in the application. Is it possible to read from STDIN in a WPF application. calling Console.ReadLine() return...
Depending on a preprocessor directive, I want to set all properties in a class to EditorBrowsableAttribute.Never. I thought about creating a custom attribute, derived from EditorBrowsableAttribute, but unfortunately that class is sealed. I've had a look at ICustomTypeDescriptor, but in the GetProperties method, I can get hold of ea...
I have a .NET application and a setup fot it. Built using VS 2005. The development machine is Windows XP SP3. Once somebody installed it under Windows7. And get the following errors WinForm ThreadException System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memo...
I run NCoverExploler, configure it, so command line look like this "D:\Development\Projects\t.net\lib\NCover\NCover.Console.exe" //reg //w "D:\Development\Projects\t.net\build_output\t.net" //v "D:\Development\Projects\t.net\lib\NUnit\nunit-console.exe" t.Core.Tests.dll /framework=4.0 Output coverage.xml appears to be empty. In the sa...
I have .NET Assembly exposed to COM, and I want to create a custom QueryInterface, otherwise my Class will have to implement a lot of interfaces. Currently my implementation is like this [ComVisible(true] [ProgId("SomeLib.SomeClass")] [Guid("516E4529-38F1-44EE-B340-ABFA498DC922")] public class MyClass : Interface1, Interface2......, et...
I'm upgrading a .NET 2.0 site that uses Enterprise Library version 2 (DAAB mainly) to .NET version 3.5 and EntLib version 5. I've made the necessary changes and now I'm getting an error "The data source is of an invalid type. It must be an IListSource, IEnumerable or IDataSource". I'm getting this error trying to set the datasource o...
This library comes with windows, in the windows\system32 directory, if you register it and type the following code (C#/VB.Net/VB6/Delphi either is fine): Dim devices As UPNPLib.UPnPDevices = New UPNPLib.UPnPDevices MsgBox(devices.Count) I keep getting 0, but i know this cannot be true because if i do a FindByUDN (in the UPnPDeviceFind...
Hello. I want to ask user before closing application. I's C#.NET 4.0 application. I'm using WPF. I can do it in windows forms, but not in WPF. Event is fired when user want to close app, message Box appears, bun no matter which button is pressed(Yes or No) application always closes. Why? Where is mistake? It works, but only when user pr...
I've looked at other posts on here regarding this issue and none of them seem to address my situation. I've been trying to verify a SAML assertion for the last week and I have 2 clients that have sent me SAML but I cannot verify it. The main process is we get a base64 encoded assertion and I decode it. Load it into an XmlDocment with P...
I have a SqlCeDB as part of my project, right now the connection string is the following: public String localDBConnectionString = @"C:\Users\Patrick\Documents\Visual Studio 2010\Projects\WpfApplication1\WpfApplication1\MapProjectDB.sdf"; Obviously this is going to fail when I publish it and put it on another machine. How can I make t...
Are there any good frameworks or libraries that allow a .NET application to read emails from an Exchange mailbox, parse them for data like sender, recipient, subject, and body, and mark them as processed on Exchange (mark as read, delete, etc)? ...
Hello Guys .. i have written a C# application that connects to an Oracle 10g database .. using Oracle Data Access Component 11.2 "ODAC" it works perfectly on my machine and now i want to deploy the application and install it in another "clean machine" that has the .Net Framework only!! and i dont want to install the whole ODAC compo...
what is the difference between Convert.ToInt16(somenumber) and ToInt16(somenumber) and also vs. (ToInt16)somenumber when do we have to use one over the other? ...
i am binding a datagridview from custom datatable. i want a particular datacel to be of combo type. can it be done, if so how? in the code snippet below, if the key == "somevalue", i want to create a row where the datarow[1] will be of combo type. can it be done? private void UpdateDataTable(string key, object value) { if(dt.Rows.Con...
The scenario I'm trying to support is this: A client website is redirecting to my website using a single sign on from their site. The client side has a STS that generates a SAML token for the authenticated user that gets passed to my website. My question is what is simplest and best way to validate this SAML token passed to my website?...
This is the error: Precondition failed.: !IsConfigured Cannot configure the environment when it is already configured. public static void BootUp() { var config = new StructureMapConfiguration((i) => { i.For<ICommandService>().Use(InitializeCommandService()); i.For<IEventStore>().Use(Initialize...
I am using reflector to disassemble on of my companys projects so that one of our departments can speak to our headquarters in germany intellegently. I have successfully completeted my task other than the following issue. whenever a resource image or anything referring to the manager ComponentResourceManager manager = new ComponentRes...
We are having a lot of trouble organizing our solutions in a good way. We have multiple applications. They are similar applications so a lot of reuse is done. Different apps include different capability depending on what our different customers will pay for. So, how do we go about organizing things? MSDN says to organize in the foll...