Getting the error - "There is an error in XML document (36, 12)"
Did any one got similar issue when deserializing an XML file? Any help?ExceptionInnerException = {"Attempt by method...
View ArticleBug in SAML 1.0 URI Mapping for WIF...
Hi,I'm using a WIF-based STS with ADFS v2.0 and am getting a strange behavior when using the HardwareToken Field from WIF with SamlAuthenticationStatement.AuthenticationMethod. Both ADFS and WIF...
View ArticleConnecting and disconnecting Bluetooth device as Serial Port
I am developing a desktop application in C#.The question is about a Bluetooth device as a serial port.When I turn on the device and then open my application, I can connect to the correct serial port...
View ArticleConvert sample string to regular expressions
Is there any way to get regex from a sample string Below is the scenarioinput : a output :[a-z]input :A output :[A-Z]input : B output :[A-Z]same should be happen for german alphabets and also other...
View Articlec#, operator[ ] überladen
Bei classe 'string', kann man folgendes tun:string name="bonnie";int x=name[4];folgendes aber nicht:name[4]='g';Hier kommt fehler: read onlyWie kann ich den operator [ ] überladen?Danke im voraus
View ArticleProgramming
I am a fresher in the programming field. While coding i get much more confused about what to write what not to... would anyone can suggest about how to code efficiently?? please do help me out.
View ArticleNeed a Gantt Chart with source code on .Net windows C#
i am developing a window application having a requirement of Gantt chart library which having all its features. I am using VS 2005 with .Net framework 2.0 and using C#.
View Articleserial port DataReceived event not triggering
I am trying to write a simple rs-232 application but the serial port DataReceived event is not firing. If I assign the event handler to a button click I can manually read the incoming data so I know...
View ArticleCombination of ICustomTypeDescriptor and IntrospectionExtensions::GetTypeInfo
Hello All,I'm implementing some types that dynamically define properties for use with data binding. I've implemented ICustomTypeDescriptor on my types and, by and large, that works fine. I've been able...
View ArticleCannot Access the web site in Test Server and No Error Message
HI,When I enter the URL in the Broweser to access a the site in the test server, I get error HTTP 500: This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server...
View ArticleHow and when should I use...
It seems to me I don't completely understand the mean of this method and the "relatedActivityId" parameter. Correct me please if I'm wrong.Assume I have two components - A and B. Component A is an...
View ArticleConverting a RGB array into an Image
I have a raw byte array of an image. Each pixel has four bytes. Most probably the four bytes are R, G, B and transparency. How do I convert it into an Image such as Bitmap?
View ArticleASP .Net SignalR
Kindly tell me the Supported .NET Framework versionsfor ASP .Net SingnalR
View ArticleXML: how to fix XML format problem?
We have export a file as XML format and code are the same as following link (http://msdn.microsoft.com/en-us/library/ms162588(v=vs.100).aspx) Stream aStream = File.Create("afile.xml"); XmlTextWriter...
View ArticleWindows API to detect a removable disk(displayed as Local Disk)
There are many USB drives displayed as Local Disk not Removable Disk in Windows, especially these USB drives with Windows 8 Compatibility logo. So when I try to detect a Removable Disk in my .Net(C#)...
View ArticleDirectInput Error 0x80070216
Hello!First of all I did not find a proper SDK theme - sorry, I write here.I want to write a program interacting with joystick. I am using a standard SDK example and dinput8.lib.Here's the code. GUID...
View ArticleReading .edmx file programatically
Hi,My requirement is : I would like to read .edmx file programatically (C#) to get the actual db table to class mapping.For eg:If there is a database named EmployeesMgmt and it has 2 tables : Employees...
View ArticleRemote MSI install using c# and WMI
Hi,I having a problem whilst trying to install an application on remote machines using WMI. The code im using seems right, but it just isn't working. Can anybody,please, help point me in the right...
View ArticleSystem.Numerics assembly missing in .NET 4 PCL
Hi,I've just noticed that the DLL containing the BigInteger and Complex types (System.Numerics.dll or System.Runtime.Numerics.dll) is missing from Portable Class Library profiles targeting for .NET 4...
View ArticleAttempted to read or write protected memory on any SQL connection open after...
Hi, ive installed VS2013 RTM lately and discovered that all SQL connects stopped working. They all die with the exception below. All means any program that opens an SQL connection via ADO.NET dies....
View Article